dashboardDateFilterToDateFilterByWidget()
Home > @gooddata/sdk-ui-dashboard > dashboardDateFilterToDateFilterByWidget
dashboardDateFilterToDateFilterByWidget() function
Converts to IDateFilter instance.
Signature:
export declare function dashboardDateFilterToDateFilterByWidget(filter: IDashboardDateFilter, widget: Partial<IFilterableWidget>): IDateFilter;
Parameters
Parameter | Type | Description |
---|---|---|
filter | IDashboardDateFilter | filter context attribute filter to convert |
widget | Partial<IFilterableWidget> | widget to use to get dateDataSet for date filters |
Returns: