ZoomCharts Documentation

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

ZoomCharts.Configuration.FacetChartSettingsFacetAxis

Methods

This type does not define any methods.

Properties

columnStripAlign: "center" | "right" | "left"

When columns cannot occupy the full plot width (after the usual scroll/unit-width rules), controls where the leftover horizontal space goes.

Whenever the visible columns can span the full width, they always do. This setting applies only when there would otherwise be empty space next to the column block.

  • left - The visible chart is on the left and unused space remains on the right.
  • right - unused space on the left; last column touches the right edge of the plot (root facet only).
  • center - unused space split evenly on left and right (root facet only).
defaultAvailableWidthScale: number

How much of the available width the default view attempts to fill. 1.0 tries to fit in as many facets as possible, while smaller fractions use fewer facets but leave more room to zoom out.

defaultUnitWidth: number

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

enabled: boolean

Show/hide facet axis.

Facet axis name settings.

maxSize: number

Maximum size x axis will grow to while fitting labels

maxUnitWidth: number
Introduced in version 1.10.0.

Maximum width of one item.

minUnitWidth: number
Introduced in version 1.10.0.

Minimum width of one item.

size: number

Height of the x axis.

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.

zoomOutUnitWidth: number
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.

X