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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:layout="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width">
    <title>用海项目拉动投资</title>
    <script src="/js/PingTaiMenHuFile/GongNengQuHua/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script th:src="@{${pubzyWebRoot} + 'echarts/echarts.min-3.0.js'}" type="text/javascript"></script>
    <style>
        body {
            margin: 0px;
        }
        .title {
            font-size: 14px !important;
        }
 
        #MainDiv {
            float: left;
            font-size: 12pt;
            width: 100%;
            text-align: center;
            height: 921px;
            margin-top: 12px;
        }
    </style>
<body>
<div>
    <div id="MainDiv">
        <div id="LDTZmain" class="main" style="width: 100%; height: 100%; -webkit-tap-highlight-color: transparent; user-select: none; background-color: rgba(0, 0, 0, 0); cursor: default;" _echarts_instance_="1545882117588"><div style="position: relative; overflow: hidden; width: 1920px; height: 921px;"><div data-zr-dom-id="bg" class="zr-element" style="position: absolute; left: 0px; top: 0px; width: 1920px; height: 921px; user-select: none;"></div><canvas width="1920" height="921" data-zr-dom-id="0" class="zr-element" style="position: absolute; left: 0px; top: 0px; width: 1920px; height: 921px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></canvas><canvas width="1920" height="921" data-zr-dom-id="1" class="zr-element" style="position: absolute; left: 0px; top: 0px; width: 1920px; height: 921px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></canvas><canvas width="1920" height="921" data-zr-dom-id="_zrender_hover_" class="zr-element" style="position: absolute; left: 0px; top: 0px; width: 1920px; height: 921px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></canvas><div class="echarts-tooltip zr-element" style="position: absolute; display: block; border-style: solid; white-space: nowrap; transition: left 0.4s, top 0.4s; background-color: rgba(50, 50, 50, 0.498039); border-width: 0px; border-color: rgb(51, 51, 51); border-radius: 4px; color: rgb(255, 255, 255); font-family: 微软雅黑, Arial, Verdana, sans-serif; padding: 5px; left: 1501px; top: 613px;">广东省<br>确权面积(万公顷) : 10.37<br>投资额(亿元) : 6,568.19<br>预计拉动区域经济产值(亿元) : 7,674.669188</div></div></div>
    </div>
</div>
 
 
<script type="text/javascript" th:inline="javascript">
    var category = ["国务院","辽宁省","河北省","天津市","山东省","江苏省","上海市","浙江省","福建省","广东省","广西区","海南省"];
    var MJ = ["16.60","258.68","83.78","4.09","150.39","104.95","0.42","14.32","18.65","10.37","5.88","1.91"];
    var INVEST = ["14955.63","19586.70","32081.67","369.77","3655.24","3514","79.58","2369.84","13360.30","6568.19","894.07","313.89"];
    var AVGMONEY = ["7285.9226","12267.0505493813","503.79131259","958.78387512","1269.17911779","3708.74872975","231.88686667","3247.9442104223","5278.16225642","7674.669188","1728.597927","1393.487609"];
 
    jQuery(document).ready(function () {
        $("#MainDiv").css("height", window.innerHeight - 12);
        loadEChart();
    });
 
    function loadEChart() {
        var myChart = echarts.init(document.getElementById('LDTZmain'), 'macarons');
        myChart.setOption({
            grid: {
                x:80,
                x2:80,
                y:120
            },
            color:['#84A3FE','#EC1F48','#0491FB'],
            tooltip: {
                trigger: 'axis'
            },
            title : {
                text: '海域使用-用海项目拉动投资',
                x: 28,
                y: 14,
                textStyle:{
                    fontSize: 20,
                    fontWeight:"bold",
                    color: "#4777FF"
                }
            },
            toolbox: {
                show: false,
                y:'2',
                x:'220',
                feature: {
                    myTool1: {
                        show: true,
                        title: '更多',
                        width:150,
                        borderWidth:50,
                        icon: 'image://http://echarts.baidu.com/images/favicon.png',
                        onclick:function(option1) {
 
                        }
                    },
                },
                iconStyle:{
                    normal:{
                        borderWidth:20,
                    }
                }
            },
            calculable: true,
            legend: {
                x:'right',
                padding: [23,20,0,0],
                data: ['确权面积(万公顷)', '投资额(亿元)', '预计拉动区域经济产值(亿元)']
            },
            xAxis: [
                {
                    type: 'category',
                    axisLabel: {
                        textStyle: {
                            color: 'black'
                        }
                    },
                    data: category,
                    axisLine:{
                        lineStyle:{
                            color:'#717171'
                        }
                    }
                },
            ],
            yAxis: [
                {
                    type: 'value',
                    name: '面积(万公顷)',
                    axisLabel: {
                        formatter: '{value}',
                        textStyle: {
                            color: '#717171'
                        }
                    },
                    splitLine:{
                        show:true,
                        lineStyle:{
                            color: ['#E9E9E9'],
                            width: 1,
                            type: 'solid'
                        }
                    },
                    axisLine:{
                        lineStyle:{
                            color:'#717171',
                        }
                    }
                },
                {
                    type: 'value',
                    name: '金额(亿元)',
                    axisLabel: {
                        formatter: '{value}',
                        textStyle: {
                            color: '#717171'
                        }
                    },
                    splitLine:{
                        show:false
                    },
                    axisLine:{
                        lineStyle:{
                            color:'#717171',
                        }
                    }
                }
            ],
            series: [
                {
                    name: '确权面积(万公顷)',
                    type: 'bar',
                    barWidth :30,
                    data: MJ
                },
                {
                    name: '投资额(亿元)',
                    type: 'line',
                    width:1,
                    yAxisIndex: 1,
                    data: INVEST
                },
                {
                    name: '预计拉动区域经济产值(亿元)',
                    type: 'line',
                    width:1,
                    yAxisIndex: 1,
                    data: AVGMONEY
                }
            ]
        });
 
    }
</script></body></html>