Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
3dae915b
Commit
3dae915b
authored
Feb 15, 2019
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bar gauge icon updated
parent
c05c3df5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
11 deletions
+9
-11
pkg/api/frontendsettings.go
+7
-5
public/app/plugins/panel/bargauge/img/icon_bar_gauge.svg
+0
-0
public/app/plugins/panel/bargauge/types.ts
+1
-5
public/app/plugins/panel/gauge/types.ts
+1
-1
No files found.
pkg/api/frontendsettings.go
View file @
3dae915b
...
...
@@ -191,16 +191,18 @@ func getPanelSort(id string) int {
sort
=
2
case
"gauge"
:
sort
=
3
case
"
tabl
e"
:
case
"
bargaug
e"
:
sort
=
4
case
"t
ext
"
:
case
"t
able
"
:
sort
=
5
case
"
heatmap
"
:
case
"
text
"
:
sort
=
6
case
"
alertlist
"
:
case
"
heatmap
"
:
sort
=
7
case
"
dash
list"
:
case
"
alert
list"
:
sort
=
8
case
"dashlist"
:
sort
=
9
}
return
sort
}
...
...
public/app/plugins/panel/bargauge/img/icon_bar_gauge.svg
View file @
3dae915b
This diff is collapsed.
Click to expand it.
public/app/plugins/panel/bargauge/types.ts
View file @
3dae915b
...
...
@@ -18,10 +18,6 @@ export const PanelDefaults: BarGaugeOptions = {
suffix
:
''
,
stat
:
'avg'
,
unit
:
'none'
,
thresholds
:
[
{
index
:
2
,
value
:
80
,
color
:
'red'
},
{
index
:
1
,
value
:
50
,
color
:
'orange'
},
{
index
:
0
,
value
:
-
Infinity
,
color
:
'green'
},
],
thresholds
:
[{
index
:
2
,
value
:
80
,
color
:
'red'
},
{
index
:
0
,
value
:
-
Infinity
,
color
:
'green'
}],
valueMappings
:
[],
};
public/app/plugins/panel/gauge/types.ts
View file @
3dae915b
...
...
@@ -25,5 +25,5 @@ export const PanelDefaults: GaugeOptions = {
stat
:
'avg'
,
unit
:
'none'
,
valueMappings
:
[],
thresholds
:
[],
thresholds
:
[
{
index
:
1
,
value
:
80
,
color
:
'red'
},
{
index
:
0
,
value
:
-
Infinity
,
color
:
'green'
}
],
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment