Commit ea84149c by Torkel Ödegaard

Fix for exclusive series toggling (hold down CTRL, SHIFT or META key) and left…

Fix for exclusive series toggling (hold down CTRL, SHIFT or META key) and left click a series for exclusive toggling
  CTRL does not work on MAC OSX but SHIFT or META should (depending on browser) (Closes #350, Fixes #472)
parent af185560
...@@ -20,6 +20,8 @@ vNext ...@@ -20,6 +20,8 @@ vNext
- Legend Current value did not display when value was zero, Fixes #460 - Legend Current value did not display when value was zero, Fixes #460
- Fix to series toggling bug that caused annotations to be hidden when toggling (hiding) series. Fixes #328 - Fix to series toggling bug that caused annotations to be hidden when toggling (hiding) series. Fixes #328
- Fix for graphite function selection menu that some times draws outside screen. It now displays upward (Fixes #293) - Fix for graphite function selection menu that some times draws outside screen. It now displays upward (Fixes #293)
- Fix for exclusive series toggling (hold down CTRL, SHIFT or META key) and left click a series for exclusive toggling
CTRL does not work on MAC OSX but SHIFT or META should (depending on browser) (Closes #350, Fixes #472)
# 1.5.4 (2014-05-13) # 1.5.4 (2014-05-13)
### New features and improvements ### New features and improvements
......
...@@ -264,7 +264,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) { ...@@ -264,7 +264,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
.then($scope.dataHandler) .then($scope.dataHandler)
.then(null, function(err) { .then(null, function(err) {
$scope.panelMeta.loading = false; $scope.panelMeta.loading = false;
$scope.panel.error = err.message || "Graphite HTTP Request Error"; $scope.panel.error = err.message || "Timeseries data request error";
$scope.inspector.error = err; $scope.inspector.error = err;
$scope.render([]); $scope.render([]);
}); });
...@@ -356,7 +356,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) { ...@@ -356,7 +356,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
$scope.hiddenSeries[serie.alias] = true; $scope.hiddenSeries[serie.alias] = true;
} }
if (event.ctrlKey) { if (event.ctrlKey || event.metaKey || event.shiftKey) {
$scope.toggleSeriesExclusiveMode(serie); $scope.toggleSeriesExclusiveMode(serie);
} }
......
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