Documentation menu

Interface

ChartCreateOptions

Options of FerroChart.create.

Properties

NameTypeDescription
theme?'light' | 'dark'

Color theme. Default 'light'.

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

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

maxBarSpacing?number

Largest bar spacing when zooming in, CSS px. Default 50; footprint numbers need more than 60, TPO letters several hundred.

Declaration

export interface ChartCreateOptions {
    theme?: 'light' | 'dark';
    renderer?: 'auto' | 'webgpu' | 'webgl2';
    maxBarSpacing?: number;
    attributionLogo?: boolean;
}

Used by

FerroChart