|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div ref="main" style="width:400px ;height:300px;"></div>
|
|
|
+ <div ref="main" style="width:calc(100% - 0px) ;height:300px;"></div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
@@ -16,7 +16,7 @@ export default {
|
|
|
},
|
|
|
PieColor:{
|
|
|
type: Array,
|
|
|
- default: ['#8c42a1', '#4fa5e7']
|
|
|
+ default: ['#ec0808', '#4fa5e7']
|
|
|
}
|
|
|
},
|
|
|
watch:{
|
|
@@ -77,7 +77,7 @@ export default {
|
|
|
{
|
|
|
name: 'Access From',
|
|
|
type: 'pie',
|
|
|
- radius: ['40%', '60%'],
|
|
|
+ radius: ['30%', '50%'],
|
|
|
avoidLabelOverlap: true,
|
|
|
itemStyle: {
|
|
|
normal: {
|