联调终端运行评价
This commit is contained in:
@@ -87,15 +87,15 @@ const init = () => {
|
||||
let yData = [],
|
||||
yData2 = []
|
||||
for (let i = 0; i < steadyInfoList.length; i++) {
|
||||
if (steadyInfoList[i] == 3.1415) {
|
||||
steadyInfoList[i] = 1
|
||||
yData.push(steadyInfoList[i])
|
||||
} else if (steadyInfoList[i] == 3.14159) {
|
||||
steadyInfoList[i] = 1
|
||||
yData.push(steadyInfoList[i])
|
||||
} else if (steadyInfoList[i] !== 3.14159) {
|
||||
yData.push(steadyInfoList[i])
|
||||
}
|
||||
// if (steadyInfoList[i] == 3.1415) {
|
||||
// steadyInfoList[i] = 1
|
||||
// yData.push(steadyInfoList[i])
|
||||
// } else if (steadyInfoList[i] == 3.14159) {
|
||||
// steadyInfoList[i] = 1
|
||||
// yData.push(steadyInfoList[i])
|
||||
// } else if (steadyInfoList[i] !== 3.14159) {
|
||||
yData.push(steadyInfoList[i])
|
||||
// }
|
||||
}
|
||||
for (let i = 0; i < steadyInfoData.length; i++) {
|
||||
if (steadyInfoData[i] == 3.1415) {
|
||||
@@ -169,6 +169,8 @@ const init = () => {
|
||||
return gradeColor3[0]
|
||||
} else if (params.value > 60) {
|
||||
return gradeColor3[1]
|
||||
} else if (params.value == 3.14159) {
|
||||
return '#ccc'
|
||||
} else {
|
||||
return gradeColor3[2]
|
||||
}
|
||||
@@ -224,7 +226,7 @@ const init = () => {
|
||||
opacity: 0.35,
|
||||
fontSize: 14
|
||||
},
|
||||
backgroundColor: 'rgba(0,0,0,0.55)',
|
||||
backgroundColor: 'rgba(0,0,0,0.55)'
|
||||
// formatter: function (params: any) {
|
||||
// //console.log(params)
|
||||
// let msg = ''
|
||||
|
||||
Reference in New Issue
Block a user