CT GET CHART PART

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

version 1


CT GET CHART PART (area; object; partType; partSpecifics)

ParameterTypeDescription
areaLongint4D Chart area
objectLongintObject ID
partTypeIntegerReceives type of object selected in area
partSpecificsLongintReceives specific part of selected object

Description

The CT GET CHART PART command returns in the partType and partSpecifics parameters the codes for the chart object currently selected in the graph specified by area and object.

partType and partSpecifics specify the part of the graph that the user has selected. The codes for these parameters are listed in the section Parameter Codes.

Example

This example gets the part codes for the selected series and sets the series fill pattern to solid and fill color to green.

   CT GET CHART PART (Area;$ChartID;$Type;$Specifics)
   If ($Type=8)  `Is it a series?
      CT SET CHART FILL ATTRIBUTES (Area;$ChartID;$Type;$Specifics;3;CT Index to color (10))
   End if 

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