public interface IlvChartProjector
IlvChart
and can be
retrieved with the IlvChart.getProjector()
method.Modifier and Type | Method and Description |
---|---|
double |
getAxisLength(Rectangle projRect,
IlvAxis axis)
Returns the length of the specified axis.
|
Shape |
getShape(double value,
IlvDataInterval inter,
int axisType,
Rectangle projRect,
IlvCoordinateSystem coordSys)
Returns the shape corresponding to the specified value.
|
Shape |
getShape(double value,
int axisType,
Rectangle projRect,
IlvCoordinateSystem coordSys)
Returns the shape corresponding to the specified value.
|
Shape |
getShape(IlvDataWindow dataWindow,
Rectangle projRect,
IlvCoordinateSystem coordSys)
Returns the shape corresponding to the specified data window.
|
void |
shiftAlongAxis(Rectangle projRect,
IlvAxis axis,
IlvDoublePoint point,
double delta)
Shifts a point in projected space along a given axis.
|
void |
toData(IlvDoublePoints pts,
Rectangle projRect,
IlvCoordinateSystem coordSys)
Maps the specified points from display coordinates to data
coordinates.
|
IlvDataWindow |
toDataWindow(Rectangle rect,
Rectangle projRect,
IlvCoordinateSystem coordSys)
Returns the data window enclosed by the specified bounding
rectangle, expressed in projected space.
|
void |
toDisplay(IlvDoublePoints pts,
Rectangle projRect,
IlvCoordinateSystem coordSys)
Maps the specified points from data coordinates to display
coordinates.
|
Rectangle |
toRectangle(IlvDataWindow dataWindow,
Rectangle projRect,
IlvCoordinateSystem coordSys)
Returns the bounding rectangle enclosing the specified data window.
|
void toDisplay(IlvDoublePoints pts, Rectangle projRect, IlvCoordinateSystem coordSys)
pts
- The considered points in data space. The method
directly modifies the values stored in this object.projRect
- The projecting rectangle.coordSys
- The data coordinate system.void toData(IlvDoublePoints pts, Rectangle projRect, IlvCoordinateSystem coordSys)
pts
- The considered points in display space. The method
directly modifies the values stored in this object.projRect
- The projecting rectangle.coordSys
- The data coordinate system.IlvDataWindow toDataWindow(Rectangle rect, Rectangle projRect, IlvCoordinateSystem coordSys)
rect
- The considered rectangle.projRect
- The projecting rectangle.coordSys
- The data coordinate system.Rectangle toRectangle(IlvDataWindow dataWindow, Rectangle projRect, IlvCoordinateSystem coordSys)
dataWindow
- The considered data window.projRect
- The projecting rectangle.coordSys
- The data coordinate system.void shiftAlongAxis(Rectangle projRect, IlvAxis axis, IlvDoublePoint point, double delta)
projRect
- The projecting rectangle.axis
- The considered axis.point
- The considered point. The method modifies the coordinates
of this point.delta
- The shift applied to the point, expressed in projected
space.double getAxisLength(Rectangle projRect, IlvAxis axis)
Shape getShape(IlvDataWindow dataWindow, Rectangle projRect, IlvCoordinateSystem coordSys)
dataWindow
- The considered data window.projRect
- The projecting rectangle.coordSys
- The data coordinate system.Shape getShape(double value, int axisType, Rectangle projRect, IlvCoordinateSystem coordSys)
value
- The considered value.axisType
- The axis type: IlvAxis.X_AXIS
or
IlvAxis.Y_AXIS
.projRect
- The projecting rectangle.coordSys
- The data coordinate system.Shape getShape(double value, IlvDataInterval inter, int axisType, Rectangle projRect, IlvCoordinateSystem coordSys)
value
- The considered value.inter
- The values range.axisType
- The axis type: IlvAxis.X_AXIS
or
IlvAxis.Y_AXIS
.projRect
- The projecting rectangle.coordSys
- The data coordinate system.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.