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

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

public class HorizontalAxisAdjuster
extends java.lang.Object
implements IAxisAdjuster

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

Since:
2.5

Constructor Summary
HorizontalAxisAdjuster(OneAxis horizontalAxis, OneAxis verticalAxis, PlotWithAxes plotWithAxes, Bounds boPlot)
           
 
Method Summary
 void adjust()
          Adjust axis(axes) scale and location.
 double getAxisBottomEdge()
           
 double getAxisLabelThickness()
          Returns label thickness of current axis.
 double getAxisTitleThickness()
          Returns title thickness of current axis.
 double getAxisTopEdge()
           
 double getAxisY()
           
 OneAxis getHorizontalAxis()
          Returns current horizontal axis.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HorizontalAxisAdjuster

public HorizontalAxisAdjuster(OneAxis horizontalAxis,
                              OneAxis verticalAxis,
                              PlotWithAxes plotWithAxes,
                              Bounds boPlot)
Method Detail

getAxisY

public double getAxisY()

getAxisTopEdge

public double getAxisTopEdge()

getAxisBottomEdge

public double getAxisBottomEdge()

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

getHorizontalAxis

public OneAxis getHorizontalAxis()
Returns current horizontal axis.

Returns:

getAxisLabelThickness

public double getAxisLabelThickness()
Returns label thickness of current axis.

Returns:

getAxisTitleThickness

public double getAxisTitleThickness()
Returns title thickness of current axis.

Returns:


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