version 6.0.2
CT SET X REAL SCALE (area; object; minAuto; maxAuto; majIncrAuto; minIncrAuto; minimum; maximum; majorIncr; minorIncr)
Parameter | Type | Description | |
area | Longint | 4D Chart area | |
object | Longint | Object ID | |
minAuto | Integer | Use default minimum? | |
-1 = No change | |||
0 = No | |||
1 = Yes | |||
maxAuto | Integer | Use default maximum? | |
-1 = No change | |||
0 = No | |||
1 = Yes | |||
majIncrAuto | Integer | Use default major increment? | |
-1 = No change | |||
0 = No | |||
1 = Yes | |||
minIncrAuto | Integer | Use default minor increment? | |
-1 = No change | |||
0 = No | |||
1 = Yes | |||
minimum | Real | Minimum value | |
maximum | Real | Maximum value | |
majorIncr | Real | Major increment | |
minorIncr | Real | Minor increment |
Description
Use CT SET X REAL SCALE to use the default values or to specify the alternative scale values for the X-axis scale in an XY chart. Use CT SET REAL SCALE for the Values axis (Z-axis) in the same type of graph when the values are real numbers, integers, and/or long integers.
minAuto and maxAuto specify whether to use the default minimum and maximum values.
majIncrAuto and minIncrAuto specify whether to use the default major and minor increments.
minimum and maximum are the alternative minimum and maximum values.
majorIncr and minorIncr are the alternative major and minor increments.
Example
This example creates a chart from arrays and sets the scale values.
$ChartID:=CT Chart arrays (Area;2;1;aCategories;aSeries;aValues) CT SET X REAL SCALE (Area;$ChartID;0;0;0;0;-100;300;100;20)
See Also
CT GET DATE SCALE, CT GET REAL SCALE, CT SET DATE SCALE.