Class BarChart3DDemo1

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

public class BarChart3DDemo1 extends JFrame
A demo of a 3D bar chart. http://www.theverge.com/2013/7/23/4549094/apple-microsoft-google-profit-revenue-margins-q2-2013-chart
See Also:
  • Constructor Details

    • BarChart3DDemo1

      public BarChart3DDemo1(String title)
      Creates a new test app.
      Parameters:
      title - the frame title.
  • Method Details

    • createDemoPanel

      public static JPanel createDemoPanel()
      Returns a panel containing the content for the demo. This method is used across all the individual demo applications to allow aggregation into a single "umbrella" demo (OrsonChartsDemo).
      Returns:
      A panel containing the content for the demo.
    • createChart

      public static org.jfree.chart3d.Chart3D createChart(org.jfree.chart3d.data.category.CategoryDataset3D dataset)
      Creates a bar chart with the supplied dataset.
      Parameters:
      dataset - the dataset.
      Returns:
      A bar chart.
    • main

      public static void main(String[] args)
      Starting point for the app.
      Parameters:
      args - command line arguments (ignored).