Skip to main content

Dimension.TextGroupInterval Property

Gets or sets the group interval for string values.

Namespace: DevExpress.DashboardCommon

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

NuGet Package: DevExpress.Dashboard.Core

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