version 1
CT SET 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
The CT SET REAL SCALE command to use the default values or to specify the alternative scale values for a graph. CT SET REAL SCALE is used 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 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.