Ticket #8 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

color schemes go white to fast

Reported by: jae@… Owned by: somebody
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:

Description

When rendering a pie chart with a lot of slices, they become white around slice 10 and stay white for the rest of the chart (ie. most of it).

The attached patch changes the amount the scheme lightens the color by a dynamic amount base on the size of the chart (the number of keys). The calculation is arbitrary but seems to work well enough in my limited testing.

Attachments

auto-lighting.diff (0.7 kB) - added by jae@… 4 years ago.
color.py patch adjusting colorscheme lightness

Change History

Changed 4 years ago by jae@…

color.py patch adjusting colorscheme lightness

Changed 4 years ago by lgs

  • status changed from new to closed
  • resolution set to fixed

Thanks for the patch, it's very useful!

Fixed in [78]

Note: See TracTickets for help on using tickets.