Add the diff option on the singlestat panel

This commit is contained in:
oliverpool 2017-01-12 16:23:57 +01:00 committed by GitHub
parent 92a0b402c5
commit 80c67267e8

View File

@ -21,7 +21,7 @@ class SingleStatCtrl extends MetricsPanelCtrl {
invalidGaugeRange: boolean;
panel: any;
events: any;
valueNameOptions: any[] = ['min','max','avg', 'current', 'total', 'name', 'first', 'delta', 'range'];
valueNameOptions: any[] = ['min','max','avg', 'current', 'total', 'name', 'first', 'delta', 'diff', 'range'];
// Set and populate defaults
panelDefaults = {