Interface LogoWatermarkOptions

interface LogoWatermarkOptions {
    height?: number;
    image?: CanvasImageSource & { width: number; height: number; };
    margin?: number;
    opacity?: number;
    position?: WatermarkPosition;
    src?: string;
    tint?: string;
    zOrder?: ZOrder;
}

Properties

height?: number

Rendered logo height in px; width follows the source aspect. Default 28.

image?: CanvasImageSource & { width: number; height: number; }

A preloaded image/bitmap to draw (skips loading).

margin?: number

Gap from the plot edges in px. Default 12.

opacity?: number

0..1. Default 0.7.

Corner (or center) to anchor to. Default bottom-right.

src?: string

Image URL or data URI. Ignored when image is provided.

tint?: string

Recolor the opaque pixels to this color (e.g. a faint theme gray).

zOrder?: ZOrder

Layer order vs the series. Default top.