DimensionTopNOptions.Enabled Property
Gets or sets whether the Top N Values feature is enabled.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v20.2.Core.dll
NuGet Packages: DevExpress.Dashboard.Core, DevExpress.WindowsDesktop.Dashboard.Core
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.