IDistinctPointShapes
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
Configuration for distinct point shapes feature.
export interface IDistinctPointShapes
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
boolean | (BETA) (Optional) Enables distinct point shapes for line-based charts. | ||
Record<string, PointShapeSymbolType> | (BETA) (Optional) Optional mapping from measure local identifier to a specific point shape symbol. |
Property details
IDistinctPointShapes.enabledpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
Enables distinct point shapes for line-based charts.
enabled?: boolean;
Remarks
When enabled, different series in line, area, and combo charts will use different point shapes to help distinguish between series. See PointShapeSymbolType for the full set of supported shapes.
IDistinctPointShapes.pointShapeMappingpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
Optional mapping from measure local identifier to a specific point shape symbol.
pointShapeMapping?: Record<string, PointShapeSymbolType>;
Remarks
This uses the local identifier of measures to determine which point shape to apply to each series.
For measures that are not explicitly mapped in this configuration, the system will automatically assign point shapes based on their series index using the predefined order: “circle”, “square”, “triangle”, “triangle-down”, “diamond”, followed by the remaining supported shapes. The shapes cycle through this sequence if there are more series than available shapes.