insightVisualizationUrl()
Home > @gooddata/sdk-model > insightVisualizationUrl
insightVisualizationUrl() function
Gets URL of visualization that should be used to render this insight. This is a link to the location where the visualization assets are stored and where they should be loaded and linked from.
Note: at the moment, the SDK supports only compile-time linkage; for this the visualization URL is in format "local:visName" (as in "local:bar" for BarChart)
Signature:
export declare function insightVisualizationUrl(insight: IInsightDefinition): string;
Parameters
Parameter | Type | Description |
---|---|---|
insight | IInsightDefinition | insight to get visualization URL from |
Returns:
string