Dimension.TextGroupInterval Property

Gets or sets the group interval for string values.

Namespace: DevExpress.DashboardCommon

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

Declaration

public TextGroupInterval TextGroupInterval { get; set; }
Public Property TextGroupInterval As TextGroupInterval

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.

Examples

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