Class HorizontalAxesAdjuster

java.lang.Object
org.eclipse.birt.chart.computation.withaxes.HorizontalAxesAdjuster
All Implemented Interfaces:
IAxisAdjuster

public class HorizontalAxesAdjuster extends Object implements IAxisAdjuster
The class is used to adjust horizontal axes's location and scale.
Since:
2.5
  • Constructor Details

    • HorizontalAxesAdjuster

      public HorizontalAxesAdjuster(OneAxis[] horizontalAxes, OneAxis verticalAxis, PlotWithAxes plotWithAxes, Bounds boPlot)
      Constructor.
      Parameters:
      horizontalAxes -
      verticalAxis -
      plotWithAxes -
      boPlot -
  • Method Details

    • adjust

      public void adjust() throws ChartException
      Description copied from interface: IAxisAdjuster
      Adjust axis(axes) scale and location.
      Specified by:
      adjust in interface IAxisAdjuster
      Throws:
      ChartException
    • adjust

      public void adjust(boolean checkAxisLabel) throws ChartException
      Adjust the axes.
      Parameters:
      checkAxisLabel - whether the axis label should be considered as a factor while computing coordinates and size of axis.
      Throws:
      ChartException