Browse Source

Change xaxis min and max form input types to number

Sofia Papagiannaki 6 years ago
parent
commit
96e1804d55
1 changed files with 2 additions and 2 deletions
  1. 2 2
      public/app/plugins/panel/graph/axes_editor.html

+ 2 - 2
public/app/plugins/panel/graph/axes_editor.html

@@ -70,11 +70,11 @@
 		<div class="gf-form-inline" ng-if="ctrl.panel.xaxis.mode === 'histogram'">
 		<div class="gf-form-inline" ng-if="ctrl.panel.xaxis.mode === 'histogram'">
 			<div class="gf-form">
 			<div class="gf-form">
 				<label class="gf-form-label width-6">X-Min</label>
 				<label class="gf-form-label width-6">X-Min</label>
-				<input type="text" class="gf-form-input width-5" placeholder="auto" empty-to-null ng-model="ctrl.panel.xaxis.min" ng-change="ctrl.render()" ng-model-onblur>
+				<input type="number" class="gf-form-input width-5" placeholder="auto" empty-to-null ng-model="ctrl.panel.xaxis.min" ng-change="ctrl.render()" ng-model-onblur>
 			</div>
 			</div>
 			<div class="gf-form">
 			<div class="gf-form">
 				<label class="gf-form-label width-6">X-Max</label>
 				<label class="gf-form-label width-6">X-Max</label>
-				<input type="text" class="gf-form-input width-5" placeholder="auto" empty-to-null ng-model="ctrl.panel.xaxis.max" ng-change="ctrl.render()" ng-model-onblur>
+				<input type="number" class="gf-form-input width-5" placeholder="auto" empty-to-null ng-model="ctrl.panel.xaxis.max" ng-change="ctrl.render()" ng-model-onblur>
 			</div>
 			</div>
 		</div>
 		</div>