Commit 0efafc50 by Torkel Ödegaard

Increased resolution for graphite datapoints (maxDataPoints), now equal to panel…

Increased resolution for graphite datapoints (maxDataPoints), now equal to panel pixel width. (Closes #5)
parent 125db177
......@@ -2,6 +2,8 @@
- InfluxDB enhancement: support for multiple hosts (with retries) and raw queries (Issue #318, thx @toddboom)
- Added rounding for graphites from and to time range filters
for very short absolute ranges (Issue #320)
- Increased resolution for graphite datapoints (maxDataPoints), now equal to panel pixel width. (Closes #5)
# 1.5.3 (2014-04-17)
- Add support for async scripted dashboards (Issue #274)
......
......@@ -230,7 +230,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
$scope.updateTimeRange = function () {
$scope.range = filterSrv.timeRange();
$scope.rangeUnparsed = filterSrv.timeRange(false);
$scope.resolution = Math.ceil(($(window).width() * ($scope.panel.span / 12)) / 2);
$scope.resolution = Math.ceil($(window).width() * ($scope.panel.span / 12));
$scope.interval = '10m';
if ($scope.range) {
......
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