I am using dygraphs for charting temperature and humidity values of thermal chambers taken at one minute intervals. I allow the user to programmatically specify the Y-axis extremes if desired.
If the temperature range is -40 to +100 degrees, the user can select a range of -50 to -30 degrees to highlight this area. If the user attempts to interactively zoom in further, the y-axis jumps to something like the -400 degree range.
I suspect the math being performed is not using the displayed y-axis extremes. The same is also true for looking at points in the extreme positive range also.