This function returns the name of the object by a given it ordinal in the specified chart.
pos Ordinal number of the object, value of type Integer.
Returns object name. In error case call GetlastError() function to get the detailed error information.