CT GET DATE SCALE

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

version 1


CT GET DATE SCALE (area; object; minAuto; maxAuto; majIncrAuto; minIncrAuto; minimum; maximum; majIncrType; majIncr; minIncrType; minIncr)

ParameterTypeDescription
areaLongint4D Chart area
objectLongintObject ID
minAutoIntegerUsing default minimum?
0 = No
1 = Yes
maxAutoIntegerUsing default maximum?
0 = No
1 = Yes
majIncrAutoIntegerUsing default major increment?
0 = No
1 = Yes
minIncrAutoIntegerUsing default minor increment?
0 = No
1 = Yes
minimumDateReceives minimum value
maximumDateReceives maximum value
majIncrTypeIntegerWhat is the major increment type?
1 = Days
2 = Weeks
3 = Months
4 = Years
majIncrIntegerReceives major increment
minIncrTypeIntegerWhat is the minor increment type?
1 = Days
2 = Weeks
3 = Months
4 = Years
minIncrIntegerReceives minor increment

Description

The CT GET DATE SCALE command returns whether the default values are being used or what alternative values have been set for the Values axis scale. CT GET DATE SCALE is used when the values are dates.

minAuto and maxAuto specify whether or not the graph is currently using the default minimum and maximum values.

majIncrAuto and minIncrAuto specify whether the graph is currently using the default major and minor increments.

minimum and maximum are the minimum and maximum values set by the user in the Axis dialog box or by the designer using the CT SET DATE SCALE command.

majIncrType and minIncrType are codes for the units in which the majorIncr and minorIncr parameters are specified.

majorIncr and minorIncr are the major and minor increments set by the user in the Axis dialog box or by the designer using the CT SET DATE SCALE command.

Example

This example returns scale data for the chart specified by $ChartID.

   CT GET DATE SCALE (Area;$ChartID;$MinA;$MaxA;$MajA;$MinA;$Minimum;$Maximum;$MajType;$MajorInc;$MinType;
                                             $MinorInc)

See Also

CT GET REAL SCALE, CT SET DATE SCALE, CT SET REAL SCALE.


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