Skip to content

Commit

Permalink
Disable brushing everywhere except Discover, disable legend on discover
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashid Khan committed Sep 22, 2014
1 parent 31b0f9a commit 03950cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/kibana/apps/discover/controllers/discover.js
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,10 @@ define(function (require) {
// TODO: a legit way to update the index pattern
$scope.vis = new Vis($scope.searchSource.get('index'), {
type: 'histogram',
vislibParams: {
addLegend: false,
addBrushing: true,
},
listeners: {
click: function (e) {
console.log(e);
Expand Down
2 changes: 1 addition & 1 deletion src/kibana/components/vis_types/histogram.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ define(function (require) {
shareYAxis: true,
addTooltip: true,
addLegend: true,
addBrushing: true
addBrushing: false,
},
schemas: new Schemas([
{
Expand Down

0 comments on commit 03950cf

Please sign in to comment.