Documentation / @ripl/charts / createSegmentLabel
Function: createSegmentLabel()
createSegmentLabel(
spec):Text
Defined in: charts/src/core/labels.ts:138
Creates a segment label Text with all style properties set explicitly (never inheriting the context default), guaranteeing identical rendering across chart types and Canvas/SVG contexts.
Parameters
| Parameter | Type |
|---|---|
spec | SegmentLabelSpec |