Skip to content

charton API


charton API / @chart-on/core / index / parallelOffset

Function: parallelOffset() ​

parallelOffset(a, b, c): Point

Defined in: packages/core/src/drawing/channel.ts:25

Offset from the base line a→b to its parallel through c. It is vertical so both lines span the same bars, or horizontal when the base line is vertical.

Parameters ​

a ​

Point

b ​

Point

c ​

Point

Returns ​

Point