PieChart

fun PieChart(dataCollection: ChartDataCollection, modifier: Modifier = Modifier, textLabelTextConfig: ChartyLabelTextConfig = ChartDefaults.defaultTextLabelConfig(), pieChartConfig: PieChartConfig = PieChartDefaults.defaultConfig())

Displays a pie chart based on the provided data collection.

Parameters

dataCollection

The collection of data points for the pie chart.

modifier

The modifier for styling the pie chart.

textLabelTextConfig

The configuration for the text labels in the pie chart.

pieChartConfig

The configuration for the pie chart.