CT GET AXIS ATTRIBUTES

4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next

version 1


CT GET AXIS ATTRIBUTES (area; object; axis; minorTick; majorTick; location; reverse)

ParameterTypeDescription
areaLongint4D Chart area
objectLongintObject ID
axisIntegerChart axis
0 = Category
1 = Series
2 = Values
minorTickIntegerReceives minor tick kind
0 = None
1 = Inside
2 = Outside
3 = Cross
majorTickIntegerReceives major tick kind
0 = None
1 = Inside
2 = Outside
3 = Cross
locationRealReceives axis location (position
at which axis is placed)
reverseIntegerReceives reverse order
0 = Not reversed
1 = Reversed

Description

The CT GET AXIS ATTRIBUTES command returns the attributes of the axis specified by area, object, and axis in the variables for the minorTick, majorTick, location, and reverse parameters. This command applies only to two-dimensional graphs.

minorTick and majorTick refer to the tick marks on axis. The tick mark options can be set in the Axis dialog box for each axis or using the CT SET AXIS ATTRIBUTES command.

location refers to the number of the value at which the axis crosses another axis. If axis is a horizontal axis, location is the number of increments from the bottom of the vertical axis; if axis is a vertical axis, location is the number of increments from the left of the horizontal axis.

If the reverse parameter is equal to 1, the items graphed on the axis are reversed in order. If reverse is equal to 0, the items remain in their original order.

Example

This example returns the category axis attributes of the chart specified by $ChartID in the $MajorTick, $MinorTick, $Location, and $Reverse parameters.

   $ChartID:=CT Get ID (Area;0;1)
   CT GET AXIS ATTRIBUTES (Area;$ChartID;0;$MinorTick;$MajorTick;$Location;$Reverse)

See Also

CT SET AXIS ATTRIBUTES.


4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next