php real time graph

Recommended Posts

I am trying to create real time line graph for the project. Do you know who to create real time graph using php?

<td><button value="<?php echo $currencyArrayWithSlashExplode[$cntAA]?>" class="clean blue-button table-btn-font" ><?php echo number_format($exchangeRates['forexList'][$cnt]['changes'], 4?></button></td>

This button contain an array of result --> I need to use this array to create a line graph, like the image attached


Share this post

Link to post
Share on other sites



Real-time charts automatically update themselves after every n seconds, without any page refreshes, by getting new data

You need to provide the data using the supported API method - feedData(). Refer to the below link for details :

You can also check the API method list for further description :

To render charts in PHP environment, you need to use the FusionCharts PHP wrapper :


Also find a sample for reference :




Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now