Class CoordinateViewChart

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

public class CoordinateViewChart extends JFrame
A demo that uses a ChartCoordinateView to display the position of the mouse over the chart.

Version:
$Revision: 1.8 $
Author:
Achim Westermann
See Also:
  • Constructor Details

    • CoordinateViewChart

      public CoordinateViewChart(Chart2D chart)
      Creates an instance that displays the given chart and a ChartCoordinateView to show the coordinates of the mouse cursor over the chart.

      Parameters:
      chart - the chart to display and sshow the coordinates of the mouse cursor over it.
  • Method Details

    • main

      public static void main(String[] args) throws IOException
      Demo application startup method.

      Parameters:
      args - ignored.
      Throws:
      IOException - if loading data for the demo chart fails.