copy
fun copy(vararg layers: CartesianLayer<*> = this.layers.toTypedArray(), startAxis: Axis<Axis.Position.Vertical.Start>? = this.startAxis, topAxis: Axis<Axis.Position.Horizontal.Top>? = this.topAxis, endAxis: Axis<Axis.Position.Vertical.End>? = this.endAxis, bottomAxis: Axis<Axis.Position.Horizontal.Bottom>? = this.bottomAxis, marker: CartesianMarker? = this.marker, markerVisibilityListener: CartesianMarkerVisibilityListener? = this.markerVisibilityListener, layerPadding: CartesianLayerPadding = this.layerPadding, legend: Legend<CartesianMeasuringContext, CartesianDrawingContext>? = this.legend, fadingEdges: FadingEdges? = this.fadingEdges, decorations: List<Decoration> = this.decorations, persistentMarkers: CartesianChart.PersistentMarkerScope.(ExtraStore) -> Unit? = this.persistentMarkers, getXStep: (CartesianChartModel) -> Double = this.getXStep): CartesianChart
Creates a new CartesianChart based on this one.