heatmap: hide unused Y axis controls for tsbuckets mode

This commit is contained in:
Alexander Zobnin 2018-02-28 16:30:00 +03:00
parent 76c684cc01
commit d6087eb5f4

View File

@ -9,6 +9,7 @@
dropdown-typeahead-on-select="editor.setUnitFormat($subItem)">
</div>
</div>
<div ng-if="ctrl.panel.dataFormat == 'timeseries'">
<div class="gf-form">
<label class="gf-form-label width-8">Scale</label>
<div class="gf-form-select-wrapper width-12">
@ -30,6 +31,7 @@
ng-model="ctrl.panel.yAxis.decimals" ng-change="ctrl.render()" ng-model-onblur>
</div>
</div>
</div>
<div class="section gf-form-group" ng-if="ctrl.panel.dataFormat == 'timeseries'">
<h5 class="section-heading">Buckets</h5>