T
- The type of axispublic class ScientificNumericLabelFormatter<T extends IAxisCore> extends SimpleNumericLabelFormatter<T>
ILabelFormatter
implementation which formats label with normalized (scientific) or engineering notationConstructor and Description |
---|
ScientificNumericLabelFormatter(boolean normalized)
Creates a new instance of
ScientificNumericLabelFormatter class |
Modifier and Type | Method and Description |
---|---|
java.lang.CharSequence |
formatCursorLabel(double dataValue)
Formats a label for the cursor, from the specified data-value passed in
|
java.lang.CharSequence |
formatLabel(double dataValue)
Formats a label for the axis from the specified data-value passed in
|
update
public ScientificNumericLabelFormatter(boolean normalized)
ScientificNumericLabelFormatter
classnormalized
- The value which specifies which notation to use: normalized (scientific) or engineering notationpublic java.lang.CharSequence formatLabel(double dataValue)
formatLabel
in interface ILabelFormatter<T extends IAxisCore>
formatLabel
in class SimpleNumericLabelFormatter<T extends IAxisCore>
dataValue
- The data value to formatpublic java.lang.CharSequence formatCursorLabel(double dataValue)
formatCursorLabel
in interface ILabelFormatter<T extends IAxisCore>
formatCursorLabel
in class SimpleNumericLabelFormatter<T extends IAxisCore>
dataValue
- The data value to format