All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface jclass.chart.JCLabelGenerator

public interface JCLabelGenerator
JCLabelGenerator is an interface that can be used to generate labels for an axis. It has one method (makeLabel()) which is called by Chart when a label is required at a particular value.


Method Index

 o makeLabel(double, int)
Callback called by chart whenever a label is required.

Methods

 o makeLabel
  public abstract Object makeLabel(double value,
                                   int precision)
Callback called by chart whenever a label is required.

Parameters:
value - axis value that is to be labelled.
precision - numeric precision to be used.

All Packages  Class Hierarchy  This Package  Previous  Next  Index