Documentation of 'org.jfree.chart.PolarChartPanel' Java class
PolarChartPanel
org.jfree.chart

Class PolarChartPanel

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.awt.print.Printable, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible, ChartChangeListener, ChartProgressListener, OverlayChangeListener


    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
    and replaces them with versions more appropriate for PolarPlot.
    See Also:
    Serialized Form
    • Constructor Detail

      • PolarChartPanel

        public PolarChartPanel(JFreeChart chart)
        Constructs a JFreeChart panel.
        Parameters:
        chart - the chart.
      • PolarChartPanel

        public PolarChartPanel(JFreeChart chart,
                               boolean useBuffer)
        Creates a new panel.
        Parameters:
        chart - the chart.
        useBuffer - buffered?
    • Method Detail

      • setChart

        public void setChart(JFreeChart chart)
        Sets the chart that is displayed in the panel.
        Overrides:
        setChart in class ChartPanel
        Parameters:
        chart - The chart.
      • actionPerformed

        public void actionPerformed(java.awt.event.ActionEvent event)
        Handles action events generated by the popup menu.
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener
        Overrides:
        actionPerformed in class ChartPanel
        Parameters:
        event - the event.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.