mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
heatmap: hide unused Y axis controls for tsbuckets mode
This commit is contained in:
parent
76c684cc01
commit
d6087eb5f4
@ -9,25 +9,27 @@
|
|||||||
dropdown-typeahead-on-select="editor.setUnitFormat($subItem)">
|
dropdown-typeahead-on-select="editor.setUnitFormat($subItem)">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="gf-form">
|
<div ng-if="ctrl.panel.dataFormat == 'timeseries'">
|
||||||
<label class="gf-form-label width-8">Scale</label>
|
<div class="gf-form">
|
||||||
<div class="gf-form-select-wrapper width-12">
|
<label class="gf-form-label width-8">Scale</label>
|
||||||
<select class="gf-form-input" ng-model="ctrl.panel.yAxis.logBase" ng-options="v as k for (k, v) in editor.logScales" ng-change="ctrl.refresh()"></select>
|
<div class="gf-form-select-wrapper width-12">
|
||||||
|
<select class="gf-form-input" ng-model="ctrl.panel.yAxis.logBase" ng-options="v as k for (k, v) in editor.logScales" ng-change="ctrl.refresh()"></select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="gf-form">
|
||||||
|
<label class="gf-form-label width-8">Y-Min</label>
|
||||||
|
<input type="text" class="gf-form-input width-12" placeholder="auto" empty-to-null ng-model="ctrl.panel.yAxis.min" ng-change="ctrl.render()" ng-model-onblur>
|
||||||
|
</div>
|
||||||
|
<div class="gf-form">
|
||||||
|
<label class="gf-form-label width-8">Y-Max</label>
|
||||||
|
<input type="text" class="gf-form-input width-12" placeholder="auto" empty-to-null ng-model="ctrl.panel.yAxis.max" ng-change="ctrl.render()" ng-model-onblur>
|
||||||
|
</div>
|
||||||
|
<div class="gf-form">
|
||||||
|
<label class="gf-form-label width-8">Decimals</label>
|
||||||
|
<input type="number" class="gf-form-input width-12" placeholder="auto" data-placement="right"
|
||||||
|
bs-tooltip="'Override automatic decimal precision for axis.'"
|
||||||
|
ng-model="ctrl.panel.yAxis.decimals" ng-change="ctrl.render()" ng-model-onblur>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="gf-form">
|
|
||||||
<label class="gf-form-label width-8">Y-Min</label>
|
|
||||||
<input type="text" class="gf-form-input width-12" placeholder="auto" empty-to-null ng-model="ctrl.panel.yAxis.min" ng-change="ctrl.render()" ng-model-onblur>
|
|
||||||
</div>
|
|
||||||
<div class="gf-form">
|
|
||||||
<label class="gf-form-label width-8">Y-Max</label>
|
|
||||||
<input type="text" class="gf-form-input width-12" placeholder="auto" empty-to-null ng-model="ctrl.panel.yAxis.max" ng-change="ctrl.render()" ng-model-onblur>
|
|
||||||
</div>
|
|
||||||
<div class="gf-form">
|
|
||||||
<label class="gf-form-label width-8">Decimals</label>
|
|
||||||
<input type="number" class="gf-form-input width-12" placeholder="auto" data-placement="right"
|
|
||||||
bs-tooltip="'Override automatic decimal precision for axis.'"
|
|
||||||
ng-model="ctrl.panel.yAxis.decimals" ng-change="ctrl.render()" ng-model-onblur>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user