Skip to content

charton API


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

Interface: ReferenceLinesOptions ​

Defined in: packages/core/src/reference-lines.ts:43

Options of every reference line of the main series, by kind: previous close, visible high, low and average, bid, ask and extended hours.

Properties ​

ask ​

ask: ReferenceLineOptions

Defined in: packages/core/src/reference-lines.ts:55

Best ask of the latest quote.


average ​

average: ReferenceLineOptions

Defined in: packages/core/src/reference-lines.ts:51

Average close of the visible bars.


bid ​

bid: ReferenceLineOptions

Defined in: packages/core/src/reference-lines.ts:53

Best bid of the latest quote (setQuote or the data source).


extendedHours ​

extendedHours: ExtendedHoursLineOptions

Defined in: packages/core/src/reference-lines.ts:60

Newest price while the newest bar is outside the chart's session. The main last-price label then shows the regular-session close instead.


high ​

high: ReferenceLineOptions

Defined in: packages/core/src/reference-lines.ts:47

Highest high of the visible bars.


low ​

low: ReferenceLineOptions

Defined in: packages/core/src/reference-lines.ts:49

Lowest low of the visible bars.


previousClose ​

previousClose: ReferenceLineOptions

Defined in: packages/core/src/reference-lines.ts:45

Close of the previous trading day (the previous bar on daily and longer bars).