fix(singestat): fixed missing sparklines, caused by recent changes to time range handling, fixes #2815

This commit is contained in:
Torkel Ödegaard 2015-09-24 11:36:25 +02:00 committed by Mitsuhiro Tanda
parent 9ae6ac25f5
commit a3748d4b97

View File

@ -122,8 +122,8 @@ function (angular, app, _, $) {
xaxis: {
show: false,
mode: "time",
min: scope.range.from.getTime(),
max: scope.range.to.getTime(),
min: scope.range.from.valueOf(),
max: scope.range.to.valueOf(),
},
grid: { hoverable: false, show: false },
};