|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div class="pieView">
|
|
<div class="pieView">
|
|
|
- <div style="height: 20%;line-height: 30px;text-align: left;padding-left: 10px;color: white;">{{info.config.title||""}}</div>
|
|
|
|
|
- <div style="width:100%;height:80%;display: inline-block; overflow: hidden;">
|
|
|
|
|
|
|
+ <div style="height: 16%;line-height: 30px;text-align: left;padding-left: 10px;color: white;">{{info.config.title||""}}</div>
|
|
|
|
|
+ <div style="width:100%;height:86%;display: inline-block; overflow: hidden;">
|
|
|
<div :id="info.config.idSelector" style="width:100%;height:95%;overflow: hidden;"> </div>
|
|
<div :id="info.config.idSelector" style="width:100%;height:95%;overflow: hidden;"> </div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -47,8 +47,9 @@ export default {
|
|
|
color: this.info.color,
|
|
color: this.info.color,
|
|
|
legend: {
|
|
legend: {
|
|
|
// show: true,
|
|
// show: true,
|
|
|
- z: 3,
|
|
|
|
|
- orient: 'vertical',
|
|
|
|
|
|
|
+ z: 2,
|
|
|
|
|
+ top:'-2%',
|
|
|
|
|
+ // orient: 'vertical',
|
|
|
left: 'right',
|
|
left: 'right',
|
|
|
textStyle:{
|
|
textStyle:{
|
|
|
color: '#fff'
|
|
color: '#fff'
|
|
@@ -62,6 +63,7 @@ export default {
|
|
|
// name: "Access From",
|
|
// name: "Access From",
|
|
|
type: "pie",
|
|
type: "pie",
|
|
|
radius: ["40%", "70%"],
|
|
radius: ["40%", "70%"],
|
|
|
|
|
+ top:'2%',
|
|
|
avoidLabelOverlap: false,
|
|
avoidLabelOverlap: false,
|
|
|
label: {
|
|
label: {
|
|
|
show: true,
|
|
show: true,
|