voidlabs / elycharts

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

tooltip frame and dot colors for series cannot be defined in "defaultSeries" and instead use serie color #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Here is an example I created:
http://jsfiddle.net/yAK5N/

In order to have black dots (with a stroke coloured like the line) I have to 
user series.XX.dotProps.fill=black . If I use defaultSerie.dotProps.fill=black 
it doesn't work. So I have to repeat it for each serie and not easily 
applicable to a template.

The same happen with series.XX.tooltip.frameProps.stroke color.

Also, I didn't find a way to say defaultSeries.dotProps.stroke = #seriecolor# 
and instead I have to repeat my color for each serie declaration.

Maybe all of them should be allowed to be valued as "serie"/"default" so that 
the default template could declare all of them as "default" and templates needs 
only to override what they want.

Original issue reported on code.google.com by void...@gmail.com on 22 Jul 2011 at 7:26

GoogleCodeExporter commented 9 years ago

Original comment by stefano....@gmail.com on 7 Aug 2011 at 7:57