Circle Chart
fun CircleChart(data: () -> List<CircleData>, modifier: Modifier = Modifier, circleChartConfig: CircleChartConfig = CircleChartConfig.default(), onCircleClick: (CircleData) -> Unit = {})
A composable function that displays a circle chart based on the provided data.
Parameters
data
A lambda function that returns a list of CircleData objects representing the data to be displayed.
modifier
A Modifier to be applied to the Canvas.
circle Chart Config
Configuration for the circle chart, including whether to show the end indicator and the starting position.
on Circle Click
A lambda function to handle click events on the circle. It receives the corresponding CircleData as parameters.