version 1
CT GET CHART PART (area; object; partType; partSpecifics)
Parameter | Type | Description | |
area | Longint | 4D Chart area | |
object | Longint | Object ID | |
partType | Integer | Receives type of object selected in area | |
partSpecifics | Longint | Receives 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