GraphNG: Minor polish & updates to new time series panel and move it from alpha to beta (#30163)

* GraphNG: Minor polish & updates to new time series panel

* Fixed gradient default

* Updated snapshot
This commit is contained in:
Torkel Ödegaard
2021-01-10 17:41:20 +01:00
committed by GitHub
parent 1bc0cff736
commit ba158e72df
8 changed files with 49 additions and 36 deletions

View File

@ -252,26 +252,28 @@ func getPanelSort(id string) int {
switch id {
case "graph":
sort = 1
case "stat":
case "timeseries":
sort = 2
case "gauge":
case "stat":
sort = 3
case "bargauge":
case "gauge":
sort = 4
case "table":
case "bargauge":
sort = 5
case "singlestat":
case "table":
sort = 6
case "text":
case "singlestat":
sort = 7
case "heatmap":
case "text":
sort = 8
case "alertlist":
case "heatmap":
sort = 9
case "alertlist":
sort = 10
case "dashlist":
sort = 10
sort = 11
case "news":
sort = 10
sort = 12
}
return sort
}