PDA

View Full Version : [CLOSED] Reload chart with dynamic number of YFields



jchau
Feb 12, 2014, 1:36 PM
I have a stacked column chart defined on the page with ColumnSeries YFields = "MeasureA,MeasureB,MeasureC". There's a button on the page that will reload the chart with new data, including new columns in a datatable. The YFields need to be changed to "MeasureD,MeasureE,MeasureF,MeasureG" and store model needs to be reconfigured. Can that be done via the button's click directevent? Should I just delete the chart and XRender a new one?

Daniil
Feb 13, 2014, 3:17 AM
Hi @jchau,

Yes, you should re-render the existing chart with new settings or just render a new chart, removing the previous one.