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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
<!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 style="margin: 0px;">
<div id="div_XZQH" style="width:650px; height:420px;margin-top: 10px;"></div>    <!--行政区划-->
</body>
</html>
<script type="text/javascript">
    //行政区划
    var divxzqh = document.getElementById("div_XZQH");
    var xzqh = echarts.init(divxzqh);
    var XZQHoption = {
        timeline : {
            x:"18%",
            y:"90%",
            height:'30',
            data : [
                {
                    value: 2017,
                    tooltip: {
                        formatter: '2017'
                    }
                },
                {
                    value: 2013,
                    tooltip: {
                        formatter: '2013'
                    }
                },
                {
                    value: 2014,
                    tooltip: {
                        formatter: '2014'
                    }
                },
                {
                    value: 2015,
                    tooltip: {
                        formatter: '2015'
                    }
                },
                {
                    value: 2016,
                    tooltip: {
                        formatter: '2016'
                    }
                }],
            label : {
                formatter : function(s) {
                    return s;
                }
            }
        },
        options:[
            {
                title:{
                    text:'2017年主要海洋产业发展情况',
                    x:'center',
                    textStyle:{
                        fontWeight:"normal",
                        color: "#008acd"
                    }
                },
                color: ['#C1232B', '#59B1F0'],
                tooltip : {
                    trigger: 'axis'
                },
                calculable : true,
                grid:{width:'560px',height:'220px',y:'90',x:'60',x2:'60'},
                xAxis : [
                    {
                        type:'category',
 
                        axisLabel: {
                            interval:0,
                            rotate:40
                        },
                        data:['海洋渔业','海洋油气','海洋矿业','海洋盐业','海洋化工','生物医药','海洋电力','海水利用','船舶工业','工程建筑','交通运输','滨海旅游']
                    }
                ],
                yAxis : [
                    {
                        name:'总量(亿元)',
                        type : 'value',
                        position: 'left',
                        splitLine:{
                            show:false
                        },
                        axisLine: {
                            lineStyle: {
                                type: 'solid',
                                color:'#59B1F0',
                                width:'1'
                            }
                        }
                    },
                    {
                        name:'增速(%)',
                        type : 'value',
                        position: 'right',
                        splitLine:{
                            show:false
                        },
                        axisLine: {
                            lineStyle: {
                                type: 'solid',
                                color:'#C1232B',
                                width:'1'
                            }
                        }
                    }
                ],
                series : [
                    {
                        name:'增速(%)',
                        type:'line',
                        yAxisIndex: 1,
                        data:[-3.3,-2.1,-5.7,-12.7,-0.8,11.1,8.4,3.6,-4.4,0.9,9.5,16.5],
                    },
                    {
                        name:'总量(亿元)',
                        type:'bar',
                        data:[4676,1126,66,40,1044,385,138,14,1455,1841,6312,14636],
                    }
                ]
            },
            {
                title : {
                    text: '2013年主要海洋产业发展情况',
                    x:'center',
                    textStyle:{
                        fontWeight:"normal",
                        color: "#008acd"
                    }
                },
                series : [
                    {
                        name:'增速(%)',
                        type:'line',
                        yAxisIndex: 1,
                        data:[5.5,0.1,13.7,-8.1,11.4,20.7,11.9,9.9,-7.7,9.4,4.6,11.7],
                    },
                    {
                        name:'总量(亿元)',
                        type:'bar',
                        data:[3872,1648,49,56,908,224,87,12,1183,1680,5111,7851],
                    }
                ]
            },
            {
                title:{
                    text:'2014年主要海洋产业发展情况',
                    textStyle:{
                        fontWeight:"normal",
                        color: "#008acd"
                    }
                },
                series : [
                    {
                        name:'增速(%)',
                        type:'line',
                        yAxisIndex: 1,
                        data:[6.4,-5.9,13,-0.4,11.9,12.1,8.5,12.2,7.6,9.5,6.9,12.1],
                    },
                    {
                        name:'总量(亿元)',
                        type:'bar',
                        data:[4293,1530,53,63,911,258,99,14,1387,2103,5562,8882],
                    }
                ]
            },
            {
                title:{
                    text:'2015年主要海洋产业发展情况',
                    x:'center',
                    textStyle:{
                        fontWeight:"normal",
                        color: "#008acd"
                    }
                },
                series : [
                    {
                        name:'增速(%)',
                        type:'line',
                        yAxisIndex: 1,
                        data:[2.8,-2,15.6,3.1,14.8,16.3,9.1,7.8,3.4,15.4,5.6,11.4],
                    },
                    {
                        name:'总量(亿元)',
                        type:'bar',
                        data:[4352,939,67,69,985,302,116,14,1441,2092,5541,10874],
                    }
                ]
            },
            {
                title:{
                    text:'2016年主要海洋产业发展情况',
                    x:'center',
                    textStyle:{
                        fontWeight:"normal",
                        color: "#008acd"
                    }
                },
                series : [
                    {
                        name:'增速(%)',
                        type:'line',
                        yAxisIndex: 1,
                        data:[3.8,-7.3,7.7,0.4,8.5,13.2,10.7,6.8,-1.9,5.8,7.8,9.9],
                    },
                    {
                        name:'总量(亿元)',
                        type:'bar',
                        data:[4641,869,69,39,1017,336,126,15,1312,2172,6004,12047],
                    }
                ]
            }
        ]
    };
    xzqh.setOption(XZQHoption);
</script>