public class CategoricalAxisPlotInfo extends AxisPlotInfo
CategoricalAxisModel
.Modifier and Type | Field and Description |
---|---|
Object |
categoryKey |
double |
length |
double |
position |
double |
rangeLength |
double |
rangePosition |
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. |
static CategoricalAxisPlotInfo |
create(AxisModel axis,
double value,
double step)
Creates a new instance of the
CategoricalAxisPlotInfo class with the provided arguments. |
getAxis, getSnapTickIndex, setSnapTickIndex
public double position
public double length
public double rangeLength
public double rangePosition
public Object categoryKey
public static CategoricalAxisPlotInfo create(AxisModel axis, double value, double step)
CategoricalAxisPlotInfo
class with the provided arguments.axis
- The axis for this plot info.value
- The value with which this plot info will be associated.step
- The axis value range that this plot info is associated with.CategoricalAxisPlotInfo
instance.public double centerX(RadRect relativeRect)
AxisPlotInfo
RadRect
instance.centerX
in class AxisPlotInfo
relativeRect
- RadRect instance used for measuring the center on the x axis.public double centerY(RadRect relativeRect)
AxisPlotInfo
RadRect
instance.centerY
in class AxisPlotInfo
relativeRect
- RadRect instance used for measuring the center on the y axis.