ChartNodeSetViewport Method (Double) |
Used to specify the viewport location.
Namespace: Imsl.Chart2DAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public virtual void SetViewport(
double[] viewport
)
Public Overridable Sub SetViewport (
viewport As Double()
)
public:
virtual void SetViewport(
array<double>^ viewport
)
abstract SetViewport :
viewport : float[] -> unit
override SetViewport :
viewport : float[] -> unit
Parameters
- viewport
- Type: SystemDouble
A double[4] which specifies the "Viewport" attribute value.
Remarks
The viewport is the subregion of the drawing surface where the plot
is to be drawn. "Viewport" coordinates are [0,1] by [0,1] with (0,0)
in the upper left corner. The "Viewport" attribute affects only Axis
nodes, since they contain the mappings to device space. The elements
of viewport corrispond to xmin, xmax, ymin and
ymax.
See Also