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 ChartSegment.
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 area series, we need to inject
MultiColoredAreaSeries
module using
Chart.Inject(MultiColoredAreaSeries)
method.
More information on the multi-colored area series can be found in this documentation section.