|
|
@@ -23,19 +23,20 @@ angular.module('app.system')
|
|
23
|
23
|
tooltip: {
|
|
24
|
24
|
trigger: 'item'
|
|
25
|
25
|
},
|
|
26
|
|
- legend: {
|
|
27
|
|
- data: ['出库', '入库','通风','熏蒸','静态储存'],
|
|
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,
|
|
37
|
|
-
|
|
38
|
|
- },
|
|
|
26
|
+ // legend: {
|
|
|
27
|
+ // data: ['出库', '入库','通风','熏蒸','静态储存'],
|
|
|
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,
|
|
|
37
|
+ // type:"scroll"
|
|
|
38
|
+
|
|
|
39
|
+ // },
|
|
39
|
40
|
grid: {
|
|
40
|
41
|
// left: '0',
|
|
41
|
42
|
left: 'center',
|
|
|
@@ -46,8 +47,8 @@ angular.module('app.system')
|
|
46
|
47
|
{
|
|
47
|
48
|
|
|
48
|
49
|
type: 'pie',
|
|
49
|
|
- radius: ['20%', '45%'],
|
|
50
|
|
- center: ["50%", "50%"],
|
|
|
50
|
+ radius: ['30%', '55%'],
|
|
|
51
|
+ center: ["50%", "58%"],
|
|
51
|
52
|
avoidLabelOverlap: false,
|
|
52
|
53
|
label: {
|
|
53
|
54
|
show: false,
|
|
|
@@ -103,4 +104,4 @@ angular.module('app.system')
|
|
103
|
104
|
}
|
|
104
|
105
|
$scope.cfCharts();
|
|
105
|
106
|
|
|
106
|
|
- });
|
|
|
107
|
+ });
|