|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AxisUnitConverter
All linked AxisHandlers must use common units for linking to work correctly. However, by setting an AxisUnitConverter on an AxisPainter, the AxisPainter can display tick marks and labels in different units than the AxisHandler.
By default, AxisPainters have an identity AxisUnitConverter.
Method Summary | |
---|---|
double |
fromAxisUnits(double value)
Converts from AxisPainter display units to AxisHandler units. |
double |
toAxisUnits(double value)
Converts from AxisHandler units to AxisPainter display units. |
Method Detail |
---|
double fromAxisUnits(double value)
value
- a value in system units.
double toAxisUnits(double value)
value
- a value in system units.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |