Closed
Bug 214753
Opened 21 years ago
Closed 21 years ago
White is used as color in charts
Categories
(Bugzilla :: Reporting/Charting, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: draichle, Assigned: gerv)
Details
At our bug-charts white is used as color for the first dataset. I looked at the code but I didn't found where the color is chosen. Are there any standard colors of the charting module? We have installed: GD v2.07 Chart::Base v2.2 GD::Graph v1.43 GD::Text::Align v1.18
Assignee | ||
Comment 1•21 years ago
|
||
Daniel: could you be a little more specific? Bugzilla has several sorts of bug chart. Are you talking about the very new generic plot-anything charts introduced since 2.17.4, the very old ones (NEW/REOPENED etc.) or something else? Gerv
Reporter | ||
Comment 2•21 years ago
|
||
I am talking about the very old ones.
Assignee | ||
Comment 3•21 years ago
|
||
I've never seen this problem. However, the colours are chosen on line 326 of reports.cgi in the current codebase (grep for "colors" in other codebases). I would guess that you could add an entry to that hash like: dataset0 => [0, 0, 0], # black to turn the first dataset's line (for example) black. Gerv
Assignee | ||
Comment 4•21 years ago
|
||
I can't reproduce this. If anyone else does, I'll look into it further. Gerv
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•