|
|
@@ -1,10 +1,10 @@
|
|
|
|
|
|
<div class="editor-row">
|
|
|
- <div class="section">
|
|
|
+ <div class="section" style="margin-bottom: 20px">
|
|
|
<div class="grafana-target">
|
|
|
<div class="grafana-target-inner">
|
|
|
<ul class="grafana-segment-list">
|
|
|
- <li class="grafana-target-segment" style="width: 90px">
|
|
|
+ <li class="grafana-target-segment" style="width: 100px">
|
|
|
<strong>Left Y</strong>
|
|
|
</li>
|
|
|
<li class="grafana-target-segment">
|
|
|
@@ -19,7 +19,7 @@
|
|
|
Grid Max
|
|
|
</li>
|
|
|
<li>
|
|
|
- <input type="text" class="input-small grafana-target-segment-input" placeholder="auto"
|
|
|
+ <input type="number" class="input-small grafana-target-segment-input" placeholder="auto"
|
|
|
empty-to-null ng-model="panel.grid.leftMax"
|
|
|
ng-change="render()" ng-model-onblur>
|
|
|
</li>
|
|
|
@@ -27,7 +27,7 @@
|
|
|
Min
|
|
|
</li>
|
|
|
<li>
|
|
|
- <input type="text" class="input-small grafana-target-segment-input" placeholder="auto"
|
|
|
+ <input type="number" class="input-small grafana-target-segment-input" placeholder="auto"
|
|
|
empty-to-null ng-model="panel.grid.leftMin"
|
|
|
ng-change="render()" ng-model-onblur>
|
|
|
</li>
|
|
|
@@ -35,7 +35,7 @@
|
|
|
Label
|
|
|
</li>
|
|
|
<li>
|
|
|
- <input type="text" class="input-small grafana-target-segment-input" placeholder="auto"
|
|
|
+ <input type="text" class="input-small grafana-target-segment-input"
|
|
|
ng-model="panel.leftYAxisLabel" ng-change="render()" ng-model-onblur>
|
|
|
</li>
|
|
|
</ul>
|
|
|
@@ -43,7 +43,7 @@
|
|
|
</div>
|
|
|
<div class="grafana-target-inner">
|
|
|
<ul class="grafana-segment-list">
|
|
|
- <li class="grafana-target-segment" style="width: 90px">
|
|
|
+ <li class="grafana-target-segment" style="width: 100px">
|
|
|
<strong>Right Y</strong>
|
|
|
</li>
|
|
|
<li class="grafana-target-segment">
|
|
|
@@ -58,7 +58,7 @@
|
|
|
Grid Max
|
|
|
</li>
|
|
|
<li>
|
|
|
- <input type="text" class="input-small grafana-target-segment-input" placeholder="auto"
|
|
|
+ <input type="number" class="input-small grafana-target-segment-input" placeholder="auto"
|
|
|
empty-to-null ng-model="panel.grid.rightMax"
|
|
|
ng-change="render()" ng-model-onblur>
|
|
|
</li>
|
|
|
@@ -66,7 +66,7 @@
|
|
|
Min
|
|
|
</li>
|
|
|
<li>
|
|
|
- <input type="text" class="input-small grafana-target-segment-input" placeholder="auto"
|
|
|
+ <input type="number" class="input-small grafana-target-segment-input" placeholder="auto"
|
|
|
empty-to-null ng-model="panel.grid.rightMin"
|
|
|
ng-change="render()" ng-model-onblur>
|
|
|
</li>
|
|
|
@@ -74,15 +74,20 @@
|
|
|
Label
|
|
|
</li>
|
|
|
<li>
|
|
|
- <input type="text" class="input-small grafana-target-segment-input" placeholder="auto"
|
|
|
+ <input type="text" class="input-small grafana-target-segment-input"
|
|
|
ng-model="panel.rightYAxisLabel" ng-change="render()" ng-model-onblur>
|
|
|
</li>
|
|
|
</ul>
|
|
|
<div class="clearfix"></div>
|
|
|
</div>
|
|
|
- <div class="grafana-target-inner">
|
|
|
- <ul class="grafana-segment-list">
|
|
|
- <li class="grafana-target-segment" style="width: 90px">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="section" style="margin-bottom: 20px">
|
|
|
+ <div class="grafana-target">
|
|
|
+ <div class="grafana-target-inner">
|
|
|
+ <ul class="grafana-segment-list">
|
|
|
+ <li class="grafana-target-segment" style="width: 100px">
|
|
|
<strong>Show Axis</strong>
|
|
|
</li>
|
|
|
<li class="grafana-target-segment">
|
|
|
@@ -100,24 +105,17 @@
|
|
|
</ul>
|
|
|
<div class="clearfix"></div>
|
|
|
</div>
|
|
|
-
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-</div>
|
|
|
-
|
|
|
-<div class="editor-row" style="margin-top: 20px">
|
|
|
- <div class="section">
|
|
|
- <div class="grafana-target">
|
|
|
<div class="grafana-target-inner">
|
|
|
<ul class="grafana-segment-list">
|
|
|
- <li class="grafana-target-segment" style="width: 90px">
|
|
|
+ <li class="grafana-target-segment" style="width: 100px">
|
|
|
<strong>Thresholds</strong>
|
|
|
</li>
|
|
|
<li class="grafana-target-segment">
|
|
|
Level 1
|
|
|
</li>
|
|
|
<li>
|
|
|
- <input type="text" class="input-small grafana-target-segment-input">
|
|
|
+ <input type="number" class="input-small grafana-target-segment-input"
|
|
|
+ ng-model="panel.grid.threshold1" ng-change="render()" ng-model-onblur>
|
|
|
</li>
|
|
|
<li class="grafana-target-segment">
|
|
|
<spectrum-picker ng-model="panel.grid.threshold1Color" ng-change="render()" ></spectrum-picker>
|
|
|
@@ -126,56 +124,93 @@
|
|
|
Level 2
|
|
|
</li>
|
|
|
<li>
|
|
|
- <input type="text" class="input-small grafana-target-segment-input">
|
|
|
+ <input type="number" class="input-small grafana-target-segment-input"
|
|
|
+ ng-model="panel.grid.threshold2" ng-change="render()" ng-model-onblur>
|
|
|
</li>
|
|
|
<li class="grafana-target-segment">
|
|
|
<spectrum-picker ng-model="panel.grid.threshold2Color" ng-change="render()" ></spectrum-picker>
|
|
|
</li>
|
|
|
<li class="grafana-target-segment">
|
|
|
- Line mode
|
|
|
+ Line mode
|
|
|
+ <input class="cr1" id="panel.grid.thresholdLine" type="checkbox"
|
|
|
+ ng-model="panel.grid.thresholdLine" ng-checked="panel.grid.thresholdLine" ng-change="render()">
|
|
|
+ <label for="panel.grid.thresholdLine" class="cr1"></label>
|
|
|
+
|
|
|
</li>
|
|
|
</ul>
|
|
|
<div class="clearfix"></div>
|
|
|
</div>
|
|
|
-
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
-<div class="editor-row" style="margin-top: 20px">
|
|
|
+<div class="editor-row">
|
|
|
<div class="section">
|
|
|
<div class="grafana-target">
|
|
|
<div class="grafana-target-inner">
|
|
|
<ul class="grafana-segment-list">
|
|
|
- <li class="grafana-target-segment" style="width: 90px">
|
|
|
+ <li class="grafana-target-segment" style="width: 100px">
|
|
|
<strong>Legend</strong>
|
|
|
</li>
|
|
|
<li class="grafana-target-segment">
|
|
|
- Show: <input type="checkbox">
|
|
|
+ Show
|
|
|
+ <input class="cr1" id="panel.legend.show" type="checkbox"
|
|
|
+ ng-model="panel.legend.show" ng-checked="panel.legend.show" ng-change="render()">
|
|
|
+ <label for="panel.legend.show" class="cr1"></label>
|
|
|
</li>
|
|
|
<li class="grafana-target-segment">
|
|
|
- Table: <input type="checkbox">
|
|
|
+ Table
|
|
|
+ <input class="cr1" id="panel.legend.alignAsTable" type="checkbox"
|
|
|
+ ng-model="panel.legend.alignAsTable" ng-checked="panel.legend.alignAsTable" ng-change="render()">
|
|
|
+ <label for="panel.legend.alignAsTable" class="cr1"></label>
|
|
|
</li>
|
|
|
<li class="grafana-target-segment">
|
|
|
- Right side: <input type="checkbox">
|
|
|
+ Right side
|
|
|
+ <input class="cr1" id="panel.legend.rightSide" type="checkbox"
|
|
|
+ ng-model="panel.legend.rightSide" ng-checked="panel.legend.rightSide" ng-change="render()">
|
|
|
+ <label for="panel.legend.rightSide" class="cr1"></label>
|
|
|
</li>
|
|
|
<li class="grafana-target-segment">
|
|
|
- Hide empty: <input type="checkbox">
|
|
|
+ Hide empty
|
|
|
+ <input class="cr1" id="panel.legend.hideEmpty" type="checkbox"
|
|
|
+ ng-model="panel.legend.hideEmpty" ng-checked="panel.legend.hideEmpty" ng-change="render()">
|
|
|
+ <label for="panel.legend.hideEmpty" class="cr1"></label>
|
|
|
</li>
|
|
|
- <li class="grafana-target-segment">
|
|
|
- Min: <input type="checkbox">
|
|
|
+ </ul>
|
|
|
+ <div class="clearfix"></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="section">
|
|
|
+ <div class="grafana-target">
|
|
|
+ <div class="grafana-target-inner">
|
|
|
+ <ul class="grafana-segment-list">
|
|
|
+ <li class="grafana-target-segment" style="width: 100px">
|
|
|
+ <strong>Legend values</strong>
|
|
|
</li>
|
|
|
<li class="grafana-target-segment">
|
|
|
- Max: <input type="checkbox">
|
|
|
+ Min
|
|
|
+ <input class="cr1" id="panel.legend.min" type="checkbox"
|
|
|
+ ng-model="panel.legend.min" ng-checked="panel.legend.min" ng-change="render()">
|
|
|
+ <label for="panel.legend.min" class="cr1"></label>
|
|
|
</li>
|
|
|
<li class="grafana-target-segment">
|
|
|
- Avg: <input type="checkbox">
|
|
|
+ Max
|
|
|
+ <input class="cr1" id="panel.legend.max" type="checkbox"
|
|
|
+ ng-model="panel.legend.max" ng-checked="panel.legend.max" ng-change="render()">
|
|
|
+ <label for="panel.legend.max" class="cr1"></label>
|
|
|
</li>
|
|
|
<li class="grafana-target-segment">
|
|
|
- Total: <input type="checkbox">
|
|
|
+ Avg
|
|
|
+ <input class="cr1" id="panel.legend.avg" type="checkbox"
|
|
|
+ ng-model="panel.legend.avg" ng-checked="panel.legend.avg" ng-change="render()">
|
|
|
+ <label for="panel.legend.avg" class="cr1"></label>
|
|
|
</li>
|
|
|
<li class="grafana-target-segment">
|
|
|
- Current: <input type="checkbox">
|
|
|
+ Current
|
|
|
+ <input class="cr1" id="panel.legend.current" type="checkbox"
|
|
|
+ ng-model="panel.legend.current" ng-checked="panel.legend.current" ng-change="render()">
|
|
|
+ <label for="panel.legend.total" class="cr1"></label>
|
|
|
</li>
|
|
|
</ul>
|
|
|
<div class="clearfix"></div>
|