public abstract class AxisPlotInfo extends Object
Constructor and Description |
---|
AxisPlotInfo() |
Modifier and Type | Method and Description |
---|---|
double |
centerX(RadRect relativeRect)
Used to calculate the center on the x axis based on the passed
RadRect instance. |
double |
centerY(RadRect relativeRect)
Used to calculate the center on the y axis based on the passed
RadRect instance. |
AxisModel |
getAxis()
Gets the current instance of the
AxisModel . |
int |
getSnapTickIndex()
Gets the current snap tick index.
|
void |
setSnapTickIndex(int snapTickIndex)
Sets the current snap tick index.
|
public double centerX(RadRect relativeRect)
RadRect
instance.relativeRect
- RadRect instance used for measuring the center on the x axis.public double centerY(RadRect relativeRect)
RadRect
instance.relativeRect
- RadRect instance used for measuring the center on the y axis.public AxisModel getAxis()
AxisModel
.public int getSnapTickIndex()
public void setSnapTickIndex(int snapTickIndex)
snapTickIndex
- the new snap tick index.