Interface ChartWatermarkOptions

Optional background text. Blank text follows the chart's symbol and interval.

interface ChartWatermarkOptions {
    color?: string;
    font?: string;
    fontSize?: number;
    id?: string;
    opacity?: number;
    text?: string;
    visible?: boolean;
    zOrder?: ZOrder;
}

Hierarchy

Properties

color?: string

Default a neutral grey that works on either theme.

font?: string
fontSize?: number

Cap height in px at the plot's natural size, scaled down on a narrow chart so a long word never runs past the edges. Default 64.

id?: string
opacity?: number

0..1. Default 0.08, which reads as present without competing with bars.

text?: string

The word itself. Kept short: it is read at a glance, not studied.

visible?: boolean
zOrder?: ZOrder

Below the series by default. A mode marker that covered the candles would be worse than no marker, since the candles are what the mode is about.