maui-devexpress-dot-maui-dot-charts-912f38c1.md
A colorizer that paints line segments of the line, area or range area series based on the specified point colorizer.
Namespace : DevExpress.Maui.Charts
Assembly : DevExpress.Maui.Charts.dll
NuGet Package : DevExpress.Maui.Charts
public class GradientPointBasedSegmentColorizer :
ChartElement,
ISegmentColorizer
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.
System.Object BindableObject Element ChartElementBase ChartElement GradientPointBasedSegmentColorizer
Yield<GradientPointBasedSegmentColorizer>()
YieldIfNotNull<GradientPointBasedSegmentColorizer>()
See Also