-
Notifications
You must be signed in to change notification settings - Fork 33
Update layout & rendering algorithms for plot
Plot exposes following methods affecting layout and rendering:
-
updateLayoutandrequestUpdateLayoutupdate screen positions and sizes of children DOM elements of the plot in accordance with the current screen size of the master plot’s host DIV element and the current visible rectangle in plot coordinates. TherequestUpdateLayoutis an async version of the method which allows to perform only most recent update, and thus improve interactivity for low-frame rate rendering. -
requestNextFrame(plot)invalidates the given plot and asynchronously requests rendering for it in current visible rectangle. -
requestNextFrameOrUpdate()is intended to be called from derived plots. This method efficiently invalidates the plot; * If auto-fit mode is enabled, and bounding box or padding changed, layout update is requested. * Otherwise, next frame is requested.
Home
FAQ
UI Guidelines
Export to SVG
Plot
Figure
Chart
ChartViewer
Polyline
Markers
Area
Heatmap
DOM Plot
Labels
Bing Maps
Intro
General bindings
Area plot
Bars plot
Polyline
Heatmap
Markers
Label plot
Box and whisker plot
Petals and BullEye plot
Axis
Palette Editor
Update layout
Axes
Legend
Color Palette
Navigation
Bound Plots
Tooltips and Probes