mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Removed pointless setting "selectable" (interactive)
This commit is contained in:
parent
212bf5df98
commit
80c5f99f3b
@ -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>
|
||||
<div class="section">
|
||||
<h5>Axis</h5>
|
||||
|
Loading…
Reference in New Issue
Block a user