[Rt-commit] rt branch, 4.2/saved-chart-show-partly, repushed
? sunnavy
sunnavy at bestpractical.com
Sun Jan 11 23:02:57 EST 2015
The branch 4.2/saved-chart-show-partly was deleted and repushed:
was 7b3f07bd270f86541cec816dc3afdcabfdcf6c94
now 1a65c0974de5fdd14e714aa49a54e9c19741abe5
1: 698d4bd ! 1: 27ada3a allow user to customize the visibility of image/table/sql in chart
@@ -8,6 +8,15 @@
diff --git a/share/html/Search/Chart b/share/html/Search/Chart
--- a/share/html/Search/Chart
+++ b/share/html/Search/Chart
+@@
+ $Cache => undef
+ $Query => "id > 0"
+ @GroupBy => ()
+-$ChartStyle => 'bar'
++$ChartStyle => 'bar+table+sql'
+ @ChartFunction => 'COUNT'
+ $Width => undef
+ $Height => undef
@@
s/\D//g for grep defined, $Width, $Height;
@@ -20,7 +29,11 @@
my $plot_error = sub {
my $text = shift;
@@
- $ChartStyle = 'bar' if @data > 2;
+ }
+ }
+
+-$ChartStyle = 'bar' if @data > 2;
++$ChartStyle = 'bar+table+sql' if @data > 2;
my $chart_class;
-if ($ChartStyle eq 'pie') {
2: 1cf471e = 2: 1b1df61 only bars need to be lifted up a bit
3: 7b3f07b = 3: 1a65c09 upgrade step as old "bar" or "pie" implies "bar+table+sql" or "pie+table+sql"
More information about the rt-commit
mailing list