maui-devexpress-dot-maui-dot-charts-dot-lineseries-02e9f497.md
Gets or sets the colorizer that paints line segments. This is a bindable property.
Namespace : DevExpress.Maui.Charts
Assembly : DevExpress.Maui.Charts.dll
NuGet Package : DevExpress.Maui.Charts
public ISegmentColorizer SegmentColorizer { get; set; }
| Type | Description |
|---|---|
| ISegmentColorizer |
The colorizer object that paints line segments.
|
In this example, the spline chart displays the temperature curve colored based on ranges of temperature values.
Create a data source - a list of objects that define data points with date-time arguments and numeric values.
Assign a GradientPointBasedSegmentColorizer object to the SplineSeries.SegmentColorizer property.
Assign a ValueBandPointColorizer object to the GradientPointBasedSegmentColorizer.PointColorizer property. Populate the colorizer’s ColorStops collection with ColorStop objects that specify colors for ranges of temperature values.
See Also