Home › forums › Using CanvasJS › Update data dataPoints every 5 seconds
Tagged: #piechart #convasjs #dynamicPiechart
This topic contains 1 reply, has 2 voices, and was last updated by Vishwas R 5 days, 5 hours ago.
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.