TOC PREV NEXT INDEX

AGXAxis / AGYAxis

Synopsis

define a numerical axis

AGPrimitive+AGAxisParams+AGTickXParams AGXAxis
{
     AGInt labelDecimals;
     AGLabelModeEnum labelMode = "normal";
     AGInt labelPowerFactor;
     AGFloat positionY;
     AGString text = "X axis";
     };
     AGPrimitive+AGAxisParams+AGTickYParams AGYAxis

     AGInt labelDecimals;
     AGLabelModeEnum labelMode = "normal";
     AGInt labelPowerFactor;
     AGFloat positionX;
     AGString text = "Y axis";
};

Description

AGXAxis and AGYAxis define numerical axes that can connect to any of the AGworld objects.

Subobjects

labelDecimals

Determines the number of positions to the left of the label's decimal point. The label's power factor is adjusted accordingly. The default is computed based on the limits (i.e., data range).

labelMode

A string that determines which side of the axis to draw the labels. Valid strings are "normal" and "reverse". The default value is "normal".

labelPowerFactor

The power to which the label values are raised. The default is computed based on the limits (i.e., data range).

positionX

positionY

The X or Y position of the axel line. AGXAxis has the positionY parameter. AGYAxis has the positionX parameter.

text

A text string used as a label for the axis. The default value for AGXAxis is "X axis". The default value for AGYAxis is "Y axis". The labels are based on the value of the data.

visibility

priority

Inherited from AGPrimitive.

majorTickColor

majorTickLineStyle

majorTickOn

majorTickWidth

minorTickColor

minorTickCount

minorTickLineStyle

minorTickWidth

Inherited from AGTickParams through AGAxisParams.

axleColor

axleWidth

labelColor

labelFont

labelHeight

Inherited from AGAxisParams.

majorReferenceX

majorStepX

Inherited from AGTickXParams.

majorReferenceY

majorStepY

Inherited from AGTickYParams through AGWorldParams.

Example

Libraries.Examples.Annotation_Graphing.contour1

examples/contour1.v

Libraries.Examples.Annotation_Graphing.contour2

examples/contour2.v

Libraries.Examples.Annotation_Graphing.graphChar

examples/gphChar.v

Libraries.Examples.Annotation_Graphing.graphUI

examples/gphUI.v

Libraries.Examples.Annotation_Graphing.logex2

examples/logex2

Libraries.Examples.Annotation_Graphing.simpleGraph

examples/simpGph.v

File

v/AG.v

See Also Related Modules

AGAxisParams
AGPrimitive
AGTickParams
AGTickXParams / AGTickYParams

TOC PREV NEXT INDEX