diff --git a/src/plugins/kibana/public/dashboard/components/panel/panel.html b/src/plugins/kibana/public/dashboard/components/panel/panel.html
index 586324b42160..b23b4aea78c0 100644
--- a/src/plugins/kibana/public/dashboard/components/panel/panel.html
+++ b/src/plugins/kibana/public/dashboard/components/panel/panel.html
@@ -28,6 +28,7 @@
diff --git a/src/plugins/kibana/public/visualize/editor/editor.html b/src/plugins/kibana/public/visualize/editor/editor.html
index 1f9bd00591ae..6b9d551b30a2 100644
--- a/src/plugins/kibana/public/visualize/editor/editor.html
+++ b/src/plugins/kibana/public/visualize/editor/editor.html
@@ -126,8 +126,8 @@
-
-
+
diff --git a/src/ui/public/visualize/visualize.html b/src/ui/public/visualize/visualize.html
index 4b04f4b739a8..15b504724499 100644
--- a/src/ui/public/visualize/visualize.html
+++ b/src/ui/public/visualize/visualize.html
@@ -11,4 +11,4 @@ No results found
ng-class="{ loading: vis.type.requiresSearch && searchSource.activeFetchCount > 0 }"
class="visualize-chart">
-
\ No newline at end of file
+
diff --git a/src/ui/public/visualize/visualize.js b/src/ui/public/visualize/visualize.js
index af36b581a891..9d8bec05af23 100644
--- a/src/ui/public/visualize/visualize.js
+++ b/src/ui/public/visualize/visualize.js
@@ -16,6 +16,7 @@ define(function (require) {
return {
restrict: 'E',
scope : {
+ showSpyPanel: '=?',
vis: '=',
editableVis: '=?',
esResp: '=?',
@@ -26,6 +27,10 @@ define(function (require) {
var chart; // set in "vis" watcher
var minVisChartHeight = 180;
+ if (_.isUndefined($scope.showSpyPanel)) {
+ $scope.showSpyPanel = true;
+ }
+
function getter(selector) {
return function () {
var $sel = $el.find(selector);