Home › Forums › StockChart Support › dynamic charts no longer working since 1.6.2 › Reply To: dynamic charts no longer working since 1.6.2
@scroteau,
You can update the dataPoints using set method like stockChart.charts[0].data[0].set("dataPoints", subsetDataPoints)or update the stockchart options like stockChart.options.charts[0].data[0].dataPoints = subsetDataPoints. Please take a look at this updated JSFiddle for sample code.
stockChart.charts[0].data[0].set("dataPoints", subsetDataPoints)
stockChart.options.charts[0].data[0].dataPoints = subsetDataPoints
—- Manoj Mohan Team CanvasJS