CT SET AXIS ATTRIBUTES

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

version 1


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

ParameterTypeDescription
areaLongint4D Chart area
objectLongintObject ID
axisIntegerChart axis
0 = Category
1 = Series
2 = Values
minorTickIntegerMinor tick kind
-1 = No change
0 = None
1 = Inside
2 = Outside
3 = Cross
majorTickIntegerMajor tick kind
-1 = No change
0 = None
1 = Inside
2 = Outside
3 = Cross
locationRealAxis location (position at
which the axis is placed)
reverseIntegerReverse order
0 = Do not reverse
1 = Reverse
-1 = No change

Description

The CT SET AXIS ATTRIBUTES command sets the attributes of the axis specified by area, object, and axis. This command applies only to two-dimensional graphs.

minorTick and majorTick refer to the tick marks on axis.

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 in reverse order. If reverse is equal to 0, the items remain in their original order.

Example

This example changes the Category axis attributes for the chart specified by $ChartID.

   CT SET AXIS ATTRIBUTES (vArea;$ChartID;0;0;3;160;1)

See Also

CT GET AXIS ATTRIBUTES.


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