org.jfree.chart
public class PolarChartPanel extends ChartPanel
PolarChartPanel
is the top level object for using the
PolarPlot. Since this class has a JPanel
in the
inheritance hierarchy, one uses this class to integrate the Polar plot into
their application.
The main modification to ChartPanel
is the popup menu. It
removes ChartPanel
's versions of:
Zoom In
Zoom Out
Auto Range
Constructor Summary | |
---|---|
PolarChartPanel(JFreeChart chart)
Constructs a JFreeChart panel.
| |
PolarChartPanel(JFreeChart chart, boolean useBuffer)
Creates a new panel.
|
Method Summary | |
---|---|
void | actionPerformed(ActionEvent event)
Handles action events generated by the popup menu.
|
protected JPopupMenu | createPopupMenu(boolean properties, boolean save, boolean print, boolean zoom)
Creates a popup menu for the panel.
|
void | setChart(JFreeChart chart)
Sets the chart that is displayed in the panel.
|
Parameters: chart the chart.
Parameters: chart the chart. useBuffer buffered?
Parameters: event the event.
Parameters: properties include a menu item for the chart property editor. save include a menu item for saving the chart. print include a menu item for printing the chart. zoom include menu items for zooming.
Returns: The popup menu.
Parameters: chart The chart.