API Documentation -> NtTimeChartControl -> DeleteDisplayDef

# NtTimeChartControl.DeleteDisplayDef Method

For each data type the Time Chart shall be able to display it needs to have a NtDisplayDef. For this reason the NtTimeChartControl stores an array of NtDisplayDefs, one for each data type to be displayed. You provide these NtDisplayDefs to the NtTimeChartControl by calling its method SetDisplayDef.
If you do not need a certain data type any more and want to release the NtDisplayDef, call this method in order to remove the NtDisplayDef from the NtTimeChartControl.

Overload List:

Modifier / Return Value | Name and Parameters | Description
--- | --- | ---
public void | DeleteDisplayDef ( ulong dataTypeId ) | Deletes the NtDisplayDef for the data type specified by dataTypeId from the NtTimeChartControl.

Return value:

void

Parameters:

ulong dataTypeId
The data type id of the NtDisplayDef you want to remove from the Time Chart.

Remarks:

Data type ids are allowed to range from 1 to 9999. If you provide anything else an ArgumentException will be thrown. It is ok to call this method with a data typ id where there currently is no NtDisplayDef stored in the Time Chart. In this case this method does nothing.

See also:

NtDisplayDef
SetDisplayDef()

Top API Documentation -> NtTimeChartControl -> DeleteDisplayDef © 2016 Bassaly