Class StandardXYItemLabelGenerator

java.lang.Object
org.jfree.chart.labels.AbstractXYItemLabelGenerator
org.jfree.chart.labels.StandardXYItemLabelGenerator
All Implemented Interfaces:
Serializable, Cloneable, XYItemLabelGenerator, PublicCloneable

A standard item label generator for plots that use data from an XYDataset.
See Also:
  • Field Details

  • Constructor Details

    • StandardXYItemLabelGenerator

      Creates an item label generator using default number formatters.
    • StandardXYItemLabelGenerator

      public StandardXYItemLabelGenerator(String formatString)
      Creates an item label generator using the specified number formatters.
      Parameters:
      formatString - the item label format string (null not permitted).
    • StandardXYItemLabelGenerator

      public StandardXYItemLabelGenerator(String formatString, NumberFormat xFormat, NumberFormat yFormat)
      Creates an item label generator using the specified number formatters.
      Parameters:
      formatString - the item label format string (null not permitted).
      xFormat - the format object for the x values (null not permitted).
      yFormat - the format object for the y values (null not permitted).
    • StandardXYItemLabelGenerator

      public StandardXYItemLabelGenerator(String formatString, DateFormat xFormat, NumberFormat yFormat)
      Creates an item label generator using the specified formatters.
      Parameters:
      formatString - the item label format string (null not permitted).
      xFormat - the format object for the x values (null not permitted).
      yFormat - the format object for the y values (null not permitted).
    • StandardXYItemLabelGenerator

      public StandardXYItemLabelGenerator(String formatString, NumberFormat xFormat, DateFormat yFormat)
      Creates an item label generator using the specified formatters (a number formatter for the x-values and a date formatter for the y-values).
      Parameters:
      formatString - the item label format string (null not permitted).
      xFormat - the format object for the x values (null permitted).
      yFormat - the format object for the y values (null not permitted).
    • StandardXYItemLabelGenerator

      public StandardXYItemLabelGenerator(String formatString, DateFormat xFormat, DateFormat yFormat)
      Creates a label generator using the specified date formatters.
      Parameters:
      formatString - the label format string (null not permitted).
      xFormat - the format object for the x values (null not permitted).
      yFormat - the format object for the y values (null not permitted).
  • Method Details