This sample visualizes the data on US season retail sales growth using a multi-colored area series in the chart. Data points are enhanced with segments and tooltips.
In this example, you can see how to render and configure the points in a particular range by using MultiColoredArea
series.
Points within the range can be configured with color property in chart segment.
The tooltip is enabled in this example. To see the tooltip in action, hover a point or tap on a point in touch enabled devices.
Injecting Module
Chart component features are segregated into individual feature-wise modules. To use area series, we need to inject
MultiColoredAreaSeries
module using
Chart.Inject(MultiColoredAreaSeries)
method.
More information on the area series can be found in this documentation section.