public class IndexAxisValueFormatter extends ValueFormatter
| Constructor and Description |
|---|
IndexAxisValueFormatter()
An empty constructor.
|
IndexAxisValueFormatter(java.util.Collection<java.lang.String> values)
Constructor that specifies axis labels.
|
IndexAxisValueFormatter(java.lang.String[] values)
Constructor that specifies axis labels.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFormattedValue(float value)
Called when drawing any label, used to change numbers into formatted strings.
|
java.lang.String[] |
getValues() |
void |
setValues(java.lang.String[] values) |
getAxisLabel, getBarLabel, getBarStackedLabel, getBubbleLabel, getCandleLabel, getFormattedValue, getFormattedValue, getPieLabel, getPointLabel, getRadarLabelpublic IndexAxisValueFormatter()
public IndexAxisValueFormatter(java.lang.String[] values)
values - The values string arraypublic IndexAxisValueFormatter(java.util.Collection<java.lang.String> values)
values - The values string arraypublic java.lang.String getFormattedValue(float value)
ValueFormattergetFormattedValue in class ValueFormattervalue - float to be formattedpublic java.lang.String[] getValues()
public void setValues(java.lang.String[] values)