You must be logged in to post your query.
Home › Forums › Chart Support › Php dynamic chart update, example not enough
Tagged: Php dynamic
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?
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.
You must be logged in to reply to this topic. Login/Register