JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart
Interface JCLabelGenerator


public interface JCLabelGenerator

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


Method Summary
 Object makeLabel(double value, int precision)
          Callback called by a chart whenever a label is required.
 

Method Detail

makeLabel

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

Parameters:
value - axis value that is to be labelled
precision - numeric precision to be used
Returns:
The new label object

Copyright © 2004 Quest Software Inc..
All rights reserved.