This commit is contained in:
parent
b8e3dcdbff
commit
817880090e
|
@ -144,7 +144,7 @@ const getOption = () => {
|
|||
color: "#ffffff",
|
||||
position: "top",
|
||||
formatter: function (data) {
|
||||
return (data.value / 10000).toFixed(0) + "万";
|
||||
return data.value + "万";
|
||||
},
|
||||
},
|
||||
// itemStyle: {
|
||||
|
@ -201,7 +201,7 @@ const getOption = () => {
|
|||
color: "#ffffff",
|
||||
position: "top",
|
||||
formatter: function (data) {
|
||||
return (data.value / 10000).toFixed(0) + "万";
|
||||
return data.value + "万";
|
||||
},
|
||||
},
|
||||
// itemStyle: {
|
||||
|
@ -258,10 +258,11 @@ onBeforeMount(() => {
|
|||
data.list = props.list;
|
||||
data.year = props.year;
|
||||
data.list.forEach((item) => {
|
||||
data.zgffrc.push(item.zgffrc);
|
||||
data.cxffrc.push(item.cxffrc);
|
||||
data.zgffrc.push((item.zgffrc / 10000).toFixed(0));
|
||||
data.cxffrc.push((item.cxffrc / 10000).toFixed(0));
|
||||
data.bg.push("");
|
||||
});
|
||||
console.log(data.zgffrc,data.cxffrc);
|
||||
getOption();
|
||||
setChart();
|
||||
}, 600);
|
||||
|
|
Loading…
Reference in New Issue