Slice

constructor(label: String, value: Float, color: Color, sliceDescription: (Int) -> String = { slicePercentage -> "Slice name : $label \nPercentage : $slicePercentage %" })

Parameters

label

: Name of the arc.

value

: Value of the arc.

color

: Color of the arc.

sliceDescription

: Description of the arc for accessibility service.