Class BarChartDemo4

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

public class BarChartDemo4
extends org.jfree.ui.ApplicationFrame
A bar chart with only two bars - here the 'maxBarWidth' attribute in the renderer prevents the bars from getting too wide.
See Also:
Serialized Form
  • Constructor Details

    • BarChartDemo4

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

    • main

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