From 80c5f99f3be8c14da05c42975f82227f4c10466a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 5 Feb 2014 08:56:10 +0100 Subject: [PATCH] Removed pointless setting "selectable" (interactive) --- src/app/directives/grafanaGraph.js | 8 ++++---- src/app/panels/graphite/module.js | 4 ---- src/app/panels/graphite/styleEditor.html | 3 --- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/src/app/directives/grafanaGraph.js b/src/app/directives/grafanaGraph.js index 9f873520427..f04e23aab26 100644 --- a/src/app/directives/grafanaGraph.js +++ b/src/app/directives/grafanaGraph.js @@ -130,15 +130,15 @@ function (angular, $, kbn, moment, _) { borderWidth: 0, hoverable: true, color: '#c8c8c8' + }, + selection: { + mode: "x", + color: '#666' } }; addAnnotations(options); - if(scope.panel.interactive) { - options.selection = { mode: "x", color: '#666' }; - } - // when rendering stacked bars, we need to ensure each point that has data is zero-filled // so that the stacking happens in the proper order var required_times = []; diff --git a/src/app/panels/graphite/module.js b/src/app/panels/graphite/module.js index e98661c33fd..c315e2eb412 100644 --- a/src/app/panels/graphite/module.js +++ b/src/app/panels/graphite/module.js @@ -179,10 +179,6 @@ function (angular, app, $, _, kbn, moment, timeSeries) { * legend:: Display the legond */ legend : true, - /** @scratch /panels/histogram/3 - * interactive:: Enable click-and-drag to zoom functionality - */ - interactive : true, /** @scratch /panels/histogram/3 * ==== Transformations * timezone:: Correct for browser timezone?. Valid values: browser, utc diff --git a/src/app/panels/graphite/styleEditor.html b/src/app/panels/graphite/styleEditor.html index c44dcfa5a19..9e73e395ded 100644 --- a/src/app/panels/graphite/styleEditor.html +++ b/src/app/panels/graphite/styleEditor.html @@ -19,9 +19,6 @@
-
- -
Axis