summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorgerv%gerv.net <>2004-01-25 06:40:31 +0100
committergerv%gerv.net <>2004-01-25 06:40:31 +0100
commit7e0ad054c981c119ffb1674be35d2cab8d90bec4 (patch)
tree16a67048d0253657e79d7422dff9e9c61ef50c8f /template/en
parent6c709dd097e65025038a0dc9c17fad6a88e99b6b (diff)
downloadbugzilla-7e0ad054c981c119ffb1674be35d2cab8d90bec4.tar.gz
bugzilla-7e0ad054c981c119ffb1674be35d2cab8d90bec4.tar.xz
Bug 232055 - add more colours to line graphs (default is 7; we now have 16.) Patch by gerv; r,a=justdave.
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/reports/chart.png.tmpl8
-rw-r--r--template/en/default/reports/report-line.png.tmpl6
2 files changed, 11 insertions, 3 deletions
diff --git a/template/en/default/reports/chart.png.tmpl b/template/en/default/reports/chart.png.tmpl
index 18452175c..e8e911629 100644
--- a/template/en/default/reports/chart.png.tmpl
+++ b/template/en/default/reports/chart.png.tmpl
@@ -39,8 +39,12 @@
x_labels_vertical => 1,
x_label_skip => x_label_skip,
legend_placement => "RT",
- line_width => 2);
-
+ line_width => 2,
+ dclrs => ["lred", "lgreen", "lblue", "lyellow",
+ "lpurple", "lorange", "black", "green",
+ "blue", "dpink", "lbrown", "gray",
+ "red", "dpurple", "gold", "marine"]);
+
# Workaround for the fact that set_legend won't take chart.labels directly,
# because chart.labels is an array reference rather than an array.
graph.set_legend(chart.labels.0, chart.labels.1, chart.labels.2,
diff --git a/template/en/default/reports/report-line.png.tmpl b/template/en/default/reports/report-line.png.tmpl
index 780ec37e3..be29a71e3 100644
--- a/template/en/default/reports/report-line.png.tmpl
+++ b/template/en/default/reports/report-line.png.tmpl
@@ -41,7 +41,11 @@
x_label_position => 0.5,
x_labels_vertical => x_labels_vertical,
legend_placement => "RT",
- line_width => 2);
+ line_width => 2,
+ dclrs => ["lred", "lgreen", "lblue", "lyellow",
+ "lpurple", "lorange", "black", "green",
+ "blue", "dpink", "lbrown", "gray",
+ "red", "dpurple", "gold", "marine"]);
# Workaround for the fact that set_legend won't take row_names directly,
# because row_names is an array reference rather than an array.