Skip to content

Documentation / @finchart/tools / ParallelChannel

Interface: ParallelChannel ​

Defined in: tools/src/drawings.ts:214

Two parallel lines: a–b, and a second line through c with the same price-per-x slope, over the same x span. "Parallel" is a price-space statement — on a log axis the two are not parallel on screen, deliberately, so the saved bytes mean the same thing under every scale. c is an absolute anchor (its distance from the first line is derived, never stored).

Extends ​

  • DrawingIdentity

Properties ​

a ​

a: Anchor

Defined in: tools/src/drawings.ts:216


b ​

b: Anchor

Defined in: tools/src/drawings.ts:217


c ​

c: Anchor

Defined in: tools/src/drawings.ts:218


id ​

id: string

Defined in: tools/src/drawings.ts:74

Inherited from ​

DrawingIdentity.id


style? ​

optional style?: Partial<LineStyle>

Defined in: tools/src/drawings.ts:85

Per-drawing override — the third layer of the same resolution the toolbox already does (theme variables → toolbox override → this). The same Partial<LineStyle> shape, deliberately: one leaf vocabulary (width·color·dashArray), not a second one.

The values are literals, not theme tokens — a canvas can't read var(), and this is a saved value. A drawing colored by hand keeps its color across a theme switch; absent means "the theme's".

Inherited from ​

DrawingIdentity.style


type ​

type: "parallelChannel"

Defined in: tools/src/drawings.ts:215