[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand].NET Core 3 Support
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
   Reporting
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Collapse]Charts Suite
   [Collapse]Chart Control
    [Expand]Getting Started
    [Expand]Fundamentals
    [Expand]Providing Data
    [Expand]Chart Elements
    [Collapse]Appearance Customization
      Chart Themes and Palettes
      Custom Draw
      Series and Series Point Colors
      Series and Marker Models
      Segment Colorizers
    [Expand]End-User Features
    [Expand]Design-Time Features
    [Expand]Examples
    [Expand]Additional Resources
   [Expand]Chart3D Control
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Segment Colorizers

Segment Colorizers allow you to paint segments of the LineSeries2D (see LineSeries2D), AreaSeries (see AreaSeries2D) and their descendants.

Expanded Overview

Segment colorizers only paint segments that form a line or area. Use the Series Point Colorizers to paint point markers.

You can use the Segment Colorizers with the following series:

Perform the following steps to apply a segment colorizer to a series:

Expanded Trend Segment Colorizer

The Trend Segment colorizer changes a line/area's color when a point value increases or decreases. You can specify the colors used to paint increasing and decreasing value segments.

The following code shows how to configure and apply the Trend Segment colorizer:

The following table lists the related API members:

Member Description
TrendSegmentColorizer (see TrendSegmentColorizer) The colorizer that changes a line/area's color when a point value increases or decreases.
TrendSegmentColorizer.FallingTrendColor Gets or sets the color used to draw the falling value segments.
TrendSegmentColorizer.RisingTrendColor Gets or sets the color used to draw the rising value segments.
TrendSegmentColorizer.FallingTrendLegendText Gets or sets the text the legend uses to identify the falling trend segments.
TrendSegmentColorizer.RisingTrendLegendText Gets or sets the text the legend uses to identify the rising trend segments.
SegmentSeries2DBase.SegmentColorizer Gets or sets the colorizer that colors the line/area segments.

Expanded Range Segment Colorizer

The Range Segment colorizer allows you to paint line/area segments based on their value range.

The following code shows how to configure and apply the Range Segment colorizer:

The following table lists the related API members:

Member Description
RangeSegmentColorizer (see RangeSegmentColorizer) The colorizer that allows you to paint a line/area segment based on a its value range.
RangeSegmentColorizer.RangeStops Provides access to the collection of double values that define color range boundaries.
RangeSegmentColorizer.Palette Gets or sets the palette that provides colors for the colorizer.
RangeSegmentColorizer.LegendTextPattern Gets or sets the pattern to format the text that the legend shows for a color range.
RangeSegmentColorizer.ShowInLegend Gets or sets the value whether to show the colorizer items in the legend.
SegmentSeries2DBase.SegmentColorizer Gets or sets the colorizer that colors the line/area segments.

Expanded Point Based Segment Colorizer

The Point Based Segment Colorizer paints line/area segments into the point marker colors. Use a series point colorizer or specify the SeriesPoint.Brush property directly to provide markers with colors.

The following code shows how to configure and apply the Point Based Segment colorizer:

The following table lists the related API members:

Member Description
PointBasedSegmentColorizer (see PointBasedSegmentColorizer) The colorizer that uses the point marker colors to paint line/area segments.
PointBasedSegmentColorizer.Direction Gets or sets the direction that is used to distribute the point marker color.
ColorDistributionDirection (see ColorDistributionDirection) Lists values that define the direction used by point markers to distribute a color among segments.
SegmentSeries2DBase.SegmentColorizer Gets or sets the colorizer that colors the line/area segments.

Expanded See Also

Is this topic helpful?​​​​​​​