Example of undefined in React Chart Component

/
/
UpdateSpline

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

More Details...

Loading....
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 into services.

More information on the spline series can be found in this documentation section.