copy

fun copy(candles: CandlestickCartesianLayer.CandleProvider = this.candles, minCandleBodyHeightDp: Float = this.minCandleBodyHeightDp, candleSpacingDp: Float = this.candleSpacingDp, scaleCandleWicks: Boolean = this.scaleCandleWicks, rangeProvider: CartesianLayerRangeProvider = this.rangeProvider, verticalAxisPosition: Axis.Position.Vertical? = this.verticalAxisPosition, drawingModelInterpolator: CartesianLayerDrawingModelInterpolator<CandlestickCartesianLayerDrawingModel.CandleInfo, CandlestickCartesianLayerDrawingModel> = this.drawingModelInterpolator): CandlestickCartesianLayer

Creates a new CandlestickCartesianLayer based on this one.