Companion

object Companion

Houses a ValueFormatter factory function.

Functions

Link copied to clipboard
fun default(decimalFormat: DecimalFormat = DecimalFormat("#.##;−#.##"), colorCode: Boolean = true): DefaultCartesianMarker.ValueFormatter

Creates an instance of the default ValueFormatter implementation. The labels produced include the CartesianLayerModel.Entry y values, which are formatted via decimalFormat and, if colorCode is true, color-coded.