RangeFilterSelection Interface
A range in the Range Filter dashboard item.
Declaration
export interface RangeFilterSelection
Remarks
Use the RangeFilterSelection.minimum and RangeFilterSelection.maximum properties to specify the required range.
The table below lists methods that return or accept the RangeFilterSelection object.
Method | Description |
---|---|
Returns the visible range for the specified Range Filter dashboard item. | |
Returns the currently selected range in the specified Range Filter dashboard item. | |
Selects the required range in the specified Range Filter / Date Filter dashboard item. |
Properties
maximum Property
Specifies a maximum value in the range of the Range Filter dashboard item.
Declaration
maximum: number | Date
Property Value
Type | Description |
---|---|
number | A maximum number value in the range of the Range Filter dashboard item. |
Date |
Remarks
The following code snippet shows how to set a range:
selectedRange.minimum = new Date(2017, 1, 1);
selectedRange.maximum = new Date(2017, 12, 31);
minimum Property
Specifies a minimum value in the range of the Range Filter dashboard item.
Declaration
minimum: number | Date
Property Value
Type | Description |
---|---|
number | A minimum number value in the range of the Range Filter dashboard item. |
Date |
Remarks
The following code snippet shows how to set a range:
selectedRange.minimum = new Date(2017, 1, 1);
selectedRange.maximum = new Date(2017, 12, 31);