NtTimeChartControl.InsertDataObject Method

Inserts a NtDataObject to the NtTimeChartControl.
 
Before adding a data object to the NtTimeChartControl you should ensure that there is an appropriate NtDisplayDef for the data type of your object. If you have not done this on initialization, you can do it any time later by calling SetNtDisplayDef(). And of course you should have set a NtPerspective to your Time Chart, that contains the data type id of your object in one of its NtRowPerspective entries, because otherwise none of the rows will host your object.

Overload List:

Modifier / Return Value Name and Parameters Description

public void

InsertDataObject ( NtDataObject dataObject )

Inserts a NtDataObject to the Time Chart.

Return value:

void

Parameters:

NtDataObject objId
The object to be inserted. As the object contains it time stamp there is no more information necessary.

Remarks:

Whenever you want to insert more than one data object at a time better call InsertDataObjects providing a list of objects instead of calling this method repetitively for each of the objects.

See also:

SetData()
InsertDataObjects()
DeleteDataObject()
DeleteDataObjects()