API Documentation -> NtDisplayDef -> lineMaxSeconds

# NtDisplayDef.lineMaxSeconds Member

For certain types of data a display by a curved plot makes sense. For example in a medical application the patient's temperature shall be drawn as a plot of automatically recorded samples connected by a line.
In a case like this it makes sense to connect one sample with the next only, if the time inbetween is not too long. If the patient is being recorded on intensive care unit, users want to see a contineous plot. But if the patent is at home for a long time, then returns back to the clinic and his file is being continued, it does not make sense to connect the last sample of his first visit with the first sample of his second visit.
In other words, connecting dots of a plot only makes sense if the time distance between them is below an arbitrary limit. You can define this limit for each data type via the NtDisplayDef for that data type. It is this member lineMaxSeconds. It defines the maximum time distance (in seconds) a line between two dots of a curve can bridge.
The example image below shows a situation like this: Temperature values are being recorded all 3 minutes. In this example lineMaxSeconds is set to 1800 seconds (30 minutes). Shortly after 09:00 am a few samples are missing but the next sample follows before the 30 mins are over so the curve is connected. Shortly after 10:00 am several samples are missing and the 30 mins are exeeded so the curve is interrupted here.

For some applications this lineMaxSeconds can get quite huge, for example if you want to do a plot over years documenting the behaviour of a vulcan then gaps in a curve are pretty long.

Type:

int

Remarks:

None.

See also:

lineType

Top API Documentation -> NtDisplayDef -> lineMaxSeconds © 2016 Bassaly