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)

x86
All
enhancement
Not set
normal

Tracking

()

People

(Reporter: joel, Unassigned)

Details

Attachments

(1 file)

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
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.
Sounds sensible. Gerv
Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: normal → enhancement
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?
Assignee: gerv → charting
Flags: needinfo?
Flags: documentation+
Flags: approval?
Flags: needinfo?
Flags: documentation+
Flags: approval?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: