Colors indicated in graph legend are incorrect
Categories
(Socorro :: Webapp, defect, P2)
Tracking
(Not tracked)
People
(Reporter: rkraesig, Assigned: efilho)
Details
Attachments
(2 files)
Seen at this crash-stats link, sorting by major version.
The legend indicates that green is 95; hovering over the green line indicates it's 91. (Other queries confirm that "91" is correct.)
Comment 1•4 years ago
|
||
Huh. I have no idea when that broke. I'll look into it next week when I get a chance.
Comment 2•3 years ago
|
||
I'm going to unassign myself because I'm not going to get to this.
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 4•3 years ago
|
||
Because Javascript doesn't guarantee the reading order will be the same as the insertion order for objects, the major version order for legend (array) and graph data (object) would not match sometimes. This was fixed by building the legend array along with lineDataArray, which contains graph data and is an array, which guarantees the reading order will be the same as insertion order.
Comment 5•3 years ago
|
||
Comment 6•3 years ago
|
||
I deployed this to prod just now in bug #1787851. Marking as FIXED.
Description
•