NtTimeChartControl.GetDisplayDefByDataTypeId Method
Each data item displayed int the NtTimeChartControl must be of a certain type. For example in a business management system you might have several
data items representing phone calls of customers and several other data items representing payments. So you will have (among others) these two data types: Customer calls and payments. Each data type must
be identified by a data type id. For example customer calls have the data type id 100 and payments have 101. So all payment data items have the same data type id 101.
Obviously all data items of the same type should be displayed in the same row of the Time Chart and should have the same appearance. While the row assignment for different data types might change due to
user interaction (dragging rows vertically, hiding rows), the appearance remains constant.
The appearance of each data type must be defined somewhere. This is done by a so called Display Definition, represented by an NtDisplayDef object. For this reason
the NtTimeChartControl needs to have exactly one NtDisplayDef per data type.
You set up the NtDisplayDefs for the NtTimeChartControl upon initialization. Please see
Concept DisplayDef for details.
This method
Overload List:
| Modifier / Return Value | Name and Parameters | Description |
|---|---|---|
|
|
|
Returns the NtDisplayDef for this |
Return value:
Parameters:
The data type id.
Remarks:
None.
See also:
