Class TimeSeriesDemo9

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

public class TimeSeriesDemo9
extends org.jfree.ui.ApplicationFrame
An example of a time series chart.
See Also:
Serialized Form
  • Constructor Details

    • TimeSeriesDemo9

      public TimeSeriesDemo9​(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

    • createDataset

      public XYDataset createDataset()
      Creates a sample dataset.
      Returns:
      The dataset.
    • createTimeSeries

      public TimeSeries createTimeSeries​(int series, int count)
      Creates a time series containing random daily data.
      Parameters:
      series - the series index.
      count - the number of items for the series.
      Returns:
      the dataset.
    • main

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