|
|
@@ -1,7 +1,7 @@ |
|
|
|
<!-- |
|
|
|
* @Author: zhp |
|
|
|
* @Date: 2024-04-15 10:49:13 |
|
|
|
* @LastEditTime: 2024-07-09 16:37:39 |
|
|
|
* @LastEditTime: 2024-07-10 09:58:59 |
|
|
|
* @LastEditors: zhp |
|
|
|
* @Description: |
|
|
|
--> |
|
|
@@ -404,7 +404,8 @@ export default { |
|
|
|
// y轴数据 |
|
|
|
arr.forEach((fac,index) => { |
|
|
|
console.log('fac',fac); |
|
|
|
let i = 0 |
|
|
|
let i = 0 |
|
|
|
let position = fac.id == 1 ? [1, -16,] : [-8, -16,] |
|
|
|
while ( i < 3) { |
|
|
|
// 下标 |
|
|
|
const index1 = ['chipYield', 'componentYield', 'bipvProductOutput'][i] |
|
|
@@ -424,7 +425,7 @@ export default { |
|
|
|
show: i === 2 ? true : false, |
|
|
|
position: 'top', |
|
|
|
// fontSize:10, |
|
|
|
// position: [-index + 1, -index +1], |
|
|
|
position: position, |
|
|
|
formatter(params) { |
|
|
|
return fac.name.substring(0, 2) |
|
|
|
} |
|
|
@@ -451,7 +452,7 @@ export default { |
|
|
|
label: { |
|
|
|
show: true, |
|
|
|
position: 'top', |
|
|
|
// position: [-index + 1, -index + 1], |
|
|
|
position: position, |
|
|
|
formatter(params) { |
|
|
|
if (params.value === 0) { |
|
|
|
return '' |
|
|
|