voidlabs / elycharts

Interactive Javascript (SVG|VML) Charting Library
http://elycharts.com
Other
10 stars 6 forks source link

Support template palettes for series #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This would be useful expecially for pie charts, so that the template can define 
how to choose colors for each slice.

It would be useful also to create better looking default barlines like this 
ones:
http://www.jscharts.com/examples#bar-charts

E.g: take 2 colors (start and end color) and create X steps between them. Then 
cycle between this colors. This would allow for both single color gradients and 
for rainbows.

Original issue reported on code.google.com by stefano....@gmail.com on 5 Jan 2011 at 12:27

GoogleCodeExporter commented 9 years ago
Just added 2 new properties:

- seriesPalette in the root option that defines an array of colors that will be 
taken by series not having a specific color.
- valuesPalette in the serie configuration (or defaultSerie) thay defines an 
array of colors that will be taken by values not having a specific color.

Original comment by stefano....@gmail.com on 23 Jan 2014 at 6:03