Class ChartExample4

All Implemented Interfaces:
IJLChartListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class ChartExample4 extends JFrame implements IJLChartListener
See Also:
  • Constructor Details

    • ChartExample4

      public ChartExample4()
  • Method Details

    • clickOnChart

      public String[] clickOnChart(JLChartEvent e)
      Description copied from interface: IJLChartListener
      Called when the user click on the chart
      Specified by:
      clickOnChart in interface IJLChartListener
      Parameters:
      e - Event object (containing click inforamtion)
      Returns:
      A set of string to display in the value tooltip. Does not display the tooltip if an empty array is returned. Keep default behavior when null is returned
    • main

      public static void main(String[] args)