Last updated

API / geotoolkit / plot / Plot / Plot

Namespace: Plot

plot.Plot.Plot

Table of contents

Type Aliases

Contents

Type Aliases

EventMap

Ƭ EventMap: EventMap & { invalidated: Rect ; rendered: void ; rendering: void ; resized: void }


Options

Ƭ Options: Object

The plot options

Type declaration

NameTypeDescription
autorootbounds?booleanIf true, set automatically root node bounds to the size of the canvas
autosize?booleanIf true, canvas element automatically fulfill its parent element Works only in case if single HTMLCanvasElement is used
autoupdate?booleanIf true, the plot will automatically update when a node is invalidated
autoupdateinterval?numberAuto update time interval. window.requestAnimationFrame will be used if available and autoUpdateInterval not specified
canvaselement?HTMLCanvasElementThe canvas to be used as target for rendering
canvassize?numberCanvas size for div element
debuginfo?booleanIf true, plot will write to console render time in milliseconds
divelement?HTMLDivElementOptional div element, which can be provided instead of canvas
infiniteautoupdate?booleanEnables or disables infinite auto update mechanism.
if true, run timer or request animation frame in infinite loop overwise if node is invalidated it will trigger a Plot update/render. if false, browser pixel scale is not updated.
offscreendetection?booleanSuspend auto plot update if canvas is not in the visible part of the page. if this mode is enabled then infiniteautoupdate is enabled automatically
root?NodeThe scenegraph root
suspendupdate?booleanSuspend plot update until resumeUpdate is called