mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 18:42:29 +08:00
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:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user