Commit 3dae915b by Torkel Ödegaard

Bar gauge icon updated

parent c05c3df5
......@@ -191,16 +191,18 @@ func getPanelSort(id string) int {
sort = 2
case "gauge":
sort = 3
case "table":
case "bargauge":
sort = 4
case "text":
case "table":
sort = 5
case "heatmap":
case "text":
sort = 6
case "alertlist":
case "heatmap":
sort = 7
case "dashlist":
case "alertlist":
sort = 8
case "dashlist":
sort = 9
}
return sort
}
......
......@@ -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: [],
};
......@@ -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' }],
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment