interface SeriesMarker {
    bold?: boolean;
    color: string;
    fontFamily?: string;
    fontSize?: number;
    id?: string;
    italic?: boolean;
    position: MarkerPosition;
    price?: number;
    shape: MarkerShape;
    size: MarkerSize;
    text?: string;
    textAlign?: "center" | "left" | "right";
    textColor?: string;
    time: number;
}

Properties

bold?: boolean

Label plates default to semibold; other marker text defaults to normal.

color: string
fontFamily?: string

CSS font-family list. Defaults to system-ui, sans-serif.

fontSize?: number

Positive finite CSS pixels. Defaults to max(9, the size preset), independently of bar spacing.

id?: string
italic?: boolean
position: MarkerPosition
price?: number
text?: string
textAlign?: "center" | "left" | "right"

Multiline row alignment inside the centered text block. Defaults to center.

textColor?: string

Overrides marker-matching text or contrasting label text without changing the glyph fill.

time: number