The guide is being migrated; some links to the API reference may be missing. Use the search bar in the API reference.

Miscellaneous

Component

The Component factory functions for Compose are found in compose.common.component.

Fill

Create Fills via fill. The ShaderProvider factory functions for Compose are found in compose.common.shader.

Shape

The Shape factory functions for Compose are found in compose.common.shape.

Legend

Create HorizontalLegends and VerticalLegends via rememberHorizontalLegend and rememberVerticalLegend:

rememberCartesianChart(legend = rememberHorizontalLegend(/* ... */), /* ... */)
rememberCartesianChart(legend = rememberVerticalLegend(/* ... */), /* ... */)