GraphViewport class
Methods
-
afterAppend(int appended, {required bool follow})
→ GraphViewport
-
After
appended new rows: a view at the end follows them, any other
stays on the rows it shows.
-
clamp(int count, double width, {int keep = 2})
→ GraphViewport
-
Kept so that at least
keep rows stay in view on either side.
-
from(int count, double width)
→ double
-
The position at the plot's left edge.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
pan(double dx)
→ GraphViewport
-
Dragged by
dx pixels (to the right shows older rows).
-
to(int count)
→ double
-
The position at the plot's right edge.
-
toString()
→ String
-
A string representation of this object.
override
-
visible(int count, double width)
→ (int, int)
-
The first and last rows at least partly in view;
(0, -1) for none.
-
zoomAt(double px, double factor, double width, {double min = 0.5, double max = 80})
→ GraphViewport
-
Zoomed by
factor with the position under px (from the plot's left)
staying under it.