|
@@ -240,9 +240,9 @@ export default {
|
|
|
stack: "total",
|
|
|
label: {
|
|
|
show: true,
|
|
|
- formatter:(item) =>{
|
|
|
- return item.value + '%'
|
|
|
- }
|
|
|
+ formatter: item => {
|
|
|
+ return item.value + "%";
|
|
|
+ },
|
|
|
},
|
|
|
emphasis: {
|
|
|
focus: "series",
|
|
@@ -298,6 +298,11 @@ export default {
|
|
|
color: ["#1b9ade", "#fd5555"],
|
|
|
xAxis: {
|
|
|
type: "value",
|
|
|
+ axisLabel: {
|
|
|
+ formatter: item => {
|
|
|
+ return item + "%"
|
|
|
+ },
|
|
|
+ },
|
|
|
},
|
|
|
yAxis: {
|
|
|
type: "category",
|