Pie Slice Scope
Scope for Pie slices.
Properties
Link copied to clipboard
The inside radius of the slice, as a fraction of its constraint's width, must be between 0 and 1 inclusive
Link copied to clipboard
The outside radius of the slice, as a fraction of its constraint's width, must be between 0 and 1 inclusive
Link copied to clipboard
PieSliceData describing the slice
Functions
Link copied to clipboard
fun PieSliceScope.DefaultSlice(color: Color, modifier: Modifier = Modifier, border: BorderStroke? = null, hoverExpandFactor: Float = 1.0f, hoverElement: @Composable () -> Unit = {}, clickable: Boolean = false, antiAlias: Boolean = false, gap: Float = 0.0f, onClick: () -> Unit = {})
A default pie chart slice implementation that can form full slices as well as slices with a "hole" for donut charts.
Link copied to clipboard