org.jfree.chart.labels

Interface CategorySeriesLabelGenerator

public interface CategorySeriesLabelGenerator

A generator that creates labels for the series in a CategoryDataset.

Classes that implement this interface should be either (a) immutable, or (b) cloneable via the PublicCloneable interface (defined in the JCommon class library). This provides a mechanism for the referring renderer to clone the generator if necessary.

Method Summary
StringgenerateLabel(CategoryDataset dataset, int series)
Generates a label for the specified series.

Method Detail

generateLabel

public String generateLabel(CategoryDataset dataset, int series)
Generates a label for the specified series.

Parameters: dataset the dataset (null not permitted). series the series index.

Returns: A series label.

Copyright © 2000-2009 by Object Refinery Limited. All Rights Reserved.