public class LogBaseNumericLabelFormatter extends java.lang.Object implements ILabelFormatter<LogarithmicNumericAxis>
ILabelFormatter
implementation which formats label with power of LogarithmicNumericAxis.getLogarithmicBase()
Constructor and Description |
---|
LogBaseNumericLabelFormatter() |
Modifier and Type | Method and Description |
---|---|
java.lang.CharSequence |
formatCursorLabel(java.lang.Comparable dataValue)
Formats a label for the cursor, from the specified data-value passed in
|
java.lang.CharSequence |
formatLabel(java.lang.Comparable dataValue)
Formats a label for the axis from the specified data-value passed in
|
void |
update(LogarithmicNumericAxis axis)
Updates this label formatter with values provided by axis
|
public void update(LogarithmicNumericAxis axis)
update
in interface ILabelFormatter<LogarithmicNumericAxis>
axis
- The current axispublic java.lang.CharSequence formatLabel(java.lang.Comparable dataValue)
formatLabel
in interface ILabelFormatter<LogarithmicNumericAxis>
dataValue
- The data value to formatpublic java.lang.CharSequence formatCursorLabel(java.lang.Comparable dataValue)
formatCursorLabel
in interface ILabelFormatter<LogarithmicNumericAxis>
dataValue
- The data value to format