Interface CategoryItemLabelGenerator

    • Method Detail

      • generateRowLabel

        String generateRowLabel​(CategoryDataset dataset,
                                int row)
        Generates a label for the specified row.
        Parameters:
        dataset - the dataset (null not permitted).
        row - the row index (zero-based).
        Returns:
        The label.
      • generateColumnLabel

        String generateColumnLabel​(CategoryDataset dataset,
                                   int column)
        Generates a label for the specified row.
        Parameters:
        dataset - the dataset (null not permitted).
        column - the column index (zero-based).
        Returns:
        The label.
      • generateLabel

        String generateLabel​(CategoryDataset 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 - the dataset (null not permitted).
        row - the row index (zero-based).
        column - the column index (zero-based).
        Returns:
        The label (possibly null).