Methods of the Chart
The Chart provides:
The methods addObject, copyBitmapToClipboard, copyBitmapToFile, copyBitmapToIcon, getAnnotations, getBValue, getGValue, getHTMLCode, getConveyorStyle, getRValue, printChart, putValuesIntoTable, resetValues, setAnnotations, setConveyorStyle, setRGB, setWindowPosition, showPrintDialog and update.
To view all of the methods and attributes of the Chart, open the window Show Attributes and Methods. The figure below illustrates the information using the example of the object Source.
Select Show Attributes and Methods on the context menu of the Class Library to show the attributes and methods of the selected Class.
Press the F8 key or click Show Attributes and Methods on the Home ribbon tab of the Frame into which you inserted an instance to show the attributes and methods of the selected Instance.
An example of the Syntax line of the individual methods might look like this:
<Path>.derive(Destination:object, Name:string) → object |
The expression Path designates the path of the object to which the method applies.
The signature of the method, consisting of the identifier and the data type of the parameter, is listed in parentheses. The expression (Parameter:string), example, designates a parameter of data type integer. Instead of a constant value, you can also use a variable of the required type or a method that returns the required data type.
Optional parameters are listed within square brackets. The expression [,Parameter:boolean], for example, means that you can, but do not have to enter the boolean parameter.
Note:Make sure to enter the parentheses for expressions within parentheses (…). Not entering them may lead to unexpected results and open the Debugger.
Related Topics
addObject (Chart)copyBitmapToClipboard (Chart)
copyBitmapToFile (Chart)
copyBitmapToIcon
getAnnotations
getBValue
getGValue
getHTMLCode (Chart)
getLineStyle
getRValue
printChart
putValuesIntoTable (Chart)
resetValues
setAnnotations
setLineStyle
setRGB
setWindowPosition (Chart)
showPrintDialog (Chart)
update (Chart)