|
@@ -54,7 +54,8 @@ export default {
|
|
|
formatter: '{d}%'
|
|
formatter: '{d}%'
|
|
|
},
|
|
},
|
|
|
label: {
|
|
label: {
|
|
|
- formatter: '{b}\n({d}%)'
|
|
|
|
|
|
|
+ formatter: '{b}\n({d}%)',
|
|
|
|
|
+ edgeDistance: "20%"
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
legend: {
|
|
legend: {
|
|
@@ -79,7 +80,10 @@ export default {
|
|
|
shadowColor: 'rgba(0, 0, 0, 0.5)'
|
|
shadowColor: 'rgba(0, 0, 0, 0.5)'
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
|
|
+ labelLine: {
|
|
|
|
|
+ distanceToLabelLine: 0,
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
}]
|
|
}]
|
|
|
};
|
|
};
|
|
|
myChart.setOption(option);
|
|
myChart.setOption(option);
|