Last updated

API / reactnative / 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
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
debuginfo?booleanIf true, plot will write to console render time in milliseconds
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.
root?NodeThe scenegraph root
suspendupdate?booleanSuspend plot update until resumeUpdate is called