|
|
@@ -25,17 +25,20 @@ angular.module('app.system')
|
|
25
|
25
|
},
|
|
26
|
26
|
legend: {
|
|
27
|
27
|
data: ['出库', '入库','通风','熏蒸','静态储存'],
|
|
28
|
|
- x:"right",
|
|
29
|
|
- y:"center",
|
|
30
|
|
- orient:"vertical",
|
|
31
|
|
- textStyle:{ //图例文字的样式
|
|
32
|
|
- fontSize:8,
|
|
33
|
|
- },
|
|
|
28
|
+ x:"center",
|
|
|
29
|
+ // y:"bottom",
|
|
|
30
|
+ bottom:"5%",
|
|
|
31
|
+ orient:"horizontal",
|
|
|
32
|
+ // //图例大小
|
|
|
33
|
+ itemHeight:6,
|
|
|
34
|
+ itemWidth:10,
|
|
|
35
|
+ padding: 2,
|
|
|
36
|
+ fontSize:8,
|
|
34
|
37
|
|
|
35
|
38
|
},
|
|
36
|
39
|
grid: {
|
|
37
|
40
|
// left: '0',
|
|
38
|
|
- right: '24%',
|
|
|
41
|
+ left: 'center',
|
|
39
|
42
|
bottom: '0%',
|
|
40
|
43
|
|
|
41
|
44
|
},
|
|
|
@@ -43,8 +46,8 @@ angular.module('app.system')
|
|
43
|
46
|
{
|
|
44
|
47
|
|
|
45
|
48
|
type: 'pie',
|
|
46
|
|
- radius: ['30%', '55%'],
|
|
47
|
|
- center: ["42%", "55%"],
|
|
|
49
|
+ radius: ['20%', '45%'],
|
|
|
50
|
+ center: ["50%", "50%"],
|
|
48
|
51
|
avoidLabelOverlap: false,
|
|
49
|
52
|
label: {
|
|
50
|
53
|
show: false,
|