setDashboardAttributeFilterConfigDisplayAsLabel()
Home > @gooddata/sdk-ui-dashboard > setDashboardAttributeFilterConfigDisplayAsLabel
setDashboardAttributeFilterConfigDisplayAsLabel() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Creates the ISetDashboardAttributeFilterConfigDisplayAsLabel command.
Signature:
export declare function setDashboardAttributeFilterConfigDisplayAsLabel(localIdentifier: string, displayAsLabel: ObjRef): ISetDashboardAttributeFilterConfigDisplayAsLabel;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
localIdentifier |
string |
local identifier of the filter the label is changed for |
|
displayAsLabel |
newly used display as label |
Returns:
ISetDashboardAttributeFilterConfigDisplayAsLabel
change filter mode command
Remarks
Dispatching the command will result into setting provided label as new label (= display form) used for the displaying attribute filter elements.