define a world coordinate space within an AGGraphViewport
{
AGFloat powerExponent = 0.27;
AGScaleTypeEnum scaleTypeX = "linear";
AGScaleTypeEnum scaleTypeY = "linear";
AGPrimitive+AGConnectToGraphWorldPort+IPort2+read &children[];
};
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".
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.
Inherited from AGTickYParams through AGWorldParams and AGWorld.
clip
limitsX
limitsY
limitsMarginX
limitsMarginY
niceLimits
uniformScaling
Inherited from AGWorldParams through AGWorld.
Array of AGPrimitive objects connected to this object.
barWidth
barFrameWidth
graphType
lineStyle
lineWidth
referenceValue
scatterSymbols
shiftPosition
symbolFont
symbolHeight
Inherited from AGGraphParams.
Inherited from AGGraphListParams.
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.
Set the coordinate space type to one of:
examples/gphChar.v
examples/gphUI.v
examples/logex2.v
examples/rainfall.v
examples/simpGph.v
AGTickXParams / AGTickYParams
AGWorld