Documentation menu

Interface

PlotCreateOptions

Options of FerroPlot.create.

Properties

NameTypeDescription
theme?'light' | 'dark'

Color theme. Default 'light'.

renderer?'auto' | 'webgpu' | 'webgl2'

GPU API. 'auto' (default) tries WebGPU, then WebGL2.

crosshair?boolean

Crosshair lines through the hovered element. Default false.

hoverHighlight?boolean

Highlight the hovered element. Default true.

Declaration

export interface PlotCreateOptions {
    theme?: 'light' | 'dark';
    renderer?: 'auto' | 'webgpu' | 'webgl2';
    crosshair?: boolean;
    hoverHighlight?: boolean;
    attributionLogo?: boolean;
}

Used by

FerroPlot