• Open in:

Line Chart Adding Data Every Second

Displaying charts for live data is a common task these days and amCharts is here to help you do it in style.

Key implementation details

We add a new data item to the series data as we get it and remove the oldest one. The amCharts Charts library takes care of the rest of the core functionality. One thing we can do to spice up the chart and guide viewers attention is animating the appearance of that new value and tracking the trend in data. Charts library has all the tools for that.

Related tutorials

Demo source