Skip to content

charton API


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

Function: annotations() ​

annotations(): ChartPlugin

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

Plugin that adds annotations (chart.annotations): bar markers, price, trade, alert and draft lines, zones, bands and text labels. The data source's marks and time marks, corporate action markers and indicator shape plots draw through it too. Trade fills come with trading().

Returns ​

ChartPlugin