This sample shows the particulate levels in rainfall with multi-colored line series in the chart. Data points are enhanced with individual color and tooltips.
In this example, you can see how to render and configure each point in line type series.
Multi colored line charts are used to represent time-dependent data to show the trends at equal intervals with their individual colors by using pointColorMapping
.
Injecting Module
Chart component features are segregated into individual feature-wise modules. To use multi colored line series, we need to inject
MultiColoredLineSeries
module using
Chart.Inject(MultiColoredLineSeries)
method.
More information on the multi-colored line series can be found in this documentation section.