pan method
Dragged by dx pixels (to the right shows older rows).
Implementation
GraphViewport pan(double dx) => GraphViewport(barSpacing: barSpacing, rightOffset: rightOffset - dx / barSpacing);
Dragged by dx pixels (to the right shows older rows).
GraphViewport pan(double dx) => GraphViewport(barSpacing: barSpacing, rightOffset: rightOffset - dx / barSpacing);