Home forums Using CanvasJS Update data dataPoints every 5 seconds

This topic contains 1 reply, has 2 voices, and was last updated by  Vishwas R 4 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25807

    Hey guys
    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)

    #25829

    @amir,

    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.


    Vishwas R
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.