Class JRDesignChartAxis

    • Constructor Detail

      • JRDesignChartAxis

        public JRDesignChartAxis​(JRMultiAxisPlot multiAxisPlot)
        Construct a new axis that will be added to the specified multiaxis chart plot.
        Parameters:
        multiAxisPlot - the plot that the axis will be added to
    • Method Detail

      • setPosition

        public void setPosition​(AxisPositionEnum position)
        Sets the position of this axis' value line relative to the multiple axis chart.
        Parameters:
        position - the position of this axis
      • setChart

        public void setChart​(JRDesignChart chart)
        Set the chart that contains the dataset and plot to use for this axis. The plot is used to figure out how to render the dataset (ie as a line or bar chart) when adding it to the multiple axis chart.
        Parameters:
        chart - the chart that contains the dataset and plot for this axis