@@ -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 = [];
@@ -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
@@ -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 class="section">
<h5>Axis</h5>