Example of undefined in React Chart Component


This example demonstrates how to add and remove data points in a spline chart.

More Details...


In this example, you can see how to render and configure a spline chart to display data that updates every second, with old data being removed. 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.