Class HorizontalAxesAdjuster
- java.lang.Object
-
- org.eclipse.birt.chart.computation.withaxes.HorizontalAxesAdjuster
-
- All Implemented Interfaces:
IAxisAdjuster
public class HorizontalAxesAdjuster extends java.lang.Object implements IAxisAdjuster
The class is used to adjust horizontal axes's location and scale.- Since:
- 2.5
-
-
Constructor Summary
Constructors Constructor Description HorizontalAxesAdjuster(OneAxis[] horizontalAxes, OneAxis verticalAxis, PlotWithAxes plotWithAxes, Bounds boPlot)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadjust()Adjust axis(axes) scale and location.voidadjust(boolean checkAxisLabel)Adjust the axes.
-
-
-
Constructor Detail
-
HorizontalAxesAdjuster
public HorizontalAxesAdjuster(OneAxis[] horizontalAxes, OneAxis verticalAxis, PlotWithAxes plotWithAxes, Bounds boPlot)
Constructor.- Parameters:
horizontalAxes-verticalAxis-plotWithAxes-boPlot-
-
-
Method Detail
-
adjust
public void adjust() throws ChartExceptionDescription copied from interface:IAxisAdjusterAdjust axis(axes) scale and location.- Specified by:
adjustin interfaceIAxisAdjuster- Throws:
ChartException
-
adjust
public void adjust(boolean checkAxisLabel) throws ChartExceptionAdjust the axes.- Parameters:
checkAxisLabel- whether the axis label should be considered as a factor while computing coordinates and size of axis.- Throws:
ChartException
-
-