This commit is contained in:
sjl
2025-01-13 18:12:36 +08:00
parent 85d8a57bf7
commit 0635dda6a0
15 changed files with 205 additions and 81 deletions

View File

@@ -37,6 +37,7 @@ const init = () => {
isLabelLine: true, //是否显示引导线
titleFontSize: '14px', //标题字体大小
...props.customData,
};
legendData.value = {
icon: "roundRect", // 图例项的icon,类型包括 circle(圆形),rect(正方形),//roundRect(圆角正方形),triangle(三角形),diamond(菱形),//pin(大头针行),arrow(箭头形),none(无图例项的icon)
@@ -86,7 +87,7 @@ const init = () => {
if(item)
return item[0].value;
},
center: ["55%", "50%"], // 设置饼图的中心位置
center: ["55%", "55%"], // 设置饼图的中心位置
// padAngle: 2,
minAngle: 15, //最小角度
startAngle: 270, //起始角度