• Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

Example of Spline Area in ASP.NET MVC Chart Control

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.

DEMO
SOURCE

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.