org.jfree.chart
public class ChartFrame extends JFrame
| Constructor Summary | |
|---|---|
| ChartFrame(String title, JFreeChart chart)
Constructs a frame for a chart.
| |
| ChartFrame(String title, JFreeChart chart, boolean scrollPane)
Constructs a frame for a chart.
| |
| Method Summary | |
|---|---|
| ChartPanel | getChartPanel()
Returns the chart panel for the frame.
|
Parameters: title the frame title. chart the chart.
Parameters: title the frame title. chart the chart. scrollPane if true, put the Chart(Panel) into a
JScrollPane.
Returns: The chart panel.