Removed pointless setting "selectable" (interactive)

This commit is contained in:
Torkel Ödegaard 2014-02-05 08:56:10 +01:00
parent 212bf5df98
commit 80c5f99f3b
3 changed files with 4 additions and 11 deletions

View File

@ -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 = [];

View File

@ -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

View File

@ -19,9 +19,6 @@
<div class="editor-option">
<label class="small">Points</label><input type="checkbox" ng-model="panel.points" ng-checked="panel.points" ng-change="render()">
</div>
<div class="editor-option">
<label class="small">Selectable</label><input type="checkbox" ng-model="panel.interactive" ng-checked="panel.interactive">
</div>
</div>
<div class="section">
<h5>Axis</h5>