types.RuntimeMarkerSeries#
Describes a sparse marker series in RuntimeOutput.markerSeries.
SYNTAX#
interface RuntimeMarkerSeries { kind: 'marker'; name: string; positions: { barIndex: number; value: number }[]; shape: PlotMarkerShape; color: string; size: number; }ARGUMENTS#
kind('marker') — Discriminator — always the stringmarker.name(string) — Series identifier.positions({ barIndex: number; value: number }[]) — One entry per emission, ordered bybarIndex.shape(PlotMarkerShape) — One ofcircle,square,triangle,triangle-down,diamond,cross,x.color(string) — Glyph color.size(number) — Half-width / radius in pixels.
RETURNS#
Type definition.
EXAMPLE#
{ kind: 'marker', name: 'breakout', positions: [{ barIndex: 42, value: 50100 }], shape: 'triangle', color: '#26a69a', size: 8 }