Documentation / @ripl/charts / resolveDataLabelLayout
Function: resolveDataLabelLayout() ​
resolveDataLabelLayout(
spec):DataLabelLayout
Defined in: charts/src/core/labels.ts:108
Resolves the anchored position and text alignment for a data label.
Parameters ​
| Parameter | Type |
|---|---|
spec | Pick<DataLabelSpec, "x" | "y" | "anchor" | "offset"> |