Home forums Chart Support Php dynamic chart update, example not enough

Tagged: 

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

    The php example only shows one iteration of php then to a random number generator in the chart js.
    I want to call the php code every second, how do I do this?

    #32422

    @rackflot,

    With CanvasJS you can easily create a dynamic chart by reading your JSON data and parsing it in the format accepted by CanvasJS.

    Please take a look at this gallery page for an example on creating a chart using data from JSON API. You can also download the sample projects in PHP from our download page and try running them on your local. This will give you a better approach and clarity towards understanding the code samples.


    Shashi Ranjan
    Team CanvasJS

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

You must be logged in to reply to this topic.