ZoomCharts Documentation


This section is defined by the type FacetChartSettingsFacetAxis.

Chart x-axis line rendered at the bottom horizontally to display group names under each bar.


defaultUnitWidth: number
Default value: 50

Default width of one item. Used to calculate initial view.

enabled: boolean
Default value: true

Show/hide facet axis.

View section details

Facet axis name settings.

maxUnitWidth: number
Default value: 400
Introduced in version 1.10.0.

Maximum width of one item.

minUnitWidth: number
Default value: 0
Introduced in version 1.10.0.

Minimum width of one item.

size: number
Default value: 40

Height of the x axis.

Introduced in version 1.12.2.
View section details

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.

zoomOutUnitWidth: number
Default value: 20
Introduced in version 1.13.0.

The width of a single unit that will trigger a zoom-out action when the user swipes up.

Note that the other trigger for zoomout is to swipe up until all the bars fit in half the width of the chart. In this case this unit width might not have been reached.