yPercent

fun yPercent(decimalCount: Int = 2): CartesianValueFormatter

Divides values by CartesianChartRanges.YRange.maxY and formats the resulting quotients to include up to decimalCount decimal digits. Trailing zeros are skipped.