mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fix for histogram without time filter
This commit is contained in:
parent
a6921ab2a7
commit
a118cf42ae
@ -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",
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user