CT SET CHART FILL ATTRIBUTES

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

version 1


CT SET CHART FILL ATTRIBUTES (area; object; partType; partSpecifics; pattern; color)

ParameterTypeDescription
areaLongint4D Chart area
objectLongintObject ID
partTypeIntegerType of object for which to set attributes
partSpecificsLongintSpecific part of object for which to set attributes
patternIntegerPattern number (1 to 36)
-1 = No change
colorLongintColor value
-1 = No change

Description

The CT SET CHART FILL ATTRIBUTES command sets the fill attributes of the chart object specified by area, object, partType, and partSpecifics.

partType and partSpecifics specify the exact part of the graph for which to get the attributes. The codes for these parameters are listed in the section Parameter Codes.

pattern is an integer from 1 to 36 that specifies one of the patterns available on the Pattern palette. Codes for this parameter are listed in the section Parameter Codes.

color is a long integer that specifies the color of the object. You can specify a value for the color parameter by using the CT Index to color or the CT RGB to color functions. For more information about these functions, refer to the commands in the CT Utilities section.

Note: To set the attributes of objects added to the document using the drawing tools or the drawing functions, use the commands in the Object theme.

Example

This example changes the first series fill attributes for the chart specified by $ChartID. The color is set to Red, and the pattern is set to Solid.

   CT SET CHART FILL ATTRIBUTES (Area;$ChartID;8;100;3;CT Index to color (4))

See Also

CT GET CHART FILL ATTRIBUTES.


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