This commit is contained in:
‘937886381’
2024-07-09 17:01:11 +08:00
parent 91ac125671
commit 2d67ca4347
37 changed files with 1356 additions and 168 deletions

View File

@@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2024-04-15 10:49:13
* @LastEditTime: 2024-07-08 14:38:25
* @LastEditTime: 2024-07-09 16:37:39
* @LastEditors: zhp
* @Description:
-->
@@ -402,7 +402,8 @@ export default {
}
// y轴数据
arr.forEach(fac => {
arr.forEach((fac,index) => {
console.log('fac',fac);
let i = 0
while ( i < 3) {
// 下标
@@ -422,6 +423,8 @@ export default {
label: {
show: i === 2 ? true : false,
position: 'top',
// fontSize:10,
// position: [-index + 1, -index +1],
formatter(params) {
return fac.name.substring(0, 2)
}
@@ -448,6 +451,7 @@ export default {
label: {
show: true,
position: 'top',
// position: [-index + 1, -index + 1],
formatter(params) {
if (params.value === 0) {
return ''