public class DecimalAxisFormat extends Object implements AxisFormat
Constructor and Description |
---|
DecimalAxisFormat() |
Modifier and Type | Method and Description |
---|---|
NumberFormat |
getNumberFormatter()
Gets the formatter for given pattern.
|
void |
setPattern(String pattern)
Set the pattern used for formatting values.
|
public void setPattern(String pattern)
AxisFormat
setPattern
in interface AxisFormat
pattern
- string indicating how values should be formatted.public NumberFormat getNumberFormatter()
AxisFormat
Note that as time values are expressed as numbers, a number formatter is still suitable for dates.
getNumberFormatter
in interface AxisFormat