PieChartDefaults

An object that provides default styles for a Pie Chart.

Functions

Link copied to clipboard
fun style(pieColor: Color = MaterialTheme.colorScheme.primary, pieColors: List<Color> = emptyList(), borderColor: Color = MaterialTheme.colorScheme.surface, innerPadding: Dp = 15.dp, donutPercentage: Float = 0.0f, borderWidth: Float = 3.0f, chartViewStyle: ChartViewStyle = ChartViewDefaults.style()): PieChartStyle

Returns a PieChartStyle with the provided parameters or their default values.