Example of undefined in Javascript Chart Control

/
/
Spline updating each second

This sample demonstrates how to add and remove data in a spline chart, allowing modification of the data at set intervals.

More Details...

Description

In this example, you can see how to render and configure a spline chart to display data that updates every second using the addPoint method, with old data being removed using the removePoint method. The X-axis represents the time at which the data is added, while the Y-axis displays the data values. Injecting Module Chart component features are segregated into individual feature-wise modules. To use the spline series, we need to inject the SplineSeries module using the Chart.Inject(SplineSeries) method. More information on the spline series can be found in this documentation section.