Dimension.TextGroupInterval Property
Gets or sets the group interval for string values.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.2.Core.dll
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.
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