public interface IlvChartDataPicker
Modifier and Type | Method and Description |
---|---|
boolean |
accept(IlvChartRenderer renderer)
Tells whether the specified renderer must be considered, when
searching among several renderers.
|
double |
computeDistance(double x1,
double y1,
double x2,
double y2)
Returns the distance between two points.
|
int |
getPickDistance()
Returns the picking distance.
|
int |
getPickX()
Returns the x-coordinate of the picking point.
|
int |
getPickY()
Returns the y-coordinate of the picking point.
|
boolean |
useDataSpace()
Tells whether the picker computes the distance in data space.
|
int getPickX()
int getPickY()
int getPickDistance()
Note: This distance influences the
IlvChartRenderer.getNearestPoint(IlvChartDataPicker)
,
IlvChartRenderer.getNearestItem(IlvChartDataPicker, double[])
,
IlvTreemapChartRenderer.getNearestPoint(IlvChartDataPicker)
,
IlvTreemapChartRenderer.getNearestItem(IlvChartDataPicker, double[])
methods but not the
IlvChartRenderer.getDisplayItem(IlvChartDataPicker)
and
IlvTreemapChartRenderer.getDisplayItem(IlvChartDataPicker)
methods.
This distance is expressed in projected space.
boolean accept(IlvChartRenderer renderer)
boolean useDataSpace()
double computeDistance(double x1, double y1, double x2, double y2)
useDataSpace()
returns true
, the specified
coordinates are expressed in data space. In that case, x1
and y1 are the coordinates of the picking point in data space.
If useDataSpace()
returns false
, the specified
coordinates are expressed in projected space.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.