mobilecontrols-devexpress-dot-xamarinforms-dot-charts-c8c24550.md
A colorizer that paints line segments of the line, area or range area series based on the specified point colorizer.
Namespace : DevExpress.XamarinForms.Charts
Assembly : DevExpress.XamarinForms.Charts.dll
NuGet Package : DevExpress.XamarinForms.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.
Object ChartElement GradientPointBasedSegmentColorizer
See Also