public class NumericalAxisPlotInfo extends NumericalAxisPlotInfoBase
Modifier and Type | Field and Description |
---|---|
double |
normalizedValue |
normalizedOrigin, plotOriginOffset
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. |
double |
convertToAngle()
Converts the normalized value to an angle in degrees.
|
static NumericalAxisPlotInfo |
create(AxisModel axis,
double plotOffset,
double value,
double origin)
Creates a numeric plot info with the provided arguments.
|
getAxis, getSnapTickIndex, setSnapTickIndex
public static NumericalAxisPlotInfo create(AxisModel axis, double plotOffset, double value, double origin)
axis
- The axis of the plot information.plotOffset
- The plot offset.value
- The plot value.origin
- The plot origin.NumericalAxisPlotInfo
class.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.public double convertToAngle()