DateFilterSelection
Home > @gooddata/sdk-ui-dashboard > DateFilterSelection
DateFilterSelection interface
Payload type for ChangeDateFilterSelection command.
Signature:
export interface DateFilterSelection
Properties
| Property | Type | Description |
|---|---|---|
| dateFilterOptionLocalId? | string | (Optional) The localId of the DateFilterOption selected. |
| from? | DateString | number | (Optional) The start date. If absolute date filter, then from is the formatted start date. |
| granularity | DateFilterGranularity | Date filter granularity. For absolute dates this indicates what is the expected input format. |
| to? | DateString | number | (Optional) The end date. If absolute date filter, then to is formatted end date. |
| type | DateFilterType | Indicates whether the filter should select absolute or relative values. |