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

java.lang.Object
  extended byorg.eclipse.birt.chart.computation.withaxes.AxisTickCoordinates
All Implemented Interfaces:
java.lang.Cloneable

public class AxisTickCoordinates
extends java.lang.Object
implements java.lang.Cloneable

A helper class to compute coordinates for Axis Ticks


Method Summary
 java.lang.Object clone()
           
 double getCoordinate(int index)
          Returns the coordinates of specified ticks.
 double getEnd()
           
 double getNormalizedCoordinate(int index)
          Returns the normalized tick coordinates.
 double getStart()
           
 double getStep()
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

size

public int size()

getStart

public double getStart()

getEnd

public double getEnd()

getStep

public double getStep()

getCoordinate

public double getCoordinate(int index)
Returns the coordinates of specified ticks. For the sake of performance, invokers need to ensure the index correct.

Parameters:
index - tick index
Returns:

getNormalizedCoordinate

public double getNormalizedCoordinate(int index)
Returns the normalized tick coordinates. that means the start point is always zero, and the array lines forward. For the sake of performance, invokers need to ensure the index correct.

Parameters:
index - tick index
Returns:

clone

public java.lang.Object clone()


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