View Full Version : add series at runtime in 2.1 RC1

17 Oct 2012, 9:02 PM
I found this question asked before, but none of the solutions given seem to work on ST 2.1 RC1. I'm trying to add some series dynamically at runtime. I'm wanting to set up a chart that works kind of generically, depending on the set of fields given in a config object. I want to walk these fields and add a line series for each in the chart.

As far as I can tell, the charts still aren't very friendly about changing series at runtime (a bit odd, given all the other charting frameworks I've used). Is there any way to at least hack it to do it right now? This is actually more of a proof of concept app and I'd hate to have to scrap everything and redo it with it all hardcoded.