DecimalFormatAxisValueFormatter

An AxisValueFormatter implementation that formats values using a DecimalFormat with a given pattern.

Constructors

Link copied to clipboard
constructor()

Creates a DecimalFormatAxisValueFormatter using the default pattern.

constructor(pattern: String, roundingMode: RoundingMode = RoundingMode.HALF_UP)

Creates a DecimalFormatAxisValueFormatter that will format values based on the given pattern and roundingMode.

constructor(decimalFormat: DecimalFormat)