图像不需要查看原始数据,数据显示不对
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2026-01-07 10:39:18 +08:00
parent ef08a5277d
commit 8d1d5cb43a
1 changed files with 15 additions and 7 deletions

View File

@ -179,14 +179,10 @@ export default {
color: this.color, color: this.color,
tooltip: { tooltip: {
trigger: 'item', trigger: 'item',
formatter: `${obj.titleText} <br/>{b} : {c}` formatter: `{b} : {c}`
}, },
toolbox: { toolbox: {
feature: { show: false
dataView: { readOnly: false },
restore: {},
saveAsImage: {}
}
}, },
legend: { legend: {
data: obj.legendData, data: obj.legendData,
@ -267,7 +263,7 @@ export default {
label: { label: {
show: true, show: true,
formatter: `{c}`, formatter: `{c}`,
position: 'top', position: 'inside',
textStyle: { textStyle: {
fontSize: 14, // 14px fontSize: 14, // 14px
color: '#000', // color: '#000', //
@ -317,6 +313,9 @@ export default {
title: { title: {
text: obj.titleText text: obj.titleText
}, },
toolbox: {
show: false
},
color: this.color, color: this.color,
tooltip: { tooltip: {
trigger: 'axis', trigger: 'axis',
@ -422,6 +421,9 @@ export default {
title: { title: {
text: obj.titleText text: obj.titleText
}, },
toolbox: {
show: false
},
color: this.color, color: this.color,
tooltip: { tooltip: {
trigger: 'axis', trigger: 'axis',
@ -469,6 +471,9 @@ export default {
title: { title: {
text: obj.titleText text: obj.titleText
}, },
toolbox: {
show: false
},
color: this.color, color: this.color,
tooltip: { tooltip: {
trigger: 'item', trigger: 'item',
@ -523,6 +528,9 @@ export default {
title: { title: {
text: obj.titleText text: obj.titleText
}, },
toolbox: {
show: false
},
color: this.color, color: this.color,
tooltip: { tooltip: {
trigger: 'axis', trigger: 'axis',