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