org.jfree.chart.demo

Class PieChartDemo1

public class PieChartDemo1 extends ApplicationFrame

A simple demonstration application showing how to create a pie chart using data from a DefaultPieDataset.
Constructor Summary
PieChartDemo1(String title)
Default constructor.
Method Summary
static JPanelcreateDemoPanel()
Creates a panel for the demo (used by SuperDemo.java).
static voidmain(String[] args)
Starting point for the demonstration application.

Constructor Detail

PieChartDemo1

public PieChartDemo1(String title)
Default constructor.

Parameters: title the frame title.

Method Detail

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.