| | |
| | | export default { |
| | | data() { |
| | | //这里存放数据 |
| | | return { myChart }; |
| | | return { myChart: null, }; |
| | | }, |
| | | //方法集合 |
| | | methods: { |
| | |
| | | title: { |
| | | // show: false, |
| | | text: '人员变动', |
| | | top: 15, |
| | | // x: "4%", |
| | | textStyle: { |
| | | color: '#fff', |
| | |
| | | fontSize: 12, |
| | | }, |
| | | }, |
| | | radius: 120, |
| | | radius: 75, |
| | | nameGap: 2, // 图中工艺等字距离图的距离 |
| | | splitNumber: 4, // 网格线的个数 |
| | | // center: ["45%", "45%"], // 图的位置 |
| | | center: ["50%", "63%"], // 图的位置 |
| | | |
| | | indicator: indicator, |
| | | splitArea: { |
| | |
| | | //@import url(); 引入公共css类 |
| | | .systemMonitoring_box { |
| | | padding: 20px; |
| | | width: 100%; |
| | | height: 100%; |
| | | |
| | | #echart43 { |
| | | width: 100%; |
| | | height: 100%; |
| | | width: calc(100% - 40px); |
| | | height: calc(100% - 40px); |
| | | } |
| | | } |
| | | </style> |