稳态合格率,畸变率表格调整

This commit is contained in:
sjl
2026-01-08 14:50:29 +08:00
parent 715cdb892f
commit 54517c0d5f
4 changed files with 39 additions and 24 deletions

View File

@@ -107,7 +107,7 @@ const tableStore = new TableStore({
var tips = ''
for (var i = 0; i < params.length; i++) {
if (params[i].value == 1) {
if (params[i].value == 3.14159) {
tips += params[i].name + '</br>'
tips += params[i].marker + '在线率:暂无数据'
} else {
@@ -143,7 +143,21 @@ const tableStore = new TableStore({
//color:function(d){return "#"+Math.floor(Math.random()*(256*256*256-1)).toString(16);}
// 定制显示(按顺序)
color: function (params: any) {
if (params.value >= 90) {
if (params.value == 3.14159) {
return new echarts.graphic.LinearGradient(
0,
1,
0,
0,
[
{
offset: 1,
color: '#ccc'
}
],
false
)
}else if (params.value >= 90) {
return new echarts.graphic.LinearGradient(
0,
1,
@@ -171,7 +185,7 @@ const tableStore = new TableStore({
],
false
)
} else if (params.value <= 60 && params.value > 1) {
} else if (params.value > 0 && params.value <= 60) {
return new echarts.graphic.LinearGradient(
0,
1,
@@ -180,12 +194,12 @@ const tableStore = new TableStore({
[
{
offset: 1,
color: '#A52a2a'
color: '#CC0100'
}
],
false
)
} else if (params.value > 0 && params.value <= 1) {
} else if (params.value == 0) {
return new echarts.graphic.LinearGradient(
0,
1,