ZoomCharts Documentation
Version: 1.21.9 (2025-10-05)
Switch to Version 2.0 (BETA)
Switch to Version 2.0 (BETA)
ZoomCharts.Configuration.BaseLabel
Inheritance hierarchy
This type is implemented by ItemsChartItemsLayerLinkItem, ItemsChartItemsLayerLinkLabel, ItemsChartItemsLayerNodeItem and ItemsChartItemsLayerNodeLabel.
Methods
applyEllipsis: (layout: BaseLabelLayoutBase, g: CanvasRenderingContext2D, locationFromHeight: BaseLabelLocationDelegate, left: number, right: number): void
Parameters
layout: BaseLabelLayoutBase
locationFromHeight: BaseLabelLocationDelegate
left: number
right: number
fitInRect: (layout: BaseLabelLayoutBase, g: CanvasRenderingContext2D, locationFromHeight: BaseLabelLocationDelegate, storePosition?: boolean): number
Parameters
Return value
Data type: number
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
style: BaseSettingsLabelStyle
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