Browse Source

[完善]调节图表位置

master
邵佳豪 4 years ago
parent
commit
decd1d43eb
  1. 10
      src/app/statistic-analysis/home/home.component.ts

10
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: {

Loading…
Cancel
Save