org.eclipse.birt.chart.computation.withaxes
Class VerticalAxisAdjuster

java.lang.Object
  extended by org.eclipse.birt.chart.computation.withaxes.VerticalAxisAdjuster
All Implemented Interfaces:
IAxisAdjuster

public class VerticalAxisAdjuster
extends java.lang.Object
implements IAxisAdjuster

The class is used to adjust the location and scale of one vertical axis.

Since:
2.5

Constructor Summary
VerticalAxisAdjuster(OneAxis verticalAxis, OneAxis horizontalAxis, PlotWithAxes plotWithAxes, Bounds boPlot)
          Constructor.
 
Method Summary
 void adjust()
          Adjust axis(axes) scale and location.
 double getAxisLabelThickness()
          Returns the axis label thickness.
 double getAxisLeftEdge()
          Returns the axis left edge.
 double getAxisRightEdge()
          Returns the axis right edge.
 double getAxisTitleThickness()
          Returns the axis title thickness.
 double getAxisX()
          Returns the x of axis.
 OneAxis getVerticalAxis()
          Returns vertical axis.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerticalAxisAdjuster

public VerticalAxisAdjuster(OneAxis verticalAxis,
                            OneAxis horizontalAxis,
                            PlotWithAxes plotWithAxes,
                            Bounds boPlot)
Constructor.

Parameters:
verticalAxis -
horizontalAxis -
plotWithAxes -
boPlot -
Method Detail

getVerticalAxis

public OneAxis getVerticalAxis()
Returns vertical axis.

Returns:

getAxisX

public double getAxisX()
Returns the x of axis.

Returns:

getAxisLeftEdge

public double getAxisLeftEdge()
Returns the axis left edge.

Returns:

getAxisRightEdge

public double getAxisRightEdge()
Returns the axis right edge.

Returns:

getAxisLabelThickness

public double getAxisLabelThickness()
Returns the axis label thickness.

Returns:

getAxisTitleThickness

public double getAxisTitleThickness()
Returns the axis title thickness.

Returns:

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


Copyright © 2005-2008 Actuate Corp. All rights reserved.