新增饼图组件

This commit is contained in:
yanran200730
2022-05-11 09:46:56 +08:00
parent 0f221d2f9d
commit a4d48f643b
4 changed files with 77 additions and 10 deletions

View File

@@ -0,0 +1,29 @@
export default {
legend: {
right: 0,
top: '30%',
orient: 'vertical',
textStyle: {color: "#fff", fontSize: 14}
},
grid: {
top: '0%',
left: '0%',
right: '0px',
bottom: '0%'
},
xAxis: {show: false},
yAxis: {show: false},
tooltip: {
backgroundColor: "rgba(14, 51, 111, 0.9)",
borderColor: "#1A6ABC",
textStyle: {color: "#fff"}
},
series: {
type: "pie",
minShowLabelAngle: 10,
radius: '50%',
label: {
show: false
}
}
}