Vico

5.3. CartesianLayer

5.3.1. CandlestickCartesianLayer

Create CandlestickCartesianLayers via rememberCandlestickCartesianLayer:

rememberCartesianChart(rememberCandlestickCartesianLayer(/* ... */), /* ... */)

The compose module includes composable equivalents of the CandlestickCartesianLayer.CandleProvider factory functions listed in 1.4.1. These have more suitable defaults for Compose. Their names are the same, so be careful to add the right imports:

5.3.2. ColumnCartesianLayer

Create ColumnCartesianLayers via rememberColumnCartesianLayer:

rememberCartesianChart(rememberColumnCartesianLayer(/* ... */), /* ... */)

5.3.3. LineCartesianLayer

Create LineCartesianLayers via rememberLineCartesianLayer:

rememberCartesianChart(rememberLineCartesianLayer(/* ... */), /* ... */)

Create LineCartesianLayer.Lines via LineCartesianLayer.rememberLine.