TopNOptions.Mode Property
Gets or sets the value that specifies how to determine the total number of top N series points.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
#Declaration
#Property Value
Type | Description |
---|---|
Top |
A Top |
Available values:
Name | Description |
---|---|
Count | The Top |
Threshold |
The Top |
Threshold |
The Top |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Mode |
---|---|
Series |
|
#Remarks
The “Top N” feature is intended to visually display only selected series points of a series, and is determined by the TopNOptions object returned by the SeriesBase.TopNOptions property. This feature is applicable only if the SeriesBase.TopNOptions‘s TopNOptions.Enabled property is set to true.
If this feature is enabled, then the Mode property specifies the determining property (TopNOptions.Count, TopNOptions.ThresholdValue or TopNOptions.ThresholdPercent) that will specify how many series points should be visible in a chart. All other series points are combined into a single “Others” point, which can be visible or hidden, according to the TopNOptions.ShowOthers property value. The text shown as an argument of the “Others” point is specified by the TopNOptions.OthersArgument property.
For more information, refer to Using The Top-N Feature.