Example of Stacked Area in Javascript Chart Control

/
/
Stacked Area

This Stacked Area example visualizes the amount of sales by payment mode with default stacked area series. A legend in the sample shows information about the series.

More Details...

Source: www.gov.uk
Description

In this example, you can see how to render and configure the stacked area chart. This chart visualizes data with y-values stacked one over another in a series order. It shows the relationship between individual values to the total sum of points. Injecting Module Chart component features are segregated into individual feature-wise modules. To use stacking area series, we need to inject StackingAreaSeries module using Chart.Inject(StackingAreaSeries) method. More information on the stacked area series can be found in this documentation section.