Axes in a Cartesian chart play a vital role in identifying the value of the visualized data. Charts typically have two axes that are used to measure and categorize data: a vertical axis (y-axis) and a horizontal axis (x-axis).
The vertical axis always uses a numerical scale. The horizontal axis supports the following scale types:
The categorical axis is a nonlinear axis that displays text in axis labels.
The numerical axis is a linear axis that displays numbers with an equal interval in axis labels.
The date-time axis displays date-time values with an equal interval in axis labels. It is typically used as an x-axis.
Uses a logarithmic scale and displays numbers in labels.
Nonlinear date-time axis that accepts date-time values and renders data based on its index.
Charts supports opposed axis being rendered in a side opposite to the default position.
The best possible axis ranges and intervals are calculated automatically based on the given values. The ranges can also be further customized using range padding.
The position of the axis can be moved anywhere in the chart relative to its associated axis.
Charts has support for adding multiple panes to a chart.
Charts provides many customization options for axis labels, including positioning, placement, label format, and rotation. It also has options for avoiding labels overlapping.
An axis scale break allows users to view different ranges in the same chart area without having a huge space in the plot area.
Visualize different units of data with multiple axes, which can be placed at either side of the chart.
There is support for inverting values in an axis.