zoomAt method
Zoomed by factor with the position under px (from the plot's left)
staying under it.
Implementation
GraphViewport zoomAt(double px, double factor, double width, {double min = 0.5, double max = 80}) {
final next = (barSpacing * factor).clamp(min, max);
final right = width - px;
return GraphViewport(barSpacing: next, rightOffset: rightOffset - right / barSpacing + right / next);
}