Defined in: packages/core/src/viewport/Viewport.ts:7
A visible window (x0..x1, y0..y1) onto a data extent (xMin..xMax, yMin..yMax), in data
coordinates — the pan/zoom state of every component. Plain JSON, so it can live in a store or
cross the Jupyter bridge unchanged.
| Property |
Type |
Description |
x0 |
number |
Left edge of the visible window, in data coordinates. |
x1 |
number |
Right edge of the visible window, in data coordinates. |
y0 |
number |
Top edge of the visible window, in data coordinates. |
y1 |
number |
Bottom edge of the visible window, in data coordinates. |
xMin |
number |
Left bound of the full data extent. |
xMax |
number |
Right bound of the full data extent. |
yMin |
number |
Top bound of the full data extent. |
yMax |
number |
Bottom bound of the full data extent. |