Rect yAxisRect(int pane) { final plot = plotRect(pane); return Rect.fromLTWH(axisLeft ? 0 : plot.right, plot.top, yAxisWidth, plot.height); }