pointShapeMapping
Home > @gooddata/sdk-ui-charts > IDistinctPointShapes > pointShapeMapping
IDistinctPointShapes.pointShapeMapping property
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.
Optional mapping from measure local identifier to a specific point shape symbol.
Signature:
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". The shapes cycle through this sequence if there are more series than available shapes.