DimensionTopNOptions.Enabled Property
Gets or sets whether the Top N Values feature is enabled.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.2.Core.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true, to enable the Top N Values feature; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to Enabled |
---|---|
Dimension |
|
Remarks
Set the Enabled property to true to show only a specified number (DimensionTopNOptions.Count) of top or bottom (depending on the DimensionTopNOptions.Mode) dimension values, provided that these value are ranged by a particular measure (DimensionTopNOptions.Measure).
You can also introduce the “Others” value that aggregates the remaining dimension values. To do this, use the DimensionTopNOptions.ShowOthers property.
Note that when the Top N Values feature is enabled, dimension values are forcefully sorted by the specified measure and the sort order is descending if top values are displayed and ascending if bottom values are displayed.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Enabled property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.