public class LargeValueFormatter extends ValueFormatter
| Constructor and Description |
|---|
LargeValueFormatter() |
LargeValueFormatter(java.lang.String appendix)
Creates a formatter that appends a specified text to the result string
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDecimalDigits() |
java.lang.String |
getFormattedValue(float value)
Called when drawing any label, used to change numbers into formatted strings.
|
void |
setAppendix(java.lang.String appendix)
Set an appendix text to be added at the end of the formatted value.
|
void |
setMaxLength(int maxLength) |
void |
setSuffix(java.lang.String[] suffix)
Set custom suffix to be appended after the values.
|
getAxisLabel, getBarLabel, getBarStackedLabel, getBubbleLabel, getCandleLabel, getFormattedValue, getFormattedValue, getPieLabel, getPointLabel, getRadarLabelpublic LargeValueFormatter()
public LargeValueFormatter(java.lang.String appendix)
appendix - a text that will be appendedpublic java.lang.String getFormattedValue(float value)
ValueFormattergetFormattedValue in class ValueFormattervalue - float to be formattedpublic void setAppendix(java.lang.String appendix)
appendix - public void setSuffix(java.lang.String[] suffix)
suffix - new suffixpublic void setMaxLength(int maxLength)
public int getDecimalDigits()