Class LabelFormatterNumber

java.lang.Object
info.monitorenter.gui.chart.labelformatters.ALabelFormatter
info.monitorenter.gui.chart.labelformatters.LabelFormatterNumber
All Implemented Interfaces:
IAxisLabelFormatter, Serializable
Direct Known Subclasses:
LabelFormatterSimple

public class LabelFormatterNumber extends ALabelFormatter implements IAxisLabelFormatter
An ILabelFormatter that is based on a NumberFormat

To avoid loss of precision please choose a sufficient resolution for your constructor given NumberFormat. Example: If you add new TracePoint2D instances to the Chart2D every second, prefer using a NumberFormat that at least formats the seconds like (e.g.):

 NumberFormat format = new java.text.SimpleDateFormat("HH:mm:ss");
 

Version:
$Revision: 1.18 $
Author:
Achim Westermann
See Also: