This commit is contained in:
duanxiaohai 2024-05-24 10:01:10 +08:00
parent 4c6e25f616
commit ca8ae26adc
2 changed files with 2 additions and 4 deletions

View File

@ -127,7 +127,7 @@ const getOption = () => {
color: "#ffffff", color: "#ffffff",
position:'top', position:'top',
formatter: function (data) { formatter: function (data) {
return data.value; return (data.value/10000).toFixed(0) +'万';
}, },
}, },
itemStyle: { itemStyle: {
@ -153,7 +153,7 @@ const getOption = () => {
color: "#ffffff", color: "#ffffff",
position:'top', position:'top',
formatter: function (data) { formatter: function (data) {
return data.value; return (data.value/10000).toFixed(0) +'万';
}, },
}, },
itemStyle: { itemStyle: {

View File

@ -239,9 +239,7 @@ function getPie3D(pieData, internalDiameterRatio) {
// //
orient: "vertical", orient: "vertical",
right: 20, right: 20,
// bottom: 20,
top: "center", top: "center",
// left: '10px',
// //
itemGap: 10, itemGap: 10,
show: true, show: true,