Class LogXYItemLabelGenerator

java.lang.Object
org.jfree.chart.labels.AbstractXYItemLabelGenerator
org.jfree.chart.labels.StandardXYItemLabelGenerator
org.pentaho.plugin.jfreereport.reportcharts.LogXYItemLabelGenerator
All Implemented Interfaces:
Serializable, Cloneable, org.jfree.chart.labels.XYItemLabelGenerator, org.jfree.util.PublicCloneable

public class LogXYItemLabelGenerator extends org.jfree.chart.labels.StandardXYItemLabelGenerator
A standard label generator that can be used with a CategoryItemRenderer.
See Also:
  • Field Summary

    Fields inherited from class org.jfree.chart.labels.StandardXYItemLabelGenerator

    DEFAULT_ITEM_LABEL_FORMAT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    Creates a new generator with the specified number formatter.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Object[]
    createItemArray(org.jfree.data.xy.XYDataset dataset, int series, int item)
    Creates the array of items that can be passed to the MessageFormat class for creating labels.

    Methods inherited from class org.jfree.chart.labels.StandardXYItemLabelGenerator

    clone, equals, generateLabel

    Methods inherited from class org.jfree.chart.labels.AbstractXYItemLabelGenerator

    generateLabelString, getFormatString, getNullYString, getXDateFormat, getXFormat, getYDateFormat, getYFormat, hashCode

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LogXYItemLabelGenerator

      public LogXYItemLabelGenerator()
    • LogXYItemLabelGenerator

      public LogXYItemLabelGenerator(String labelFormat)
      Creates a new generator with the specified number formatter.
      Parameters:
      labelFormat - the label format string (null not permitted).
  • Method Details

    • createItemArray

      protected Object[] createItemArray(org.jfree.data.xy.XYDataset dataset, int series, int item)
      Creates the array of items that can be passed to the MessageFormat class for creating labels.
      Overrides:
      createItemArray in class org.jfree.chart.labels.AbstractXYItemLabelGenerator
      Parameters:
      dataset - the dataset (null not permitted).
      series - the series (zero-based index).
      item - the item (zero-based index).
      Returns:
      An array of three items from the dataset formatted as String objects (never null).