ObjSetUserDataΒΆ

ObjSetUserData saves a data-object created by obj_create in a UniPlot-object (dataset, diagram, page, drawing object, etc.).

bool = ObjSetUserData(handle, ssObjectName, obj)
bool = ObjSetUserData(handle, ssObjectName, obj, ssCallbackFuncName)

Return Value

bool

Parameters

handle

handle identifies the object (Dataset, Drawing Objekt, Diagram, etc.).

ssObjectName

ssObjectName is a name under the data object obj is saved in the UniPlot-object.

obj

obj is an object created with obj_create. To remove an object from the UniPlot-object, set obj to 0.

ssCallbackFuncName

ssCallbackFuncName is an optional name of a UniScript function. In the current version only a callback function for data tooltips is supported. See ObjGetUserData for an example.

History

Version

Description

5.12.0

New

id-284977