Class AxisTickCoordinates
- java.lang.Object
-
- org.eclipse.birt.chart.computation.withaxes.AxisTickCoordinates
-
- All Implemented Interfaces:
java.lang.Cloneable
public class AxisTickCoordinates extends java.lang.Object implements java.lang.CloneableA helper class to compute coordinates for Axis Ticks
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()doublegetCoordinate(int index)Returns the coordinates of specified ticks.doublegetEnd()doublegetNormalizedCoordinate(int index)Returns the normalized tick coordinates.doublegetStart()doublegetStep()intgetTickSlot(double value)intsize()
-
-
-
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:
-
getTickSlot
public int getTickSlot(double value)
-
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()
-
-