Skip to main content

Interface: ECGTraceRegion

One trace of a trace layout.

Properties​

bounds​

bounds: AABB2

Bounds as fractions, 0 to 1, of the layout area.

Defined in​

packages/core/src/RenderingEngine/GenericViewport/ECG/ECGViewportTypes.ts:59


id?​

optional id: string

Defined in​

packages/core/src/RenderingEngine/GenericViewport/ECG/ECGViewportTypes.ts:55


label?​

optional label: string

Label that the viewport draws. Defaults to the channel name.

Defined in​

packages/core/src/RenderingEngine/GenericViewport/ECG/ECGViewportTypes.ts:57


lead​

lead: string | number

The lead: a channel index, or the lead code value of the channel, for example 5.6.3-9-2 (SCPECG) or 2:2 (MDC) for lead II. A channel with no code value matches by its code meaning.

Defined in​

packages/core/src/RenderingEngine/GenericViewport/ECG/ECGViewportTypes.ts:65


time?​

optional time: [number, number] | "view"

The part of the record that the region shows. 'view' follows the time window of the view state. A pair gives a fixed part, as fractions of the record. Defaults to 'view'.

Defined in​

packages/core/src/RenderingEngine/GenericViewport/ECG/ECGViewportTypes.ts:71