Axis

Overview

Axisarrow-up-right draws an axis along one of a CartesianChartarrow-up-right’s edges. There are two built-in implementations: HorizontalAxisarrow-up-right and VerticalAxisarrow-up-right. Numerous customization options are available—you can change the appearance of the labels, modify the axis lines, add titles, and more.

Learn about axes in Compose and in views.

ItemPlacer

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

Custom implementations can be created.

Sample charts

Last updated