Log In
[Expand]General Information
[Collapse]WinForms Controls
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Collapse]Chart Control
   [Expand]Getting Started
   [Collapse]Providing Data
    [Collapse]Providing Data
      Manually Create a Series
      Manually Add Points to a Series
      Specify Series Data Members
      Automatic Series Creation
      Series Customization
      Series Scale Types
      Pivot Charting (Integration with a Pivot Grid Control)
      Data Aggregation
    [Expand]Data Representation
   [Expand]Appearance Customization
   [Expand]End-User Features
   [Expand]Design-Time Features
   [Expand]Visual Elements
   [Expand]Additional Resources
  [Expand]Map Control
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]PDF Viewer
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation


This document introduces the Chart Colorizer, lists colorizer types, and explains how to create a colorizer and customize its settings in a chart control.

The document consists of the following sections.

Expanded Overview

The Colorizer is used to automatically choose colors for chart series points. This feature can be applied to the SeriesPoint class. Calculated color is stored using the SeriesPoint.Color property.

This can be useful, for example, for providing additional information using color.

Before using this feature, perform the following steps.

  1. Specify the Series.DataSource property, if required, and all data member properties required to build a chart.

    The colorizer allows you to provide colors for the series points provided from the data source using one of approaches that will be discussed later.

  2. Specify the name of a data member that determines the color of the series' SeriesBase.ColorDataMember property.

  3. Determine which kind of a colorizer should be used in an application.

    Currently, the following types are supported.

    • ColorObjectColorizer allows you to provide color data member values to the SeriesPoint.Color property if these values have the System.Drawing.Color type or a type that can be converted to color (integer number or string).

    • KeyColorColorizer allows you to choose the color depending on color data member values used as key values.

    • RangeColorizer allows you to colorize points depending on the range that color data member values belong to.

After you select a colorizer type, assign an object of the selected colorizer type to the SeriesBase.Colorizer property. Then, you can customize the colorizer's settings. The sections below describe how this can be done.


A colorizer is used to color only markers for area and line series views.

Expanded Color Object Colorizer

This colorizer does not have properties that should be specified before you use this colorizer. The following image demonstrates the data colorized using one of the national colors stored in a data source.


This colorizer is used by default.

Expanded Key-Color Colorizer

To configure the key-color colorizer perform the following steps.

The following image demonstrates a bar chart colorized by the country's region using the key-color colorizer.

Expanded Range Colorizer

To configure the range colorizer, perform the following steps.

  • Fill the RangeColorizer.RangeStops collection. These values will form ranges that will be used to decide which color a series point should have.

  • Specify the ChartPaletteColorizerBase.Palette property if you want use a non-default palette to colorize your data.

  • In addition, it's possible to specify the RangeColorizer.ValueProvider property. This allows you to configure how to provide double-precision numeric values based on the color data series member values.


    This property can be changed only through the code.

The following image demonstrates a bar chart colorized by the Happy Planet Index using the range colorizer.

How would you rate this topic?​​​​​​​