Issue 33 in elycharts: Support color normalization for pie chart (color property for serie/values)

10 views
Skip to first unread message

elyc...@googlecode.com

unread,
Jan 23, 2014, 4:13:07 AM1/23/14
to elyc...@googlegroups.com
Status: Accepted
Owner: stefano....@gmail.com
Labels: Type-Enhancement Priority-Low

New issue 33 by stefano....@gmail.com: Support color normalization for pie
chart (color property for serie/values)
http://code.google.com/p/elycharts/issues/detail?id=33

currently :
series : { root : { values : [
{ color : 'red' },
{ color : 'green' },
{ color : 'blue' },
] }},
doesn't work and we are forced to use:
series : { root : { values : [
{ color : 'red', plotProps : { fill : 'red' } },
{ color : 'green', plotProps : { fill : 'green' } },
{ color : 'blue', plotProps : { fill : 'blue' } },
] }},

We could do like line and bar chart and simply inherit pie colors from
the "color" property if not defined differently.


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

elyc...@googlecode.com

unread,
Jan 23, 2014, 11:58:37 AM1/23/14
to elyc...@googlegroups.com
Updates:
Status: Fixed

Comment #1 on issue 33 by stefano....@gmail.com: Support color
normalization for pie chart (color property for serie/values)
http://code.google.com/p/elycharts/issues/detail?id=33

In order to correctly support this I had to rewrite the whole "color" logic
so to compute it while drawing instead of the "configuration" phase.

Each plugin now computes derived properties on its own and the option
struct is unchanged.
Reply all
Reply to author
Forward
0 new messages