limit time interval to [1.1.1970;now] to (related to bug #80)
This commit is contained in:
parent
46c11577c1
commit
25f3188b56
1 changed files with 4 additions and 0 deletions
|
@ -252,6 +252,10 @@ vz.wui.zoom = function(from, to) {
|
|||
vz.options.plot.xaxis.min = new Date().getTime() - delta;
|
||||
}
|
||||
|
||||
if (vz.options.plot.xaxis.min < 0) {
|
||||
vz.options.plot.xaxis.min = 0;
|
||||
}
|
||||
|
||||
vz.options.plot.yaxis.max = null; // autoscaling
|
||||
vz.options.plot.yaxis.min = 0; // fixed to 0
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue