Parcourir la source

Including more special options for fill

Included "previous" and "none" as possible values for fill.
From the influxdb documentation:
 - "previous" means the values of the previous window is used.
 - "none" means that all null values are removed.
Denis Doria il y a 10 ans
Parent
commit
166a56828d

+ 3 - 1
public/app/plugins/datasource/influxdb/partials/query.editor.html

@@ -138,8 +138,10 @@
 					</a>
 					</a>
 					<ul class="dropdown-menu">
 					<ul class="dropdown-menu">
 						<li><a ng-click="target.fill = ''">no fill</a></li>
 						<li><a ng-click="target.fill = ''">no fill</a></li>
-						<li><a ng-click="target.fill = 'null'">fill (null)</a></li>
 						<li><a ng-click="target.fill = '0'">fill (0)</a></li>
 						<li><a ng-click="target.fill = '0'">fill (0)</a></li>
+						<li><a ng-click="target.fill = 'null'">fill (null)</a></li>
+						<li><a ng-click="target.fill = 'none'">fill (none)</a></li>
+						<li><a ng-click="target.fill = 'previous'">fill (previous)</a></li>
 					</ul>
 					</ul>
 				</li>
 				</li>
 			</ul>
 			</ul>