| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <div class="editor-row">
- <div class="section gf-form-group">
- <h5 class="section-heading">Y Axis</h5>
- <div class="gf-form">
- <label class="gf-form-label width-6">Unit</label>
- <div class="gf-form-dropdown-typeahead max-width-15"
- ng-model="ctrl.panel.yAxis.format"
- dropdown-typeahead2="editor.unitFormats"
- dropdown-typeahead-on-select="editor.setUnitFormat($subItem)">
- </div>
- </div>
- <div class="gf-form">
- <label class="gf-form-label width-6">Scale</label>
- <div class="gf-form-select-wrapper max-width-15">
- <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-inline">
- <div class="gf-form">
- <label class="gf-form-label width-6">Y-Min</label>
- <input type="text" class="gf-form-input width-5" 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">Y-Max</label>
- <input type="text" class="gf-form-input width-5" placeholder="auto" empty-to-null ng-model="ctrl.panel.yAxis.max" ng-change="ctrl.render()" ng-model-onblur>
- </div>
- </div>
- <div class="gf-form">
- <label class="gf-form-label width-6">Decimals</label>
- <input type="number" class="gf-form-input width-10" 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 ng-show="ctrl.panel.yAxis.logBase === 1">
- <div class="gf-form-inline">
- <div class="gf-form">
- <label class="gf-form-label width-6">Buckets
- <info-popover mode="right-normal">Number of buckets for Y axis</info-popover>
- </label>
- <metric-segment-model css-class="width-10" property="ctrl.panel.yAxis.buckets" options="editor.yBucketOptions" on-change="ctrl.render()" select-mode="true"></metric-segment>
- </div>
- </div>
- </div>
- <div ng-show="ctrl.panel.yAxis.logBase !== 1">
- <div class="gf-form">
- <label class="gf-form-label width-7">Split Buckets</label>
- <input type="number" class="gf-form-input width-10" placeholder="1" data-placement="right"
- bs-tooltip="'For log scales only. By default Y values is splitted by integer powers of log base (1, 2, 4, 8, 16, ... for log2). This option allows to split each default bucket into specified number of buckets.'"
- ng-model="ctrl.panel.yAxis.splitFactor" ng-change="ctrl.refresh()" ng-model-onblur>
- </div>
- </div>
- </div>
- <div class="section gf-form-group">
- <h5 class="section-heading">X Axis</h5>
- <div class="gf-form">
- <label class="gf-form-label width-6">Buckets</label>
- <input type="number" class="gf-form-input width-8" placeholder="auto" data-placement="right"
- bs-tooltip="'Number of buckets for X axis.'"
- ng-model="ctrl.panel.xBucketNumber" ng-change="ctrl.refresh()" ng-model-onblur>
- </div>
- </div>
- <div class="section gf-form-group">
- <h5 class="section-heading">Data format</h5>
- <div class="gf-form">
- <label class="gf-form-label width-5">Format</label>
- <div class="gf-form-select-wrapper max-width-15">
- <select class="gf-form-input" ng-model="ctrl.panel.dataFormat" ng-options="v as k for (k, v) in editor.dataFormats" ng-change="ctrl.render()"></select>
- </div>
- </div>
- </div>
- </div>
|