Pie Chart
fun PieChart(modifier: Modifier, pieChartData: PieChartData, pieChartConfig: PieChartConfig, onSliceClick: (PieChartData.Slice) -> Unit = {})
Compose function used to Draw the Pie Chart.
Parameters
modifier
: All modifier related property
pie Chart Data
: data list for the pie chart
pie Chart Config
: configuration for the pie chart
on Slice Click
(pieChartData.Slice)->Unit: The event that captures the click