Back to Devexpress

GradientPointBasedSegmentColorizer Class

maui-devexpress-dot-maui-dot-charts-912f38c1.md

latest2.7 KB
Original Source

GradientPointBasedSegmentColorizer Class

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

Declaration

csharp
public class GradientPointBasedSegmentColorizer :
    ChartElement,
    ISegmentColorizer

Example

In this example, the spline chart displays the temperature curve colored based on ranges of temperature values.

  1. Create a data source - a list of objects that define data points with date-time arguments and numeric values.

  2. Assign a GradientPointBasedSegmentColorizer object to the SplineSeries.SegmentColorizer property.

  3. 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.

Implements

IElementController

INotifyPropertyChanged

ISegmentColorizer

Inheritance

System.Object BindableObject Element ChartElementBase ChartElement GradientPointBasedSegmentColorizer

Extension Methods

Yield<GradientPointBasedSegmentColorizer>()

YieldIfNotNull<GradientPointBasedSegmentColorizer>()

See Also

GradientPointBasedSegmentColorizer Members

DevExpress.Maui.Charts Namespace