NtDisplayDef.displayMethod Member

The displayMethod determines how data finally is being drawn. The following methods are known by the NtTimeChartControl by default:

  1. No display, the data will not be shown at all. In general this is not the preferred method of hiding data. Rather use the NtPerspective to totally hide data from the display.
  2. Text
  3. Curve of nummeric values with crossmarks
  4. Bitmaps
  5. Icons

The image below shows the different ways of drawing data. Curve, text, icon, and bitmap.


These methods of display are supported by the NtTimeChartControl by default. But it is fairly easy to create own methods of drawing data objects. In short this is done in the following steps:

The good thing about this technique is that you do not need to bother about the sophisticated mechanisms of covering huge time scales, time scale factors, scroll positions, row and object dragging, clipping etc. The NtTimeChartControl's framework covers this and provides the appropriate information via the interface.
 
Please see the tutorial Custom Object Drawing on how to do this in detail.

Type:

int

Remarks:

This value should be set upon initinalization and not be changed any more.
 
To switch to your own drawing of objects (so called custom drawing), set this value to anything greater than 100 as 0 to 100 are reserved by the NtTimeChartControl for other purposes.

See also:

dataTypeId