CircleChart

fun CircleChart(data: () -> List<CircleData>, modifier: Modifier = Modifier, showEndIndicator: Boolean = true, 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.

onCircleClick

A lambda function to handle click events on the circle. It receives the corresponding CircleData as parameters.