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

#25992

How would I do this with multiple charts on a single page?

I have something like “var chartPlanning = new CanvasJS.Chart(“chartContainerPlanning”, {”

so in the fiddle example I can get one chart to work as intended, as soon as I repeat this for another chart, it breaks.

Everything is names properly etc.