ZoomCharts Documentation

Version: 1.21.8 (2025-09-01)
Switch to Version 2.0 (BETA)

ZoomCharts.Configuration.BaseLabel

Inheritance hierarchy

This type is implemented by ItemsChartItemsLayerLinkItem, ItemsChartItemsLayerLinkLabel, ItemsChartItemsLayerNodeItem and ItemsChartItemsLayerNodeLabel.

Methods

fitInRect: (layout: BaseLabelLayoutBase, g: CanvasRenderingContext2D, locationFromHeight: BaseLabelLocationDelegate, storePosition?: boolean): number
Parameters
locationFromHeight: BaseLabelLocationDelegate
storePosition: boolean
Return value
Data type: number
isMultiline: (): boolean
Return value
Data type: boolean
paint: (labelRenderer: BaseLabelRenderer, g: CanvasRenderingContext2D, x: number, y: number, scale: number): void
Parameters
setAlign: (align: "center" | "right" | "left"): void
Parameters
align: "center" | "right" | "left"

Properties

hheight: number
hwidth: number

The style settings used to render this label.

text: string

The text the label renders. This property overrides the text specified in the style settings.

visible: boolean
X