Class JRDesignMultiAxisPlot

    • Constructor Detail

      • JRDesignMultiAxisPlot

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

      • 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
      • 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