public class

PieChartDemo1

extends ApplicationFrame
java.lang.Object
   ↳ ApplicationFrame
     ↳ org.jfree.chart.demo.PieChartDemo1

Class Overview

A simple demonstration application showing how to create a pie chart using data from a DefaultPieDataset.

Summary

Public Constructors
PieChartDemo1(String title)
Default constructor.
Public Methods
static JPanel createDemoPanel()
Creates a panel for the demo (used by SuperDemo.java).
static void main(String[] args)
Starting point for the demonstration application.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PieChartDemo1 (String title)

Default constructor.

Parameters
title the frame title.

Public Methods

public static JPanel createDemoPanel ()

Creates a panel for the demo (used by SuperDemo.java).

Returns
  • A panel.

public static void main (String[] args)

Starting point for the demonstration application.

Parameters
args ignored.