Interface XYLabelGenerator

All Known Implementing Classes:
HighLowItemLabelGenerator, StandardXYLabelGenerator, SymbolicXYItemLabelGenerator

public interface XYLabelGenerator
Interface for a label generator for plots that use data from an XYDataset.
  • Method Summary

    Modifier and Type Method Description
    String generateLabel​(XYDataset dataset, int series, int item)
    Generates a label for the specified item.
  • Method Details

    • generateLabel

      String generateLabel​(XYDataset dataset, int series, int item)
      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 - the dataset (null not permitted).
      series - the series index (zero-based).
      item - the item index (zero-based).
      Returns:
      The label (possibly null).