Open
Bug 311116
Opened 20 years ago
Updated 10 years ago
Pie and Bar Chart Templates should have standardized dclrs parameter like Line template
Categories
(Bugzilla :: Reporting/Charting, enhancement)
Tracking
()
NEW
People
(Reporter: joel, Unassigned)
Details
Attachments
(1 file)
63.67 KB,
image/jpeg
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
The report.line.png.tmpl has the dclrs parameter that clues GD to use more than
the 7 default colors when creating plots with more than 7 datasets.
This should also be done for Pie and Bar charts.
In addition, the team should consider using a standard colorset that lends
itself to all Chart Types for consistency.
The colors used for the line chart is OK:
dclrs => ["lred", "lgreen", "lblue", "lyellow",
"lpurple", "lorange", "black", "green",
"blue", "dpink", "lbrown", "gray",
"red", "dpurple", "gold", "marine"])
However, using the same colors for Pie and Bar Charts won't work since black
will be a fill color and blot out the labels.
Perhaps, replace black with cyan?
Reproducible: Always
![]() |
Reporter | |
Comment 1•20 years ago
|
||
Folks,
To satisfy management types, I have a cron job that produces these charts
that's displayed on the home page of our Issue-Tracker.
As you can see, having consistent colors across chart types is really helpful.
![]() |
Reporter | |
Updated•20 years ago
|
Severity: normal → enhancement
Comment 3•20 years ago
|
||
this is close to bug 311129 but it seems like you would need to pick one way or the other. Is there any way one of these could be targetted to 2.24?
![]() |
||
Updated•18 years ago
|
Assignee: gerv → charting
![]() |
||
Updated•10 years ago
|
Flags: needinfo?
Flags: documentation+
Flags: approval?
You need to log in
before you can comment on or make changes to this bug.
Description
•