Home forums Using CanvasJS Cant update Dynamic Chart via AJax JSON for Candle Stick Reply To: Cant update Dynamic Chart via AJax JSON for Candle Stick

#16169

tandemco
Member

Thank you Indranil!

What if we are getting the entire array of data again instead of just one more stick info at a time? Keep in mind I am trying to make a Dynamic candle stick chart that renders stock prices.

1. Should we clear the chart? right now it plots the data right on top of the last data?
2. I tried (and it didn’t work) in the ajax

chart.options.data[0].dps = data;
chart.render();
3. I also tried to set dps to [] reset the array to clear the chart to no avail.

Let me know,
thanks