ValueLabel

constructor(formatValue: (Float) -> String = { it.toInt().toString() + "%" }, label: String)(source)

Parameters

formatValue

Converts the raw value to the display string (e.g. { "${it.toInt()}%" }).

label

Secondary label displayed below the value.