Skip to main content
Version: 2.0.0-beta.1

Decorations

A Decoration adds an additional layer of data to a CartesianChart. There are two built-in implementations—HorizontalLine and HorizontalBox—described below, and you can add your own. Add a Decoration to a CartesianChart as follows:

CartesianChartHost(chart = rememberCartesianChart(decorations = listOf(...), ...), ...)