mozilla/graphs — pull request #4 by rniwa (2012-04-01 23:50:18+00:00)
Title: Add support for y-axis zooming

Add support for y-axis zooming. Changed the plot's selection type from x to xy to allow selection in the y-axis. Renamed zoomFrom and zoomTo to zoomXFrom and zoomXTo, and added zoomYFrom and zoomYTo to GraphCommon, and added y-axis range parameter to GraphCommon.zoomToRange to adjust y-axis optionally. Also renamed GraphCommon.getZoomRange to getZoomXRange for clarity. Finally, changed the min value of the overview plot to 0 for running graphs so that y-axis selection can be made regardless of what plot adjusts the default y-axis range to be.