CT SET TITLE ATTRIBUTES

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

version 1


CT SET TITLE ATTRIBUTES (area; object; axis; position; orientation; title)

ParameterTypeDescription
areaLongint4D Chart area
objectLongintObject ID
axisIntegerAxis for which to set attributes
0 = Category
1 = Series
2 = Values
positionIntegerPosition of title
-1 = No change
0 = None
1 = Top
2 = Left
3 = Bottom
4 = Right
orientationIntegerOrientation of title
-1 = No change
0 = Normal
1 = Vertical
2 = Rotated right
3 = Rotated left
titleStringText of title

Description

The CT SET TITLE ATTRIBUTES command sets the position, orientation, and text of the axis title specified by area, object, and axis.

position is the position of the title relative to the graph.

orientation is the orientation of the title.

title is the text of the title. The maximum length of the title is 255 characters.

Note: To set the text attributes of a title, use the CT SET CHART TEXT ATTRIBUTES command.

Example

This example sets the Values axis title's text, position, and orientation.

   CT SET TITLE ATTRIBUTES (Area;$ChartID;2;2;3;"Total Rainfall (in inches)")

See Also

CT GET TITLE ATTRIBUTES, CT SET CHART TEXT ATTRIBUTES.


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