Skip to content

Documentation / @ripl/charts / createDataLabel

Function: createDataLabel() ​

createDataLabel(spec): Text

Defined in: charts/src/core/labels.ts:329

Creates a data label Text element (at opacity 0) positioned by its anchor.

Parameters ​

ParameterType
specDataLabelSpec

Returns ​

Text