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 JPanel
createDemoPanel()
Creates a panel for the demo (used by SuperDemo.java).
static void
main(String[] args)
Starting point for the demonstration application.

Constructor Details

PieChartDemo1

public PieChartDemo1(String title)
Default constructor.
Parameters:
title - the frame title.

Method Details

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.