Slice
data class Slice(val label: String, val value: Float, val color: Color, val sliceDescription: (Int) -> String = { slicePercentage ->
"Slice name : $label \nPercentage : $slicePercentage %"
})
Slice is data class to mention data of each arc in a 360 degree chart.
Parameters
label
: Name of the arc.
value
: Value of the arc.
color
: Color of the arc.
slice Description
: Description of the arc for accessibility service.