diff --git a/src/app/statistic-analysis/home/home.component.ts b/src/app/statistic-analysis/home/home.component.ts index 40d74b9..9885dc8 100644 --- a/src/app/statistic-analysis/home/home.component.ts +++ b/src/app/statistic-analysis/home/home.component.ts @@ -317,8 +317,8 @@ export class HomeComponent implements OnInit { { name: '访问来源', type: 'pie', - radius: '65%', - center: ['50%', '67%'], + radius: '60%', + center: ['50%', '58%'], label:{ show:true, //fontSize:10, @@ -361,8 +361,8 @@ export class HomeComponent implements OnInit { { name: '访问来源', type: 'pie', - radius: '65%', - center: ['50%', '67%'], + radius: '60%', + center: ['50%', '58%'], label:{ show:true, formatter:'{b}\n{d|{c}份}', @@ -402,7 +402,6 @@ export class HomeComponent implements OnInit { //新增、删除单位统计 chartDwsjcj chartDwsjcjOptionsZhi = { - // color: ['#FB33C2', '#00CFF0', '#2C3DE0'], // 标题 title: { text: '新增、删除单位统计', @@ -412,6 +411,7 @@ export class HomeComponent implements OnInit { grid: { left: 30, right: 0, + bottom:20 }, //图例 legend: {