TOC PREV NEXT INDEX

AGXUserAxis / AGYUserAxis

Synopsis

define a user-labeled axis

AGPrimitive+AGAxisParams+AGTickXParams AGXUserAxis
{
     AGLabelModeEnum labelMode = "normal";
     AGLabelPositionEnum labelPosition = "intervals";
     AGString labelStrings[] = {"label1", "label2","label3","label4", "label5"};
     AGFloat positionY;
     AGString text = "X user axis";
};
AGPrimitive+AGAxisParams+AGTickYParams AGYUserAxis
{     
     AGLabelModeEnum labelMode = "normal";
     AGLabelPositionEnum labelPosition = "intervals";
     AGString labelStrings[] = {"label1", "label2", "label3", "label4", "label5"};
     AGFloat positionX;
     AGString text = "Y user axis";
};

Description

AGXUserAxis and AGYUserAxis define user-labeled axes that can connect to any of the AGworld objects.

Subobjects

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".

labelPosition

A string describing the position of the labels with respect to the ticklines. A value of "tickmarks" centers the labels beneath the tickmarks. A value of "intervals" centers the labels between the tickmarks. The default is "intervals".

labelStrings

An array of text strings used as the labels for the axis. The default value is {"label1","label2","label3", ...}.

positionX

positionY

The X and Y positions of the axel line. AGXAxis and AGXUserAxis have the positionY parameter. AGYAxis and AGYUserAxis have the positionX parameter.

text

A text string used as a label for the axis. The default value for AGXAxis and AGXUserAxis is "X axis" and "X User Axis", respectively. The default value for AGYAxis and AGYUserAxis is "Y axis" and "Y User Axis", respectively.

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.rainfall

examples/rainfall.v

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