TestData: add option to increase the number of test streams (#17789)

* variable number of points

* add variable number of bands
This commit is contained in:
Ryan McKinley
2019-06-27 10:28:35 +02:00
committed by Torkel Ödegaard
parent 0a3f977ea2
commit 021f5351fa
3 changed files with 34 additions and 14 deletions
@@ -43,7 +43,7 @@
<select
ng-model="ctrl.target.stream.type"
class="gf-form-input"
ng-options="type for type in ['signal','logs', 'fetch']"
ng-options="type for type in ['signal','logs', 'fetch']"
ng-change="ctrl.streamChanged()" />
</select>
</div>
@@ -78,6 +78,16 @@
step="0.1"
ng-change="ctrl.streamChanged()" />
</div>
<div class="gf-form" ng-if="ctrl.target.stream.type === 'signal'">
<label class="gf-form-label query-keyword">Bands</label>
<input type="number"
class="gf-form-input width-5"
placeholder="bands"
ng-model="ctrl.target.stream.bands"
min="0"
step="1"
ng-change="ctrl.streamChanged()" />
</div>
<div class="gf-form gf-form--grow" ng-if="ctrl.target.stream.type === 'fetch'">
<label class="gf-form-label query-keyword">URL</label>
<input type="string"