Skip to content

charton API


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

Function: referenceLines() ​

referenceLines(): ChartPlugin

Defined in: packages/core/src/builtins.ts:342

Plugin that draws the main series' reference lines (chart.referenceLines and the referenceLines option): previous close, the visible high, low and average close, bid and ask from the data source's quotes, and the newest extended-hours price. Without it the option draws nothing.

Returns ​

ChartPlugin