饼图优化

This commit is contained in:
lll 2023-12-06 16:19:44 +08:00
parent 24838b3ecc
commit f6ff9e05e8
1 changed files with 15 additions and 13 deletions

View File

@ -1178,8 +1178,12 @@ export default {
lineHeight: 20,
},
labelLine: {
length: 60,
length2: 60,
length: 100,
length2: 100,
lineStyle: {
color: "#fff", // 线
width: 3, // 线
},
},
startAngle: -30, //[0, 360]
clockwise: false, //3d
@ -1197,7 +1201,6 @@ export default {
color: "#7BC0CB",
},
},
label: {
show: true,
color: "#",
@ -1215,10 +1218,11 @@ export default {
rich: {
name: {
fontSize: 24,
color: "#01CCDC",
},
colors: {
fontSize: 30,
color: "#fff",
fontSize: 40,
color: "#01CCDC",
fontWeight: 700,
},
},
@ -1240,11 +1244,10 @@ export default {
boxHeight: 20, //
left: "-15%",
top: "10%",
distance: 800,
viewControl: {
alpha: 40,
beta: 40,
distance: 800, //zoom
alpha: 25,
beta: 60,
distance: 300, //zoom
rotateSensitivity: 0, // 0
zoomSensitivity: 0, // 0
panSensitivity: 0, // 0
@ -1535,14 +1538,13 @@ export default {
};
</script>
<style scoped lang="less">
//
.buttomCharts {
background: center top url("../../../assets/img/底盘.png") no-repeat;
background-size: 100% 100%;
height: 280px;
width: 600px;
height: 300px;
width: 700px;
margin-top: -300px;
margin-left: 22%;
margin-left: 18%;
}
.box {