copy

fun copy(sliceProvider: PieChart.SliceProvider = this.sliceProvider, spacingDp: Float = this.spacingDp, outerSize: PieSize.Outer = this.outerSize, innerSize: PieSize.Inner = this.innerSize, startAngle: Float = this.startAngle, valueFormatter: PieValueFormatter = this.valueFormatter, legend: Legend<PieChartMeasuringContext, PieChartDrawingContext>? = this.legend): PieChart

Creates a new PieChart based on this one.