Class TimeSeriesChartDemo1

java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
org.jfree.chart.ui.ApplicationFrame
org.jfree.chart.demo2.TimeSeriesChartDemo1
All Implemented Interfaces:
WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class TimeSeriesChartDemo1 extends org.jfree.chart.ui.ApplicationFrame
An example of a time series chart create using JFreeChart. For the most part, default settings are used, except that the renderer is modified to show filled shapes (as well as lines) at each data point.
See Also:
  • Constructor Details

    • TimeSeriesChartDemo1

      public TimeSeriesChartDemo1(String title)
      A demonstration application showing how to create a simple time series chart. This example uses monthly data.
      Parameters:
      title - the frame title.
  • Method Details

    • createDemoPanel

      public static JPanel createDemoPanel()
      Creates a panel for the demo (used by SuperDemo.java).
      Returns:
      A panel.
    • main

      public static void main(String[] args)
      Starting point for the demonstration application.
      Parameters:
      args - ignored.