Point2D
|
getAnchor()
Returns the anchor point.
|
double
|
getAnchorX()
Returns the x-coordinate (in data space) for the anchor point.
|
double
|
getAnchorY()
Returns the y-coordinate (in data space) for the anchor point.
|
double
|
getCrosshairDistance()
Returns the distance between the anchor point and the current crosshair
point.
|
double
|
getCrosshairX()
Get the x-value for the crosshair point.
|
double
|
getCrosshairY()
Get the y-value for the crosshair point.
|
int
|
getDatasetIndex()
Returns the dataset index that the crosshair values relate to.
|
int
|
getDomainAxisIndex()
This method is deprecated.
As of version 1.0.11, the domain axis should be determined
using the dataset index.
|
int
|
getRangeAxisIndex()
This method is deprecated.
As of version 1.0.11, the domain axis should be determined
using the dataset index.
|
void
|
setAnchor(Point2D anchor)
Sets the anchor point.
|
void
|
setAnchorX(double x)
Sets the x-coordinate (in data space) for the anchor point.
|
void
|
setAnchorY(double y)
Sets the y-coordinate (in data space) for the anchor point.
|
void
|
setCrosshairDistance(double distance)
Sets the distance between the anchor point and the current crosshair
point.
|
void
|
setCrosshairX(double x)
Sets the x coordinate for the crosshair.
|
void
|
setCrosshairY(double y)
Sets the y coordinate for the crosshair.
|
void
|
setDatasetIndex(int index)
Sets the dataset index that the current crosshair values relate to.
|
void
|
updateCrosshairPoint(double x, double y, int domainAxisIndex, int rangeAxisIndex, double transX, double transY, PlotOrientation orientation)
Evaluates a data point and if it is the closest to the anchor point it
becomes the new crosshair point.
|
void
|
updateCrosshairPoint(double x, double y, double transX, double transY, PlotOrientation orientation)
|
void
|
updateCrosshairX(double candidateX)
|
void
|
updateCrosshairX(double candidateX, int domainAxisIndex)
Evaluates an x-value and if it is the closest to the anchor x-value it
becomes the new crosshair value.
|
void
|
updateCrosshairY(double candidateY)
|
void
|
updateCrosshairY(double candidateY, int rangeAxisIndex)
Evaluates a y-value and if it is the closest to the anchor y-value it
becomes the new crosshair value.
|