ZoomCharts Documentation

Version: 1.21.17 (2026-06-01)
Switch to Version 2.0 (BETA)

ZoomCharts.Configuration.FacetChartSettingsFacetAxisLabels

Inheritance hierarchy

This type inherits from BaseSettingsLabelStyle. Through this type it also inherits members from BaseSettingsLabelBaseStyle.

Methods

This type does not define any methods.

Properties

align: "center" | "right" | "left"

Text alignment.

allowOverflow: boolean
Introduced in version 1.15.0.

Specifies if labels with angle that is not multiple of 90 (either horizontal or vertical) are allowed to overflow the left and right sides of the facet axis.

In the simple case this setting allows the first label with angle -45 degrees to be rendered under the value axis, giving it slightly more space.

angle: number

The angle at which the label are rotated

aspectRatio: number

Ratio between label sizes in different dimensions

Background style including fill color.

borderRadius: number

Radius of item border. Similar to CSS border radius property. Zero radius will show a rectangle

drawOrder: number

Controls the order the label is drawn in if the label supports configurable draw order. Lower numbers are always drawn before later numbers, and any non-zero drawOrder is always drawn after other chart elements. Note this cannot force drawing order to change beyond the boundaries of things like rendering clips.

enabled: boolean
extra: any

Extra data associated with the label

forceNoWrap: boolean
image: string

Label image.

imageSlicing: [number, number, number, number]

Slicing to use tiled images. Array of 4 values: [left, top, width, height]

interLabelSpacing: number
lineSpacing: number

Vertical space between the lines of text. In multiples of text line height.

margin: number

Margin around label text

maxWidth: number

Maximum width of the label.

minNonEllipsisWidth: number

The minimum space, in pixels, that a label must display before shortening the label with ellipsis is considered.

overlapStrategy: "none" | "skip" | "moveup" | "movedown" | "movevertical"

Specifies how the label handles overlap if the label supports configurable overlap strategy.

Valid values:
  • none - Ignore overlap and draw anyways
  • skip - Don't draw if it overlaps a previously drawn label
  • moveup - Move the label upwards until it no longer overlaps other labels.
  • movedown - Move the label downwards until it no longer overlaps other labels.
  • movevertical - Move the label either upwards or downwards to avoid overlap, depending on whichever direction moves the label less
padding: number

Padding between item content and item border.

text: string
Introduced in version 1.12.0.

The default text displayed for each value when the data item does not define a specific text.

Inherited from: BaseSettingsLabelStyle

Text style including fill color and font.

X