This React Spline Area Chart example visualizes inflation rate comparison for two countries by using spline area series.
In this example, you can see how to render and configure a spline area chart. This chart plots a fitted curve through each data point in a series. It is used to represent time-dependent data and show trends in data at equal intervals.
Tooltips
are enabled in this example. To see a tooltip in action, hover over or tap on the chart.
Injecting Module
Chart component features are segregated into individual feature-wise modules. To use spline area series, we need to inject SplineAreaSeries
module into services
.
More information about area series can be found in this documentation section.