Home Forums Chart Support Dynamic chart extra lines being added Reply To: Dynamic chart extra lines being added

#26175

@shyamcanvas1992,

Please take a look at this Gallery example for working code on rendering chart with data from JSON.

setTimeout method calls a function or evaluates an expression after a specified number of milliseconds (only once) whereas setInterval method calls a function or evaluates an expression at specified intervals (in milliseconds). Changing setTimeout to setInterval should work fine in this case.

If you are still facing the issue, kindly share sample project reproducing the issue along with sample JSON over Google-Drive or Onedrive so the we can look into the code, run it locally to understand the scenario better and help you resolve.


Shashi Ranjan
Team CanvasJS