OptionalcolorCSS color. Defaults to the theme text color.
Stable id (for removal / dedupe).
OptionalpositionVertical placement relative to the candle. Default 'above'.
OptionalpricePrice used when position === 'inline'. Defaults to the candle close.
OptionalshapeGlyph to draw. Default 'circle'.
OptionalsizeGlyph size in px. Defaults to MARKER_SIZE.
OptionaltextOptional short label drawn next to the glyph.
Unix-seconds timestamp of the candle this marker annotates.
A point annotation pinned to a single candle by its timestamp. Unlike drawings (anchored by buffer index), markers anchor by
timeso they survive history prepends andmaxCandleseviction without any index bookkeeping — the renderer resolves the candle by time each frame.Markeris a plain JSON-safe object; the array IS its serialized form, so there is no separate snapshot type.