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)
This commit is contained in:
Torkel Ödegaard 2014-06-06 11:23:17 +02:00
parent af1855601b
commit ea84149c87
2 changed files with 4 additions and 2 deletions

View File

@ -20,6 +20,8 @@ vNext
- 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 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)
### New features and improvements

View File

@ -264,7 +264,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
.then($scope.dataHandler)
.then(null, function(err) {
$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.render([]);
});
@ -356,7 +356,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
$scope.hiddenSeries[serie.alias] = true;
}
if (event.ctrlKey) {
if (event.ctrlKey || event.metaKey || event.shiftKey) {
$scope.toggleSeriesExclusiveMode(serie);
}