Home › forums › Using CanvasJS › Update data dataPoints every 5 seconds
Tagged: #piechart #convasjs #dynamicPiechart
i need your comment and help to update the datapoints every 5 seconds, i attched the code in bellow link plzz have a look
so basically i replaced the numbers with random numbers so if we able to update or call the chart it will automatically change adn this is just used as demo data.
or copy this link https://jsfiddle.net/amir101/3dy7kz1m/16/
JSfiddle link(check the code here)
To dynamically update chart, you need to update chart-options and re-render the chart. Please refer this documentation page for more information on the same. Also take a look at this updated JSFiddle.
You must be logged in to reply to this topic.