Skip to content

Documentation / @finchart/core / index / AxisLabelsHost

Interface: AxisLabelsHost ​

Defined in: packages/core/src/axis/labels.ts:72

The places a label renderer can be mounted — each path uses something different. DOM labels mount on the layer's overlay; canvas labels queue commands on the DrawTarget.

Properties ​

overlay ​

overlay: unknown

Defined in: packages/core/src/axis/labels.ts:78

The layer's overlay, passed through as-is — core doesn't know what it is. The DOM label gate narrows it, and a headless host (null) makes it throw as a wiring error.


target ​

target: DrawTarget

Defined in: packages/core/src/axis/labels.ts:79