API / reactnative / plot / Plot / Plot
Type Aliases
Ƭ EventMap: EventMap & { invalidated: Rect ; rendered: void ; rendering: void ; resized: void }
Ƭ Options: Object
The plot options
| Name | Type | Description |
|---|---|---|
autorootbounds? | boolean | If true, set automatically root node bounds to the size of the canvas |
autoupdate? | boolean | If true, the plot will automatically update when a node is invalidated |
autoupdateinterval? | number | Auto update time interval. window.requestAnimationFrame will be used if available and autoUpdateInterval not specified |
debuginfo? | boolean | If true, plot will write to console render time in milliseconds |
infiniteautoupdate? | boolean | Enables 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? | Node | The scenegraph root |
suspendupdate? | boolean | Suspend plot update until resumeUpdate is called |