ZoomCharts Documentation

FacetChart.settings.facetAxis.title

This section is defined by the type FacetChartSettingsFacetAxisTitleStyle.
Introduced in version 1.12.2.

Configures the title for the facet axis.

Note that the title shares space with the facet axis labels. You might need to increase the value of facetAxis.size property so that the labels are not hidden by the title.

Properties

align: "center" | "right" | "left"
Default value: "center"
Inherited from: BaseSettingsLabelStyle

Text alignment.

angle: number
Inherited from: BaseSettingsLabelStyle

The angle at which the label are rotated

aspectRatio: number
Default value: 0
Inherited from: BaseSettingsLabelStyle

Ratio between label sizes in different dimensions

Inherited from: BaseSettingsLabelStyle
View section details

Background style including fill color.

borderRadius: number
Inherited from: BaseSettingsLabelStyle

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

enabled: boolean
Default value: false

Determines if the title is enabled.

extra: any
Inherited from: BaseSettingsLabelStyle

Extra data associated with the label

image: string
Inherited from: BaseSettingsLabelStyle

Label image.

imageSlicing: [number, number, number, number]
Inherited from: BaseSettingsLabelStyle

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

lineSpacing: number
Default value: 0.2
Inherited from: BaseSettingsLabelStyle

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

margin: number
Inherited from: BaseSettingsLabelStyle

Margin around label text

maxWidth: number
Inherited from: BaseSettingsLabelStyle

Maximum width of the label.

padding: number
Inherited from: BaseSettingsLabelStyle

Padding between item content and item border.

text: string
Inherited from: BaseSettingsLabelStyle

Specifies the default title that is used if the data does not define a name property.

Note that useFacetName property can be used to disable reading the name property so that this value is always used.

Inherited from: BaseSettingsLabelStyle
View section details

Text style including fill color and font.

useFacetName: boolean
Default value: true

Determines if the name property from the data overrides the text value in these settings.

X