Skip to content

charton API


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

Function: sourceMarkers() ​

sourceMarkers(): ChartPlugin

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

Plugin that fetches the data source's markers (DataSource.markers) for the visible range: chart.sourceMarkers and the sourcemarkers:* events, named after them. They draw through annotations(). Without it the chart never asks for them.

Returns ​

ChartPlugin