PivotDateTimeRangeGroupSettings
Contents
[
Hide
]PivotDateTimeRangeGroupSettings class
Represents the field grouped by date time range.
class PivotDateTimeRangeGroupSettings extends PivotFieldGroupSettings;
Constructors
| Name | Description |
|---|---|
| constructor(PivotFieldGroupSettings) | Constructs from a parent object convertible to this. |
Properties
| Property | Type | Description |
|---|---|---|
| start | Date | Readonly. Gets the start date time of the group. |
| end | Date | Readonly. Gets the end date time of the group. |
| interval | number | Readonly. Gets the internal of the group. |
| groupByTypes | PivotGroupByType[] | Readonly. Gets the types of grouping by date time. |
Methods
| Method | Description |
|---|---|
| isGroupedBy(PivotGroupByType) | Check whether the field is grouped by the type. |
| getType() | Gets the data time group type. |
constructor(PivotFieldGroupSettings)
Constructs from a parent object convertible to this.
constructor(obj: PivotFieldGroupSettings);
Parameters:
| Parameter | Type | Description |
|---|---|---|
| obj | PivotFieldGroupSettings | The parent object. |
start
Readonly. Gets the start date time of the group.
start : Date;
end
Readonly. Gets the end date time of the group.
end : Date;
interval
Readonly. Gets the internal of the group.
interval : number;
groupByTypes
Readonly. Gets the types of grouping by date time.
groupByTypes : PivotGroupByType[];
isGroupedBy(PivotGroupByType)
Check whether the field is grouped by the type.
isGroupedBy(type: PivotGroupByType) : boolean;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| type | PivotGroupByType | The group type |
getType()
Gets the data time group type.
getType() : PivotFieldGroupType;
Returns