candlestickModel
fun CartesianChartModelProducer.Transaction.candlestickModel(x: Collection<Number>, opening: Collection<Number>, closing: Collection<Number>, low: Collection<Number>, high: Collection<Number>, key: Any = 0)
Creates a CandlestickCartesianLayerModel.Partial with the provided x values (x), prices, and key and adds it to the CartesianChartModelProducer.Transaction’s CartesianLayerModel.Partial list. opening, closing, low, and high should have the same sizes.
fun CartesianChartModelProducer.Transaction.candlestickModel(opening: Collection<Number>, closing: Collection<Number>, low: Collection<Number>, high: Collection<Number>, key: Any = 0)
Creates a CandlestickCartesianLayerModel.Partial with the provided prices and key, using their indices as the x values, and adds it to the CartesianChartModelProducer.Transaction’s CartesianLayerModel.Partial list. opening, closing, low, and high should have the same sizes.