PDA

View Full Version : Adding/Removing Chart Series



scishop
27 Jul 2009, 6:05 AM
Hi,

Is it possible to dynamically add or remove lineseries to a linechart object once it has been created?

Thanks!
Scott

makiavelli
8 Oct 2009, 2:32 AM
I have same problem.
Did you find resolution?

Mag_42
8 Oct 2009, 9:33 AM
I just tell the series to point at an empty field in the store...

chart.series[<seriesNumber>].yField = 'name of whatever your empty field is'

I have buttons in a toolbar built on chart load that trigger this.. so they know what <series number> is....