Commit 4fafd5e5 authored by xiexingan's avatar xiexingan

提交

parent 67d52c49
...@@ -68,7 +68,7 @@ export default { ...@@ -68,7 +68,7 @@ export default {
// } // }
.card-list-content { .card-list-content {
padding: 20px; padding: 20px;
height: calc(100% - 90px); height: calc(100% - 50px);
} }
} }
</style> </style>
...@@ -26,15 +26,14 @@ export default { ...@@ -26,15 +26,14 @@ export default {
] ]
const option = { const option = {
tooltip: { tooltip: {
trigger: 'item', trigger: 'item'
formatter: '{a} <br/>{b}: {c} ({d}%)'
}, },
legend: { legend: {
show: true, show: true,
orient: 'horizontal', orient: 'horizontal',
// left: "center", // left: "center",
bottom: '40', bottom: '0',
itemHeight: 13, itemHeight: 13,
itemWidth: 13, itemWidth: 13,
itemGap: 35, itemGap: 35,
...@@ -80,13 +79,12 @@ export default { ...@@ -80,13 +79,12 @@ export default {
], ],
series: [ series: [
{ {
name: '访问来源',
type: 'pie', type: 'pie',
radius: ['50%', '70%'], radius: ['50%', '70%'],
center: ['50%', '40%'], center: ['50%', '40%'],
avoidLabelOverlap: false, avoidLabelOverlap: false,
label: { label: {
// show: true, show: false,
position: 'center', position: 'center',
normal: { normal: {
show: true, show: true,
...@@ -96,14 +94,15 @@ export default { ...@@ -96,14 +94,15 @@ export default {
}, },
textStyle: { textStyle: {
fontSize: 30, fontSize: 30,
color: '#F2637B' lineHeight: 20,
color: '#36CBCB'
} }
} }
}, },
emphasis: { emphasis: {
label: { label: {
show: false, show: false,
fontSize: '30', fontSize: '20',
fontWeight: 'bold' fontWeight: 'bold'
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment