Commit a118cf42 by Rashid Khan

Fix for histogram without time filter

parent a6921ab2
...@@ -327,8 +327,8 @@ angular.module('kibana.histogram', []) ...@@ -327,8 +327,8 @@ angular.module('kibana.histogram', [])
timezone: scope.panel.timezone, timezone: scope.panel.timezone,
show: scope.panel['x-axis'], show: scope.panel['x-axis'],
mode: "time", mode: "time",
min: scope.range.from.getTime(), min: _.isUndefined(scope.range.from) ? null : scope.range.from.getTime(),
max: scope.range.to.getTime(), max: _.isUndefined(scope.range.to) ? null : scope.range.to.getTime(),
timeformat: time_format(scope.panel.interval), timeformat: time_format(scope.panel.interval),
label: "Datetime", label: "Datetime",
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment