Skip to content

PlotOptions

Defined in: map/plot.ts:7

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:87

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:99

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:85

BaseEngineOptions.height


optional tooltipClass?: string

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

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

BaseEngineOptions.tooltipClass


optional width?: number

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

BaseEngineOptions.width