public interface LabelFormatter
DefaultLabelFormatter.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
formatLabel(double value,
boolean isValueX)
converts a raw number as input to
a formatted string for the label.
|
void |
setViewport(Viewport viewport)
will be called in order to have a
reference to the current viewport.
|
java.lang.String formatLabel(double value,
boolean isValueX)
value - raw input numberisValueX - true if it is a value for the x axis
false if it is a value for the y axisvoid setViewport(Viewport viewport)
formatLabel(double, boolean)
method.viewport - the used viewport