Vico

2.7. Axis

2.7.1. Overview

Axis draws an axis along one of a CartesianChart’s edges. There are two built-in implementations: HorizontalAxis and VerticalAxis. Numerous customization options are available—you can change the appearance of the labels, modify the axis lines, add titles, and more.

Learn more in 5.4 (Compose) and 8.4 (views).

2.7.2. ItemPlacer

HorizontalAxis.ItemPlacer and VerticalAxis.ItemPlacer let you customize for what x and y values labels and lines are displayed. Four factory functions are available:

Custom implementations can be created.