showLast static method
The view that shows the last rows rows across width.
Implementation
static GraphViewport showLast(int rows, double width, {double rightOffset = 0}) =>
GraphViewport(barSpacing: width / math.max(1, rows + rightOffset), rightOffset: rightOffset);