Home Forums Chart Support Clearing data source – dataPoints = []; – locks graph Reply To: Clearing data source – dataPoints = []; – locks graph

#32972

@isquared,

You can update all chart elements including data and chart options dynamically by changing chart.options and calling chart.render. Please check this documentation page for tutorial and live examples on updating chart options.

If you are still facing issue, kindly create a JSFiddle reproducing the issue you are facing and share it with us so that we can look into the code / chart-options being used, understand the scenario better and help you resolve it.

updating chart options

___________
Indranil Deo
Team CanvasJS