public class DefaultYAxisValueFormatter extends java.lang.Object implements YAxisValueFormatter
| Constructor and Description |
|---|
DefaultYAxisValueFormatter(int digits)
Constructor that specifies to how many digits the value should be
formatted.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFormattedValue(float value,
YAxis yAxis)
Called when a value from the YAxis is formatted
before being drawn.
|
public DefaultYAxisValueFormatter(int digits)
digits - public java.lang.String getFormattedValue(float value,
YAxis yAxis)
YAxisValueFormattergetFormattedValue in interface YAxisValueFormattervalue - the YAxis value to be formattedyAxis - the YAxis object the value belongs to