CT SET CHART OPTIONS

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

version 1


CT SET CHART OPTIONS (area; object; options)

ParameterTypeDescription
areaLongint4D Chart area
objectLongintObject ID
optionsInteger arrayArray containing option codes

Description

The CT SET CHART OPTIONS command sets the options for the selected graph. These options are equivalent to the options that the user can set in the Options dialog box for each chart type.

The options codes for each graph type are listed in the section Parameter Codes.

Example

This example sets the chart options of the column chart specified by $ChartID to horizontal, stacked proportional, 100 percent overlap, and 25 percent gap.

   ARRAY INTEGER (aOptions;4)
   aOptions{1}:=1
   aOptions{2}:=2
   aOptions{3}:=100
   aOptions{4}:=25
   CT SET CHART OPTIONS (Area;$ChartID;aOptions)

See Also

CT GET CHART OPTIONS.


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