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

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

public class VerticalAxesAdjuster
extends java.lang.Object
implements IAxisAdjuster

The class is used to adjust vertical axes's location and scale.

Since:
2.5

Constructor Summary
VerticalAxesAdjuster(OneAxis[] verticalAxes, OneAxis horizontalAxis, PlotWithAxes plotWithAxes, Bounds boPlot)
          Constructor.
 
Method Summary
 void adjust()
          Adjust axis(axes) scale and location.
 double[] adjustOrthogonalAxis(int iv, OneAxis orthogonalAxis, double dX, double dLeftEdge, double dRightEdge)
          Adjusts start and end of orthogonal axis, and returns axis coordinates.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerticalAxesAdjuster

public VerticalAxesAdjuster(OneAxis[] verticalAxes,
                            OneAxis horizontalAxis,
                            PlotWithAxes plotWithAxes,
                            Bounds boPlot)
Constructor.

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

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

adjustOrthogonalAxis

public double[] adjustOrthogonalAxis(int iv,
                                     OneAxis orthogonalAxis,
                                     double dX,
                                     double dLeftEdge,
                                     double dRightEdge)
                              throws ChartException
Adjusts start and end of orthogonal axis, and returns axis coordinates.

Parameters:
orthogonalAxis -
dX -
dLeftEdge -
dRightEdge -
Returns:
Throws:
ChartException


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