Closed damiencorpataux closed 10 years ago
This is due to the graph start/end timestamps. When fully zoomed in, start = end. This causes the timespan calculation to fail.
A solution would be to disallow zooming in further than a specified positive integer (>=1). The zoom in should be aborted if the calculated new_end - new_start < 1 This can be done:
Once the graph has reached it's full zomm in, the zoom out has no effect anymore (the graph stays fully zoomed)