AGGraphViewport / AGGraphViewportObj


Synopsis

rectangular area with its own world coordinate space and added graphing functionality

AGViewport+AGGraphParams+AGGraphListParams AGGraphViewport
{
        barOffsets = {0.4, 0.2, 0.0, -0.2, -0.4};
        barWidth = 0.35;
        barFrameWidth = 0.25
        fillColor = "background";
        graphColors = {"red","green","cyan","orange","purple",
    "yellow", "brown", "turquoise", "magenta"};
graphType = "curve";
lineStyle = "solid";
lineWidth = 1.0;
scatterSymbols = {"`25001","`25012","`25013","`25018",
   "`25004","`25008","`25005","`25002"};
shiftPosition = 0.0;
symbolFont = "roman-simplex";
symbolHeight = 3.0;
AGPrimitive+IPort2+read &children[];
};

Description

A rectangular area that has its own world coordinate space, with additional parameters for handling graphing. AGGraphViewportObj includes an AGDataObject for your convenience.

Subobjects

visibility
priority

Inherited from AGPrimitive through AGGeometryPrimitive and AGViewport.

geometry

Inherited from AGGeometryPrimitive through AGViewport.

clip
fillColor
frameColor
frameWidth
limitsX
limitsY

Inherited from AGViewportParams through AGViewport.

barWidth
graphType
lineStyle
lineWidth
referenceValue
scatterSymbols
shiftPosition
symbolFont
symbolHeight

Inherited from AGGraphParams.

barOffsets
graphColors

Inherited from AGGraphListParams.

children

Array of AGPrimitive objects connected to this object.

Examples

Libraries.Examples.Annotation_Graphing.graphChar
examples/gphChar.v

Libraries.Examples.Annotation_Graphing.graphUI
examples/gphUI.v

Libraries.Examples.Annotation_Graphing.logex2
examples/logex2.v

Libraries.Examples.Annotation_Graphing.rainfall
examples/rainfall.v

Libraries.Examples.Annotation_Graphing.simpleGraph
examples/simpGph.v

File

v/ag.v

See Also

Related modules

•      AGGeometryPrimitive / AGRenderPrimitive

•      AGGraph

•      AGGraphListParams

•      AGGraphParams

•      AGGraphWorld

•      AGPrimitive

•      AGViewport / AGViewportObj

•      AGViewportParams