newAbsoluteDashboardDateFilter()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Creates a new absolute dashboard date filter.
export declare function newAbsoluteDashboardDateFilter(from: DateString, to: DateString, dataSet?: ObjRef, localIdentifier?: string, emptyValueHandling?: EmptyValues, granularity?: DateFilterGranularity): IDashboardDateFilter;
Parameters
Parameter | Type | Description |
|---|---|---|
from | start of the interval in ISO-8601 calendar date format | |
to | end of the interval in ISO-8601 calendar date format | |
dataSet | (Optional) optional ref of the date data set to filter on | |
localIdentifier | string | (Optional) optional local identifier of the filter |
emptyValueHandling | (Optional) optional handling of empty date values | |
granularity | (Optional) granularity of the selected periods, day when omitted. Other granularities are deprecated, whole weeks, months, quarters and years are expressed by IDashboardAbsoluteGranularityDateFilter. |
Returns