mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge pull request #183 from merc1031/master
round up maxDataPoints to nearest integer in request. graphite 0.9.x and...
This commit is contained in:
@@ -230,7 +230,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
|
||||
$scope.updateTimeRange = function () {
|
||||
$scope.range = filterSrv.timeRange();
|
||||
$scope.rangeUnparsed = filterSrv.timeRange(false);
|
||||
$scope.resolution = ($(window).width() * ($scope.panel.span / 12)) / 2;
|
||||
$scope.resolution = Math.ceil(($(window).width() * ($scope.panel.span / 12)) / 2);
|
||||
$scope.interval = '10m';
|
||||
|
||||
if ($scope.range) {
|
||||
|
||||
Reference in New Issue
Block a user