/
/
Multi Colored Line

This sample visualizes the annual mean rainfall data with multi colored line series in the chart. Data points are enhanced with segments and tooltip.

More Details...

Loading....
Description

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.

Tooltip is enabled in this example, to see the tooltip in action, hover a point or tap a point in touch enabled devices.

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.