Example of Spline Area in Javascript Chart Control

Spline Area

This sample visualizes the data about inflation rate comparison for three countries by using spline area series in the chart. Legend in the sample shows the information about the series.

More Details...


In this example, you can see how to render and configure the spline area type charts. This is similar to line type series, but the area will be closed and filled with series color. You can use border and fill properties to customize the area. marker and dataLabel properties are used to represent individual data and its value. Legend is enabled in this example with series type shape. Injecting Module Chart component features are segregated into individual feature-wise modules. To use spline area series, we need to inject SplineAreaSeries module using Chart.Inject(SplineAreaSeries) method. More information on the area series can be found in this documentation section.