Class DifferenceChartDemo2

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.DifferenceChartDemo2
All Implemented Interfaces:
WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class DifferenceChartDemo2
extends org.jfree.ui.ApplicationFrame
A simple demonstration of the XYDifferenceRenderer. The sunrise and sunset times for this demo were obtained from: http://www.sunrisesunset.com/
See Also:
Serialized Form
  • Constructor Details

    • DifferenceChartDemo2

      public DifferenceChartDemo2​(String title)
      Creates a new demo.
      Parameters:
      title - the frame title.
  • Method Details

    • createSunriseSeries

      public TimeSeries createSunriseSeries()
      Creates a time series containing sunrise times for London in 2004.
      Returns:
      a time series containing sunrise times.
    • createSunsetSeries

      public TimeSeries createSunsetSeries()
      Creates a time series containing sunset times for London in 2004.
      Returns:
      a time series containing sunset times.
    • main

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