Class StandardXYToolTipGenerator

java.lang.Object
org.jfree.chart.labels.AbstractXYItemLabelGenerator
org.jfree.chart.labels.StandardXYToolTipGenerator
All Implemented Interfaces:
Serializable, Cloneable, XYToolTipGenerator, PublicCloneable
Direct Known Subclasses:
BoxAndWhiskerXYToolTipGenerator, StandardXYZToolTipGenerator

A standard tool tip generator for use with an XYItemRenderer.
See Also:
  • Field Details

  • Constructor Details

    • StandardXYToolTipGenerator

      Creates a tool tip generator using default number formatters.
    • StandardXYToolTipGenerator

      public StandardXYToolTipGenerator(String formatString, NumberFormat xFormat, NumberFormat yFormat)
      Creates a tool tip 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).
    • StandardXYToolTipGenerator

      public StandardXYToolTipGenerator(String formatString, DateFormat xFormat, NumberFormat yFormat)
      Creates a tool tip generator using the specified number 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).
    • StandardXYToolTipGenerator

      public StandardXYToolTipGenerator(String formatString, NumberFormat xFormat, DateFormat yFormat)
      Creates a tool tip 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).
    • StandardXYToolTipGenerator

      public StandardXYToolTipGenerator(String formatString, DateFormat xFormat, DateFormat yFormat)
      Creates a tool tip 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