Class JRDesignMultiAxisPlot

All Implemented Interfaces:
Serializable, Cloneable, JRChartPlot, JRMultiAxisPlot, JRChangeEventsSupport, JRCloneable

public class JRDesignMultiAxisPlot extends JRBaseMultiAxisPlot
Contains information on how a multiple axis chart should be displayed. This information overrides the display information for all the charts sharing the single domain axis in the multiple axis chart.
Author:
Barry Klawans (bklawans@users.sourceforge.net)
See Also:
  • Field Details

  • Constructor Details

    • JRDesignMultiAxisPlot

      public JRDesignMultiAxisPlot(JRChartPlot multiAxisPlot, JRChart chart)
      Constructs a new plot by copying an existing one.
      Parameters:
      multiAxisPlot - the plot to copy
  • Method Details

    • addAxis

      public void addAxis(JRChartAxis axis)
      Adds an axis to the plot. The axis contains the complete information on the data and rendering to use as well as where to draw the axis.
      Parameters:
      axis - the axis to add to the plot
    • addAxis

      public void addAxis(int index, JRChartAxis axis)
      Adds an axis to the plot. The axis contains the complete information on the data and rendering to use as well as where to draw the axis.
      Parameters:
      axis - the axis to add to the plot
    • removeAxis

      public JRChartAxis removeAxis(JRChartAxis axis)
    • clearAxes

      public void clearAxes()
      Removes all the axes from the plot.
    • setChart

      public void setChart(JRDesignChart chart)
      Sets the chart object that this plot belongs to. The chart object defines all the information about the multiple axis chart.
      Parameters:
      chart - the chart that this plot belongs to