TrendSegmentColorizer.FallingTrendLegendText Property

Gets or sets the text the legend uses to identify the falling trend segments.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll


public string FallingTrendLegendText { get; set; }
Public Property FallingTrendLegendText As String

Property Value

Type Description

The text the legend shows for the falling trend colorizer legend item.


This example demonstrates how to use the TrendSegmentColorizer to color a line series by its segments.

TrendSegmentColorizer colorizer = new TrendSegmentColorizer();
colorizer.FallingTrendColor = Color.RoyalBlue;
colorizer.RisingTrendColor = Color.Firebrick;
colorizer.FallingTrendLegendText = "Temperature Decrease";
colorizer.RisingTrendLegendText = "Temperature Rise";
colorizer.ShowInLegend = true;
LineSeriesView lineSeriesView = chartControl.Series[0].View as LineSeriesView;
lineSeriesView.SegmentColorizer = colorizer;
See Also