Skip to main content

Dimension.TextGroupInterval Property

Gets or sets the group interval for string values.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v22.2.Core.dll

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.Win.Dashboard.Design

Declaration

[DefaultValue(TextGroupInterval.None)]
public TextGroupInterval TextGroupInterval { get; set; }

Property Value

Type Default Description
TextGroupInterval None

A TextGroupInterval enumeration member that specifies the group interval for string values.

Remarks

Use the TextGroupInterval property to specify how to group string values contained in this Dimension.

If the Dimension does not contain string data, the TextGroupInterval property is not in effect.

Note

You cannot use grouping feature in OLAP mode.

Example

The following code snippet shows how to create the date-time and string dimensions with the specified group intervals.

Dimension orderDateDimension = new Dimension("Order Date", DateTimeGroupInterval.MonthYear);
Dimension categoryDimension = new Dimension("CategoryName", TextGroupInterval.Alphabetical);
See Also