maui-devexpress-dot-maui-dot-charts-dot-bandpointcolorizerbase.md
Gets the color stop collection of the band points. This is a bindable property.
Namespace : DevExpress.Maui.Charts
Assembly : DevExpress.Maui.Charts.dll
NuGet Package : DevExpress.Maui.Charts
public ColorStopCollection ColorStops { get; }
| Type | Description |
|---|---|
| ColorStopCollection |
The collection of the ColorStopCollection objects.
|
In this example, the bubble chart displays GDP values for the G20. A point’s size indicates the country population and the color indicates the HPI.
Create a data source – a list of objects each of which stores a country’s name, GDP value, population, and HPI.
Create a class (HpiProvider, in this example) that implements the ICustomColorizerNumericValueProvider interface and the GetValueForColorizer method, which returns the Hpi value for a series point.
Set the BubbleSeries.PointColorizer property to a CustomValueBandPointColorizer object and assign an HpiProvider object to the CustomValueBandPointColorizer.ValueProvider property.
Populate the colorizer’s ColorStops collection to specify colors for ranges of HPI values.
See Also