Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ColorEachPointColorizer Class

A colorizer that uses colors from the default or custom palette to paint series points.

Namespace: DevExpress.Maui.Charts

Assembly: DevExpress.Maui.Charts.dll

NuGet Package: DevExpress.Maui.Charts

#Declaration

#Remarks

To enable a point colorizer for a series, assign a ColorEachPointColorizer object to the series’s PointColorizer property.

#Default Colors

The assigned colorizer applies 7 default colors to points in turn if you don’t specify a palette (ColorEachPointColorizer.Palette or ChartStyleBase.Palette) explicitly.

ColorEachPointColorizer - Default

<dxc:PointSeries>
    <!-- Series Data -->
    <dxc:PointSeries.PointColorizer>
            <dxc:ColorEachPointColorizer/>
    </dxc:PointSeries.PointColorizer>
</dxc:PointSeries>

#Custom Colors

Use the ColorEachPointColorizer.Palette property to specify custom colors for series points.

ColorEachPointColorizer - Custom Palette

View Example

    <dx:ColorEachPointColorizer x:Name="myColor">
        <dx:ColorEachPointColorizer.Palette>
            <x:Array Type="{x:Type Color}">
                <Color>#006EC6</Color>
                <Color>#18ce9a</Color>
                <Color>#009ad6</Color>
                <Color>#79cb5d</Color>
                <Color>#0ed2dc</Color>
                <Color>#71a9dd</Color>
                <Color>#447238</Color>
                <Color>#12898e</Color>
            </x:Array>
        </dx:ColorEachPointColorizer.Palette>
    </dx:ColorEachPointColorizer>
</dx:PointSeries.PointColorizer>
<dx:PointSeries.Style>

You can also customize the palette at the chart level. To do this, specify the ChartStyleBase.Palette property.

#Inheritance

System.Object
See Also