Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dynamic data in Highcharts

Has anyone used the Highcharts Javascript charting library? I have a few questions about it:

  • Does it support dynamic data? In other words, if I plot a chart and then want to update the data displayed on the chart, do I need to completely unload the chart and start over? Or can I update the chart's data in-place?

  • Is there a way to hide grid lines on line/bar charts?

  • The documentation on the site looks a bit thin. Are there any more resources online for these charts?

like image 252
Justin Ethier Avatar asked Mar 21 '26 07:03

Justin Ethier


1 Answers

The Highcharts forum is pretty active and you should be able to find the answers to most of your questions there.

I've used Highcharts and love the interface and the charts that it produces.

Yes, Highcharts allows you to dynamically modify your charts and you shouldn't have to unload the chart in order to add new series data. Here's an example to add new data points to an existing series, and check out Chart.addSeries() if you want to add a whole new series.

like image 87
Sanjay Avatar answered Mar 23 '26 16:03

Sanjay



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!