Last updated
cartesianChartModelProducer.runTransaction {
candlestickModel(
x = listOf(1, 2, 3, 4),
opening = listOf(2, 4, 6, 3),
closing = listOf(4, 5, 3, 3),
low = listOf(1, 4, 2, 2),
high = listOf(5, 6, 7, 4),
)
// ...
}candlestickModel(
opening = listOf(2, 4, 6, 3),
closing = listOf(4, 5, 3, 3),
low = listOf(1, 4, 2, 2),
high = listOf(5, 6, 7, 4),
)CartesianChartModel(
CandlestickCartesianLayerModel.build(
x = listOf(1, 2, 3, 4),
opening = listOf(2, 4, 6, 3),
closing = listOf(4, 5, 3, 3),
low = listOf(1, 4, 2, 2),
high = listOf(5, 6, 7, 4),
),
// ...
)CandlestickCartesianLayerModel.build(
opening = listOf(2, 4, 6, 3),
closing = listOf(4, 5, 3, 3),
low = listOf(1, 4, 2, 2),
high = listOf(5, 6, 7, 4),
)