AGXUserAxis / AGYUserAxis
Synopsis
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
A string that determines which side of the axis to draw the labels. Valid strings are "normal" and "reverse". The default value is "normal".
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".
An array of text strings used as the labels for the axis. The default value is {"label1","label2","label3", ...}.
The X and Y positions of the axel line. AGXAxis and AGXUserAxis have the positionY parameter. AGYAxis and AGYUserAxis have the positionX parameter.
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.
Example
Libraries.Examples.Annotation_Graphing.rainfall
Libraries.Examples.Annotation_Graphing.simpleGraph
File
See Also Related Modules