Companion

object Companion

Houses CartesianValueFormatter factory functions.

Functions

Link copied to clipboard
fun decimal(decimalFormat: DecimalFormat = DecimalFormat("#.##;−#.##")): CartesianValueFormatter

Formats values via decimalFormat.

Link copied to clipboard
fun yPercent(decimalFormat: DecimalFormat = DecimalFormat("#.##%;−#.##%")): CartesianValueFormatter

Divides values by CartesianChartRanges.YRange.maxY and formats the resulting quotients via decimalFormat.