For the complete documentation index, see llms.txt. This page is also available as Markdown.

PieChartHost

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