Opened 4 years ago

Closed 4 years ago

#1557 closed Bug (fixed)

Insufficient colors for pie chart slices

Reported by: greg Owned by:
Priority: major Milestone: Piwik 0.9 - Surviving The Wild
Component: UI - UX (AngularJS, twig, less) Keywords: charts, pie, colors
Cc: Sensitive: no

Description

After increasing the maximum number of slices in pie charts (#1543) there is the problem of repeated colors. To fix this we need to introduce more colors to the pie charts.

Attachments (3)

pie colors.png (4.3 KB) - added by greg 4 years ago.
colors.png (4.2 KB) - added by greg 4 years ago.
Suggestion for new pie chart slice colors (based on the HSL values of the current colors). Any comments? Free to commit?
pie colors fixed.png (4.7 KB) - added by greg 4 years ago.
This is how the initial pie chart would look with the new colors

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by greg (gka)

Changed 4 years ago by greg (gka)

Suggestion for new pie chart slice colors (based on the HSL values of the current colors). Any comments? Free to commit?

Changed 4 years ago by greg (gka)

This is how the initial pie chart would look with the new colors

comment:1 Changed 4 years ago by matt (mattab)

looks good!

comment:2 Changed 4 years ago by vipsoft (robocoder)

greg: In case you're wondering where the colors are defined, it's in core/Visualization/Chart/Pie.php.

comment:3 Changed 4 years ago by greg (gka)

  • Resolution set to fixed
  • Status changed from new to closed

(In [2872]) added colors to pie chart (fixes #1557)

Note: See TracTickets for help on using tickets.