Syntax
Public Function ChartClose(Optional chart_id As Long = 0) As Boolean
Description
This function is used to close the specified chart by a given the chart ID.
Parameters
Key | Description |
chart_id | Chart ID, 0 is the current chart, value of type Long. |
Return value
If successful returns true, otherwise returns false.To get Last Error Call GetlastError() function.
Sample
Public Sub main() AlertMessage ChartClose (0) End Sub
See Also