Просмотр исходного кода

SingleStatPanel: some more tweaks and polish

Torkel Ödegaard 11 лет назад
Родитель
Сommit
ee183d4574
2 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      src/app/panels/stats/module.js
  2. 2 2
      src/app/panels/stats/statsEditor.html

+ 1 - 1
src/app/panels/stats/module.js

@@ -54,7 +54,7 @@ function (angular, app, _, TimeSeries, kbn) {
         show: false,
         full: false,
         lineColor: 'rgb(31, 120, 193)',
-        fillColor: 'rgb(31, 120, 193)',
+        fillColor: 'rgba(31, 118, 189, 0.18)',
       }
     };
 

+ 2 - 2
src/app/panels/stats/statsEditor.html

@@ -43,8 +43,8 @@
 		<editor-opt-bool text="Background" model="panel.colorBackground" change="setColoring({background: true})"></editor-opt-bool>
 		<editor-opt-bool text="Value" model="panel.colorValue" change="setColoring({value: true})"></editor-opt-bool>
 		<div class="editor-option">
-			<label class="small">Thresholds</label>
-			<input type="text" class="input-large" ng-model="panel.thresholds" ng-blur="render()"></input>
+			<label class="small">Thresholds<tip>Comma seperated values</tip></label>
+			<input type="text" class="input-large" ng-model="panel.thresholds" ng-blur="render()" placeholder="0,50,80"></input>
 		</div>
 		<div class="editor-option">
       <label class="small">Color</label>