-
- All Implemented Interfaces:
-
com.patrykandpatrick.vico.core.formatter.ValueFormatter
public class DefaultValueFormatter implements ValueFormatter
The default implementation of ValueFormatter. This converts Floats to Strings.
-
-
Constructor Summary
Constructors Constructor Description DefaultValueFormatter()
-
Method Summary
Modifier and Type Method Description StringformatValue(Float value, ChartValues chartValues)Called to format axis labels and data labels. -
-
Method Detail
-
formatValue
String formatValue(Float value, ChartValues chartValues)
Called to format axis labels and data labels.
- Parameters:
value- the value to be formatted.chartValues- the ChartValues used by the chart.
-
-
-
-