exportImageInsightWidget()
Home > @gooddata/sdk-ui-dashboard > exportImageInsightWidget
exportImageInsightWidget() 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 ExportImageInsightWidget command. Dispatching this command will result in exporting of the widget to an image.
Signature:
export declare function exportImageInsightWidget(ref: ObjRef, filename: string, correlationId?: string): IExportImageInsightWidget;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
ref |
reference to the Insight to export | |
|
filename |
string |
filename of the exported file |
|
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: