Skip to content Skip to sidebar Skip to footer

Scrolling Linechart Animation With Google Charts

I'm trying to create a scrolling animation with a Line Chart in Google Charts. I want to display real time data from an external data source, so my data table cannot be populated i

Solution 1:

Your problem is that you're adding the same date over and over again, and it's causing the chart to have a hard time interpolating the result. Try http://jsfiddle.net/KaU3y/, or:

data.insertRows(data.getNumberOfRows(), [
        ['' + new Date(), Math.floor((Math.random() * (1400 - 600)) + 600), 900]
    ]);

Post a Comment for "Scrolling Linechart Animation With Google Charts"