Unable to clear SerialChart

I have a SerialChart on a screen and I dynamically addGraph to it. But there is no method to clear the graphs on the chart. When I checked the AmCharts docs, there is a clear() method. How do I clear the graphs so that I can add a new set of graphs to the serial chart ?

Hello,

you can set a new graph list and repaint chart:

serialChart.setGraphs(graphs)
serialChart.repaint()
1 Like