updateVisualizationsFromSwitcherWidgetContent()
Home > @gooddata/sdk-ui-dashboard > updateVisualizationsFromSwitcherWidgetContent
updateVisualizationsFromSwitcherWidgetContent() function
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Creates the ChangeVisualizationsFromVisualizationSwitcherWidgetContent command. Dispatching this command will result in the update of visualization which form part of the visualization switcher widget.
Signature:
export declare function updateVisualizationsFromSwitcherWidgetContent(ref: ObjRef, visualizations: IInsightWidget[], correlationId?: string): UpdateVisualizationsFromVisualizationSwitcherWidgetContent;
Parameters
Parameter |
Type |
Description |
---|---|---|
ref |
reference of the visualization switcher widget to modify | |
visualizations |
changed visualizations to remove | |
correlationId |
string |
(Optional) specify correlation id to use for this command. this will be included in all events that will be emitted during the command processing |
Returns: