A newer version of this page is available. Switch to the current version.

RangeColorizer Class

A colorizer that allows providing colors based on which range the SeriesBase.ColorDataMember value belongs.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll


public class RangeColorizer :
Public Class RangeColorizer
    Inherits ChartPaletteColorizerBase
    Implements IPatternHolder


This class introduces the RangeColorizer.RangeStops property that allows specifying range stops used to determine to which range value belongs, and the RangeColorizer.ValueProvider property, that allows specifying the value provider. This allows you to specify how to provide numeric values based on SeriesBase.ColorDataMember values.

For more information about colorizers, refer to the Series Point Colorizer topic.


To use the Range Colorizer, perform the following steps.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace RangeColorizerExample {
    static class Program {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main() {
            Application.Run(new Form1());
See Also