function
Source: index.ts ↗
insightSetProperties()
Gets a new insight that ‘inherits’ all data from the provided insight but has different properties.
export declare function insightSetProperties<T extends IInsightDefinition>(insight: T, properties?: VisualizationProperties): T;
Parameters
Parameter | Type | Description |
|---|---|---|
insight | T | insight to work with |
properties | (Optional) new properties to have on the new insight |
Returns
T
always new instance
Remarks
New properties will be used in the new insight as-is, no merging with existing properties.