filterContextToDashboardFiltersByDateDataSet()
Home > @gooddata/sdk-ui-dashboard > filterContextToDashboardFiltersByDateDataSet
filterContextToDashboardFiltersByDateDataSet() function
Gets IDashboardFilter items for filters specified in given filterContext in relation to the given dateDataSet.
Signature:
export declare function filterContextToDashboardFiltersByDateDataSet(filterContext: IFilterContextDefinition | IFilterContext | ITempFilterContext | undefined, dateDataSet: ObjRef): IDashboardFilter[];
Parameters
Parameter | Type | Description |
---|---|---|
filterContext | IFilterContextDefinition | IFilterContext | ITempFilterContext | undefined | filter context to get filters for |
dateDataSet | ObjRef | widget to use to get dateDataSet for date filters |
Returns: