Revathy Report post Posted February 26, 2020 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
Akash Biswas Report post Posted February 26, 2020 Hi, 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 : https://www.fusioncharts.com/dev/chart-guide/standard-charts/real-time-charts#feed-data-using-javascript You can also check the API method list for further description : https://www.fusioncharts.com/dev/api/fusioncharts/fusioncharts-methods To render charts in PHP environment, you need to use the FusionCharts PHP wrapper : https://www.fusioncharts.com/dev/getting-started/php/your-first-chart-using-php Also find a sample for reference : https://www.dropbox.com/s/4ckr69hxtc0n7e4/realtimeline.zip?dl=0 Thanks, Akash. Share this post Link to post Share on other sites