PieChartHost
PieChartHost(rememberPieChart(/* ... */), modelProducer, /* ... */)PieChartHost(rememberPieChart(/* ... */), model, /* ... */)Last updated
PieChartHost is the entry point for pie charts. It accepts PieChart and PieChartModelProducer instances, facilitates communication between them, and displays the chart. It also shows a placeholder when no data is available.
PieChartHost(rememberPieChart(/* ... */), modelProducer, /* ... */)You can also use a manually created PieChartModel instance instead of a model producer:
PieChartHost(rememberPieChart(/* ... */), model, /* ... */)Last updated