Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
7e0ad054
Commit
7e0ad054
authored
Jan 25, 2004
by
gerv%gerv.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 232055 - add more colours to line graphs (default is 7; we now have 16.)…
Bug 232055 - add more colours to line graphs (default is 7; we now have 16.) Patch by gerv; r,a=justdave.
parent
6c709dd0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
chart.png.tmpl
template/en/default/reports/chart.png.tmpl
+6
-2
report-line.png.tmpl
template/en/default/reports/report-line.png.tmpl
+5
-1
No files found.
template/en/default/reports/chart.png.tmpl
View file @
7e0ad054
...
...
@@ -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,
...
...
template/en/default/reports/report-line.png.tmpl
View file @
7e0ad054
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment