com.ijchart.xychart.label
Interface ILabelGenerator

All Known Implementing Classes:
DefaultLabelGenerator, DefaultPieChartLabelGenerator, LabelGeneratorAdaptor

public interface ILabelGenerator

Title: IJChart

Description: a chart library for the Java(tm) platform.

Interface for generator the label for the items in render area.

Copyright: Copyright (c) 2013

Company:

Version:
1.0
Author:
zhang feng min,shanghai china. Contract me by email.

Method Summary
 java.lang.String generateGroupLabel(IMatrixDataset dataset, int row, int column, int index)
           The flag controls whether or not the data type is group.
 

Method Detail

isGroup

boolean isGroup()
The flag controls whether or not the data type is group.

Returns:
boolean A boolean.

generateLabel

java.lang.String generateLabel(IMatrixDataset dataset,
                               int row,
                               int column)
Generates a label for the specified item. The label is typically a formatted version of the data value, but any text can be used.

Parameters:
dataset - IMatrixDataset The dataset (null not permitted).
row - int The dataset row number,must be greater than or equal to 0.
column - int The dataset column number,must be greater than or equal to 0.
Returns:
String The label (possibly null).

generateGroupLabel

java.lang.String generateGroupLabel(IMatrixDataset dataset,
                                    int row,
                                    int column,
                                    int index)
Generates a label for the specified item. The label is typically a formatted version of the data value, but any text can be used.

Parameters:
dataset - IMatrixDataset The dataset (null not permitted).
row - int The dataset row number,must be greater than or equal to 0.
column - int The dataset column number,must be greater than or equal to 0.
index - int The index of a dataset data.
Returns:
String The label (possibly null).