diff --git a/src/view/echarts_yl/pie3d.vue b/src/view/echarts_yl/pie3d.vue index 87ed050..0fec1c7 100644 --- a/src/view/echarts_yl/pie3d.vue +++ b/src/view/echarts_yl/pie3d.vue @@ -170,7 +170,7 @@ const setChart1 = () => { // 计算总和的 10% - const tenPercentOfTotal = totalValue * 0.05; + const tenPercentOfTotal = totalValue * 0.02; // 使用 pieData 名称作为 legend 数据 data.legendData = pieData.map((item) => item.name);