AGGraphWorld


Synopsis

define a world coordinate space within an AGGraphViewport

AGWorld+AGGraphParams+AGGraphListParams AGGraphWorld
{
AGFloat powerExponent = 0.27;
AGScaleTypeEnum scaleTypeX = "linear";
AGScaleTypeEnum scaleTypeY = "linear";
AGPrimitive+AGConnectToGraphWorldPort+IPort2+read &children[];
};

Description

AGGraphWorld links objects with equal world coordinate scaling. The connections to objects that share the same world coordinate space are through the children reference array.

Compared to AGWorld, AGGraphWorld also supports a coordinate space based on log10 or a power, by setting scaleTypeX or scaleTypeY to "linear", "log10", or "power".

Subobjects

visibility
priority

Inherited from AGPrimitive through AGWorld.

majorTickColor
majorTickLineStyle
majorTickOn
majorTickWidth
minorTickColor
minorTickCount
minorTickLineStyle
minorTickWidth

Inherited from AGTickParams through AGAxisParams, AGWorldParams, and AGWorld.

axleColor
axleWidth
labelColor
labelFont
labelHeight

Inherited from AGAxisParams through AGWorldParams and AGWorld.

textColor
textFont
textHeight
majorReferenceX
majorStepX

Inherited from AGTickXParams through AGWorldParams and AGWorld.

majorReferenceY
majorStepY

Inherited from AGTickYParams through AGWorldParams and AGWorld.

clip
limitsX
limitsY
limitsMarginX
limitsMarginY
niceLimits
uniformScaling

Inherited from AGWorldParams through AGWorld.

children

Array of AGPrimitive objects connected to this object.

barWidth
barFrameWidth
graphType
lineStyle
lineWidth
referenceValue
scatterSymbols
shiftPosition
symbolFont
symbolHeight

Inherited from AGGraphParams.

barOffsets
graphColors

Inherited from AGGraphListParams.

powerExponent

Only used when scaleTypeX or scaleTypeY is set to "power". It is not possible to have a different power exponent in the X and Y direction.

scaleTypeX
scaleTypeY

Set the coordinate space type to one of:

•      "linear"

•      "log10"

•      "power"

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

•      AGAxisParams

•      AGGraphListParams

•      AGGraphParams

•      AGPrimitive

•      AGTickParams

•      AGTickXParams / AGTickYParams

•      AGWorld

•      AGWorldParams