Skip to content

PlotOptions

Defined in: map/plot.ts:14

Plot adds no engine-level options of its own — all of BaseEngineOptions (sizing, backend, tooltipClass) apply.

optional aspectRatio?: number

Defined in: map/base-engine.ts:242

width ÷ height. When set, the engine is width-driven and keeps this ratio on resize.

BaseEngineOptions.aspectRatio


optional backend?: BackendType

Defined in: map/base-engine.ts:254

Which renderer to draw with — see BackendType. Defaults to "webgl". Use "auto" for an instant Canvas first paint that upgrades to WebGL in the background.

BaseEngineOptions.backend


optional height?: number

Defined in: map/base-engine.ts:240

BaseEngineOptions.height


optional tooltipClass?: string

Defined in: map/base-engine.ts:256

Class(es) for the hover tooltip box, replacing its default inline look.

BaseEngineOptions.tooltipClass


optional width?: number

Defined in: map/base-engine.ts:239

BaseEngineOptions.width