2
13693261870
2022-09-16 653761a31dfeb50dd3d007e892d69c90bf0cdafc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <meta charset="utf-8" />
    <script th:src="@{${pubzyWebRoot} + 'echarts/echarts.min-3.0.js'}" type="text/javascript"></script>
</head>
<body>
<div id="div_SHJYRY" style="width:740px; height:420px;"></div>  <!--涉海就业人员-->
</body>
</html>
<script type="text/javascript">
    //涉海就业人员
    var divshjyry = document.getElementById("div_SHJYRY");
    var shjyry = echarts.init(divshjyry);
    var SHJYRYoption = {
        timeline : {
            data : [2010,2011,2012,2013,2014],
            label : {
                formatter : function(s) {
                    return s;
                }
            }
        },
        options:[
            {
                title : {
                    text: '2010年分地区涉海就业人员情况',
                    textStyle:{
                        color:'#2ec7c9'
                    }
                },
                color:['#2ec7c9'],
                tooltip : {
                    trigger: 'axis',
                },
                toolbox: {
                    show : true,
                    orient:'vertical',
                    y:'center',
                    feature : {
                        mark : {show: true},
                        dataView : {show: true, readOnly: false},
                        magicType : {show: true, type: ['line', 'bar']},
                        restore : {show: true},
                        saveAsImage : {show: true}
                    }
                },
                calculable : true,
                xAxis : [
                    {
                        type : 'category',
                        data : ['辽宁','河北','天津','山东','江苏','上海','浙江','福建','广东','广西','海南','其他']
                    }
                ],
                yAxis : [
                    {
                        type : 'value',
                        name:'万人',
                    }
                ],
                series : [
                    {
                        name:'人数',
                        type:'bar',
                        data:[311.6, 92.2, 169.2, 508.6, 185.9, 202.7, 407.6, 412.9, 803.4, 109.5, 128.1, 19.1],
                    }
                ]
            },
            {
                title : {
                    text: '2011年分地区涉海就业人员情况'
                },
                series : [
                    {
                        data:[318.2,94.2,172.7,519.4,189.8,207,416.3,421.6,820.4,111.9,130.9,19.5],
                    }
                ]
            },
            {
                title : {
                    text: '2012年分地区涉海就业人员情况'
                },
                series : [
                    {
                        data:[322.6,95.5,175.1,526.5,192.4,209.8,422,427.4,831.6,113.4,132.7,19.7]
                    }
                ]
            },
            {
                title : {
                    text: '2012年分地区涉海就业人员情况'
                },
                series : [
                    {
                        data:[326.8,96.7,177.4,533.4,194.9,212.6,427.5,433,842.6,114.9,134.4,20]
                    }
                ]
            },
            {
                title : {
                    text: '2012年分地区涉海就业人员情况'
                },
                series : [
                    {
                        data:[330.5,97.8,179.4,539.4,197.1,215,432.3,437.9,852,116.2,135.9,20.2]
                    }
                ]
            }
        ]
    };
    shjyry.setOption(SHJYRYoption);
</script>