Home forums Using CanvasJS Start animation on reaching viewport or scrolling down the page Reply To: Start animation on reaching viewport or scrolling down the page

#26015

@oncenter,

Rendering chart for the first time only after scrolling to the position of chart should work fine in your case. Creating an array of having all the charts (chartComplete, chartWorking, chartLost, chartWaiting) and adding scrollFunction method should work fine.

If you are still facing the issue, kindly create JSFiddle reproducing the issue and share it with us so that we can look into the code, understand the scenario better and help you out.


Manoj Mohan
Team CanvasJS