// javascript document $(document).ready(function(){ //2018-05-16 临时性修复营商环境图片比例各栏目不同的问题。 var m2_navs_li = $(".m2_navs li"); for (var i = 0; i < m2_navs_li.length; i++) { if (m2_navs_li.eq(i).text()=="政策文件" || m2_navs_li.eq(i).text()=="技术标准" || m2_navs_li.eq(i).text()=="文件汇总") { $("div.news_cons1").eq(i).addclass("book"); } } var fixnavtop=550; $(window).scroll(function () { if ($(window).scrolltop() > fixnavtop) { $(".fixnav").addclass("fixed"); } else { $(".fixnav").removeclass("fixed"); } }); var newsboxul = $(".newsbox > ul"); $(".newsbox h3 i").click(function(){ $(this).parent().find("i").removeclass("cur"); $(this).addclass("cur"); var i = $(this).index(); $(this).parent().parent().find("ul").css('display','none'); $(this).parent().parent().find("ul").eq(i).stop(true,false).fadein(); }); $(".servicebox .sa li").hover(function(){ scli = $(".servicebox .sa li").index($(this)); $(".servicebox .sc li").eq(scli).stop(true,false).fadein("slow"); $(this).addclass("cur"); },function(){ $(".servicebox .sc li").eq(scli).stop(true,false).fadeout("fast"); $(this).removeclass("cur"); }); $(".servicebox .sc li").hover(function(){ $(this).stop(true,false).fadein("slow"); $(".servicebox .sa li").eq(scli).addclass("cur"); },function(){ $(".servicebox .sc li").stop(true,false).fadeout("slow"); $(".servicebox .sa li").removeclass("cur"); }); //业务展示部分 require.config({ paths: { echarts: '/sites/sgcc_main/js' } }); require( [ 'echarts', 'echarts/chart/bar', 'echarts/chart/line', 'echarts/chart/pie', 'echarts/chart/map' ], function (ec) { //公用样式设定 function titlestyle(isshow, title) { if (!isshow && isshow) isshow=true; return { show:(isshow), text:(title), subtext:'', sublink: '', x:'center', y:'60', textstyle:{color: '#333',fontsize: 14} } } function toolboxstyle(isshow, yy) { if (!yy) yy=410; if (!isshow && isshow) isshow=true; return { show : (isshow), orient : 'vertical', x: 42, y: (yy), padding:17, feature : { //mark : {show: true}, //dataview : {show: true, readonly: false}, restore : {show: true,title:'显示全部'} //saveasimage : {show: true} } } } function tooltipstyle(isshow, yy) { return { trigger: 'item', enterable: true, hidedelay: 100, formatter: '{b}', backgroundcolor: 'rgba(0,121,106,0.8)', bordercolor: 'rgba(255,255,255,0.9)', borderwidth: 2, textstyle: {fontsize: 12}, padding: 5 } } function legendstyle(isshow, yy, ldata) { if (!yy) yy=410; if (!isshow && isshow) isshow=true; return { show:isshow, orient: 'vertical',//vertical, horizontal x:40, y:yy, padding:15, itemgap: 6, selectedmode:'single', data: ldata, textstyle : { color: '#000', fontsize:12 } } } function roamcontrollerstyle(isshow, mymap) { if (!isshow && isshow) isshow=true; if (mymap=='world'){ return { show: isshow, x: 'right', y: 'bottom', handlecolor: '#bbb', maptypecontrol: { world: true } } }else{ return { show: isshow, x: 'right', y: 'bottom', handlecolor: '#bbb', maptypecontrol: { china: true } } } } //特高压划过信息 var hoverdata=[ ['晋东南~南阳~荆门1000千伏交流工程
线路长度640公里,变电容量1800万千伏安,
输电能力500万千瓦,2009年1月试验示范工
程投运,2011年12月扩建工程投运。', '晋东南~南阳~荆门1000千伏交流工程
线路长度640公里,变电容量1800万千伏安,
输电能力500万千瓦,2009年1月试验示范工
程投运,2011年12月扩建工程投运。', '淮南~浙北~上海1000千伏交流工程
线路长度2×649公里,变电容量2100万千伏
安,输电能力600万千瓦,2013年9月投运。', '淮南~浙北~上海1000千伏交流工程
线路长度2×649公里,变电容量2100万千伏
安,输电能力600万千瓦,2013年9月投运。', '浙北~福州1000千伏交流工程
线路长度2×603公里,变电容量1800万千伏
安,输电能力600万千瓦,2014年12月投运。', '锡盟~山东1000千伏交流工程
线路长度2×730公里,变电容量1500万千伏
安,输电能力800万千瓦,2016年7月投运。', '锡盟~山东1000千伏交流工程
线路长度2×730公里,变电容量1500万千伏
安,输电能力800万千瓦,2016年7月投运。', '锡盟~山东1000千伏交流工程
线路长度2×730公里,变电容量1500万千伏
安,输电能力800万千瓦,2016年7月投运。', '蒙西~天津南1000千伏交流
线路长度2×616公里,变电容量2400万千伏安,输电能力600万千瓦,2016年11月投产。', '淮南~南京~上海1000千伏交流
线路长度2×774公里,变电容量1200万千伏
安,输电能力600万千瓦。', '淮南~南京~上海1000千伏交流
线路长度2×774公里,变电容量1200万千伏
安,输电能力600万千瓦。。', '胜利~锡盟1000千伏交流工程
线路长度2×240公里,变电容量600万千伏安,
输电能力600万千瓦,2017年6月投产。', '榆横~潍坊1000千伏交流
线路长度2×1048公里,变电容量1500万千伏
安,输电能力600万千瓦,2017年8月投产。'], ['向家坝~上海±800千伏直流工程
线路长度1907公里,输电能力640万千瓦,
2010年7月投运,是我国第一个特高压直流工
程。', '锦屏~苏南±800千伏特高压直流工程
线路长度2097公里,输电能力720万千瓦,
2012年12月投运。', '哈密南~郑州±800千伏特高压直流工程
线路长度2210公里,输电能力800万千瓦,
2014年1月投运,是世界首个±800千伏/800
万千瓦的直流输电工程。', '溪洛渡~金华±800千伏特高压直流工程
线路长度1680公里,输电能力800万千瓦,
2014年7月投运。', '宁东~浙江±800千伏直流
线路长度1720公里,输电容量800万千瓦,
2016年9月投产。', '晋北~南京±800千伏直流
线路长度1119公里,输电容量800万千瓦,
2017年6月投产。', '酒泉~湖南±800千伏直流
线路长度2383公里,输电容量800万千瓦,
2017年6月投产。'], ['苏通gil综合管廊工程
线路长度2×5.9公里,计划2019年投产。', '北京西~石家庄交流工程
线路长度2×228公里,计划2018年投产。'], ['锡盟~江苏±800千伏直流
线路长度1620公里,输电能力1000万千瓦,
计划2017年投产。', '上海庙~山东±800千伏直流
线路长度1238公里,输输电能力1000万千瓦,
计划2017年投产。', '准东~皖南±1100千伏直流
线路长度3324公里,输电能力1200万千瓦,
计划2018年投产。', '扎鲁特~青州±800千伏直流
线路长度1234公里,输电能力1000万千瓦,
计划2017年投产。'] ]; /* for(var i=0,len=hoverdata.length;i20) result += '
'; } hoverdata[i][j]=result; } } */ //特高压样式设定 var effect = { show: true, scalesize: require('zrender/tool/env').canvassupported ? 1 : 2, period: 50, // 运动周期,无单位,值越大越慢 color: 'rgba(255,255,255,0.5)', shadowcolor: 'rgba(255,255,255,1)', shadowblur : 10 }; function itemstyle(idx) { return { normal: { //color:'#fff', borderwidth:1.5, //bordercolor:['#333','#c0c','#660000','#90f'][idx], linestyle: { //shadowcolor : ['rgba(30,144,255,1)','lime'][idx], //默认透明 //shadowblur: 10, //shadowoffsetx: 0, //shadowoffsety: 0, type: ['solid','solid','dashed','dashed'][idx] }, label: { show: false, formatter: null, textstyle: {fontsize: 10} } } } }; function markpointstyle(idx) { return { normal:{ label:{ show:true, position:['right','right','right','left'][idx], textstyle: {fontsize: 11}, formatter: '{b}' } }, emphasis: { label:{ show:true, textstyle: {fontsize: 11}, position:['right','right','right','left'][idx], formatter: '{b}' } } } }; option0 = { //backgroundcolor: '#1b1b1b', color: ['#009933','#008c8c','#6600cc','#0066cc'], title : titlestyle(true,'国家电网特高压工程示意图'), toolbox: toolboxstyle(true), tooltip : { trigger: 'item', enterable: true, //formatter: '{b}', formatter:function(params, ticket, callback) { if (params.name.length>4){ return hoverdata[params.seriesindex][params.dataindex] }else{ return params.name; } // + "
" + //params.seriesname + ":" + params.value; }, backgroundcolor: 'rgba(0,121,106,0.8)', bordercolor: 'rgba(255,255,255,0.9)', borderwidth: 2, textstyle: {fontsize: 12}, padding: 5 }, legend: legendstyle(true, 330, ['已建特高压交流', '已建特高压直流', '在建特高压交流', '在建特高压直流']), roamcontroller: roamcontrollerstyle(true,'china'), series : [ { name: '已建特高压交流', type: 'map', roam: false,//scale move hoverable: false, clickable: false, //maplocation: {width:'700px', height:'700px',x:'',y:''}, maptype: 'china', itemstyle:{ normal:{ bordercolor:'rgba(255,255,255,1)', borderwidth:0.5, label:{ show:false, position:'right', formatter: '{b}' }, areastyle:{ color: 'rgba(194,204,203,0.8)' } }, emphasis: { label:{show:false,position:'top'}, areastyle:{ color: 'rgba(194,204,203,1)' } } }, data:[], markpoint : { symbol:'emptycircle', symbolsize : 2, clickable: false, hoverable: false, itemstyle: markpointstyle(0), data : [ {name:'晋东南'}, {name:'南阳'}, {name:'荆门'}, {name:'淮南'}, {name:'浙北'}, {name:'上海'}, {name:'福州'}, {name:'锡盟'}, {name:'济南'}, {name:'蒙西'}, {name:'天津南'}, {name:'南京'}, {name:'胜利'}, {name:'榆横'}, {name:'潍坊'} ] }, markline : { symbol: ['circle', 'arrow'], symbolsize : 0, effect : effect, clickable: true, itemstyle : itemstyle(0), smooth:true, smoothness:0, data : [ [{name:'晋东南'}, {name:'南阳',value:'tgy1'}], [{name:'南阳'}, {name:'荆门',value:'tgy1'}], [{name:'淮南'}, {name:'浙北',value:'tgy2'}], [{name:'浙北'}, {name:'上海',value:'tgy2'}], [{name:'浙北'}, {name:'福州',value:'tgy3'}], [{name:'锡盟'}, {name:'北京东',value:'tgy4'}], [{name:'北京东'}, {name:'天津南',value:'tgy4'}], [{name:'天津南'}, {name:'济南',value:'tgy4'}], [{name:'蒙西'}, {name:'天津南',value:'tgy5'}], [{name:'淮南'}, {name:'南京',value:'tgy6'}], [{name:'南京'}, {name:'上海',value:'tgy6'}], [{name:'胜利'}, {name:'锡盟',value:'tgy7'}], [{name:'榆横'}, {name:'潍坊',value:'tgy8'}] ] } }, { name: '已建特高压直流', type: 'map', maptype: 'china', data:[], markpoint : { symbol:'emptycircle', symbolsize : 2, clickable: false, hoverable: false, itemstyle: markpointstyle(1), data : [ {name:'向家坝'}, {name:'上海'}, {name:'锦屏'}, {name:'苏南'}, {name:'哈密南'}, {name:'郑州'}, {name:'溪洛渡'}, {name:'浙西'}, {name:'宁东'}, {name:'浙江'}, {name:'酒泉'}, {name:'湖南'}, {name:'晋北'}, {name:'南京'} ] }, markline : { symbol: ['circle', 'circle'], symbolsize : 0, effect : effect, clickable: true, itemstyle : itemstyle(1), smooth:false, data : [ [{name:'向家坝'}, {name:'上海',value:'tgy9'}], [{name:'锦屏'}, {name:'苏南',value:'tgy10'}], [{name:'哈密南'}, {name:'郑州',value:'tgy11'}], [{name:'溪洛渡'}, {name:'浙西',value:'tgy12'}], [{name:'宁东'}, {name:'浙江',value:'tgy13'}], [{name:'酒泉'}, {name:'湖南',value:'tgy14'}], [{name:'晋北'}, {name:'南京',value:'tgy15'}] ] } }, { name: '在建特高压交流', type: 'map', maptype: 'china', data:[], markpoint : { symbol:'emptycircle', symbolsize : 2, clickable: false, hoverable: false, itemstyle: markpointstyle(2), data : [{name:'苏州'}, {name:'南通'}, {name:'北京西'}, {name:'石家庄'}] }, markline : { symbol: ['circle', 'circle'], symbolsize : 0, effect : effect, clickable: true, itemstyle : itemstyle(2), smooth:false, data : [ [{name:'苏州'}, {name:'南通',value:'tgy16'}], [{name:'北京西'}, {name:'石家庄',value:'tgy17'}] ] } }, { name: '在建特高压直流', type: 'map', maptype: 'china', data:[], markpoint : { symbol:'emptycircle', symbolsize : 2, clickable: false, hoverable: false, itemstyle: markpointstyle(3), data : [{name:'锡 盟'}, {name:'江苏'},{name:'上海庙'}, {name:'临沂'}, {name:'准东'}, {name:'皖南'}, {name:'扎鲁特'}, {name:'青州'}] }, markline : { symbol: ['circle', 'circle'], symbolsize : 0, effect : effect, clickable: true, itemstyle : itemstyle(3), smooth:false, data : [ [{name:'锡 盟'}, {name:'江苏',value:'tgy18'}], [{name:'上海庙'}, {name:'临沂',value:'tgy19'}], [{name:'准东'}, {name:'皖南',value:'tgy20'}], [{name:'扎鲁特'}, {name:'扎鲁特2',value:'tgy21'}], [{name:'扎鲁特2'}, {name:'扎鲁特3',value:'tgy21'}], [{name:'扎鲁特3'}, {name:'青州',value:'tgy21'}] ] }, geocoord: { '淮南':[116.7847,32.7722], '晋东南':[112.8625,36.4746], '荆门':[112.6758,30.9979], '浙北':[120.9155,30.6354], '锡 盟':[116.390342,44.847344],//800kv '济南':[117.1582,36.8701], '天津南':[117.3958,38.9603], '蒙西':[111.163339,39.833868], '榆横':[109.8743,38.205], '潍坊':[119.0918,36.524], '胜利':[116.239944,44.08557], '锡盟':[116.746868,42.183157], '向家坝':[104.616811,28.766196], '锦屏':[101.208634,28.665612], '苏南':[120.864843,30.987412], '哈密南':[95.346642,42.291767], '准东':[88.854084,44.798781], '溪洛渡':[103.638594,28.238148], '浙西':[119.63846,29.335225], '宁东':[106.558316,37.424933], '浙江':[120.570973,30.032049], '酒泉':[98.509892,39.74382], '湖南':[112.949898,27.837213], '晋北':[112.346812,39.316085], '南京':[118.7969,32.0603], '北京西':[115.75951,40.012823], '北京东':[116.829706,39.704537], '石家庄':[114.51783,38.049209], '苏州':[120.594314,31.314444], '南通':[121.07151,31.986533], '江苏':[119.969589,32.518198], '上海庙':[106.976534,38.225732], '临沂':[118.348281,35.078535], '皖南':[118.754539,30.953011], '扎鲁特':[120.908777,44.565506], '扎鲁特2':[117.473612,40.411395], '扎鲁特3':[117.510406,38.471506], '青州':[118.492996,36.705688], '北京':[116.4075,39.9040], '福州':[119.2965,26.0745], '济南':[117.1205,36.6510], '南阳':[112.5283,32.9908], '上海':[121.4737,31.2304], '郑州':[113.6254,34.7466], '天津':[117.2010,39.0842] } } ] }; //清洁能源设定 var hoverdata2=[ //输电线路 [ [{name:'东北地区'},{name:'华北地区'}], [{name:'西北地区'},{name:'华北地区'}], [{name:'西北地区'},{name:'华东地区'}], [{name:'西北地区'},{name:'华中地区'}], [{name:'华中地区'},{name:'西北地区'}] ], //输电线路输电量 ["61.02亿千瓦时", "35.46亿千瓦时", "23.62亿千瓦时", "84.64亿千瓦时", "84.64亿千瓦时"], //发电区域top [//风力发电top [{name:'内蒙古',value:2472 }, {name:'新疆',value:1776 }, {name:'甘肃',value:1277 }, {name:'河北',value:1138 }, {name:'宁夏',value:942 }, {name:'山东',value:839 }, {name:'山西',value:771 }, {name:'辽宁',value:695 }, {name:'江苏',value:561 }, {name:'黑龙江',value:561 }, {name:'吉林',value:505 } ], //太阳能发电top [{name:'新疆',value:893}, {name:'甘肃',value:686 }, {name:'青海',value:682 }, {name:'内蒙古',value:628 }, {name:'江苏',value:546 }, {name:'宁夏',value:526 } ], //风力发电top [{name:'四川',value:7246}, {name:'湖北',value:3663 }, {name:'湖南',value:1553 }, {name:'福建',value:1304 }, {name:'青海',value:1192 }, {name:'浙江',value:1154 } ] ] ]; var converthoverdata = function (sname) { var res = ""; for (var i = 0; i < hoverdata2[2][2].length; i++) { var dataitem = hoverdata2[2][2][i]; if (sname == dataitem.name) { res += "
水电接入:"+dataitem.value+"万千瓦"; } } for (var i = 0; i < hoverdata2[2][0].length; i++) { var dataitem = hoverdata2[2][0][i]; if (sname == dataitem.name) { res += "
风电接入:"+dataitem.value+"万千瓦"; } } for (var i = 0; i < hoverdata2[2][1].length; i++) { var dataitem = hoverdata2[2][1][i]; if (sname == dataitem.name) { res += "
太阳能接入:"+dataitem.value+"万千瓦"; } } return res; }; option2 = { //backgroundcolor: '#1b1b1b', color: ['#00796a','#015bac','#ec6e2d'], title : titlestyle(true,'国家电网调度清洁能源业务示意图'), toolbox: toolboxstyle(true), tooltip : { trigger: 'item', enterable: true, formatter:function(params, ticket, callback) { //根据名字字数判断返回提示信息,东北地区-华北地区、东北地区、内蒙古 if(params.name.length>4){ return params.name.replace(' > ','-')+"
" +hoverdata2[1][params.dataindex] }else if(params.name.length>3){ return params.name }else{ return params.name+ converthoverdata(params.name); } }, backgroundcolor: 'rgba(0,121,106,0.8)', bordercolor: 'rgba(255,255,255,0.9)', borderwidth: 2, textstyle: {fontsize: 12}, padding: 5 }, legend: legendstyle(true, 324, [{ //name:'清洁能源调度', //textstyle:{fontsize:12,fontweight:'bolder',color:'#cccccc'}, //icon:'image:///sites/sgcc_main/js/icon_xny.png'}, { name:'水电分布', //textstyle:{fontsize:12,fontweight:'bolder',color:'#cccccc'}, icon:'image:///sites/sgcc_main/js/icon_sd.png'}, { name:'风电分布', //textstyle:{fontsize:12,fontweight:'bolder',color:'#cccccc'}, icon:'image:///sites/sgcc_main/js/icon_fd2.png'},{ name:'太阳能分布', //textstyle:{fontsize:12,fontweight:'bolder',color:'#cccccc'}, icon:'image:///sites/sgcc_main/js/icon_tyn2.png'}]), roamcontroller: roamcontrollerstyle(true,'china'), series : [ /*{ name: '清洁能源调度', type: 'map', roam: false,//scale move hoverable:false, clickable:false, //maplocation: {width:'600px', height:'600px',x:'',y:''}, maptype: 'china', itemstyle:{ normal:{ bordercolor:'rgba(255,255,255,1)', borderwidth:0.5, areastyle:{ color: '#ced9d8' } }, emphasis: { areastyle:{ color: '#00796b' } } }, data:[], markline : { smooth:true, smoothness:0, effect : { show: true, scalesize: 1, period: 30, color: 'rgba(252,255,255,0.2)', shadowcolor: '#fff', shadowblur: 5 }, itemstyle : { normal: { borderwidth:1, linestyle: { type: 'solid', width: 3, shadowblur: 5 } } }, data : hoverdata2[0] }, markpoint : { symbol:'circle', symbolsize : function (v){ return 20 + v/5 }, itemstyle:{ normal:{ color: 'rgba(0,121,106,0.3)', label:{ show:true, formatter:'{b}', textstyle: { color: '#003333', fontsize: 14, fontweight: 'bold' } } }, emphasis: { label:{show:false} } }, data : [ {name:'西北地区',value:120}, {name:'华北地区',value:60}, {name:'华中地区',value:60}, {name:'东北地区',value:90}, {name:'华东地区',value:90} ] } },*/ { name: '水电分布', type: 'map', roam: false,//scale move hoverable: false, maptype: 'china', data:[], markpoint : { symbol: 'image:///sites/sgcc_main/js/icon_sd.png', symbolsize : [8,8], itemstyle:{ normal:{ label:{show:false} }, emphasis: { label:{show:false} } }, data : hoverdata2[2][2] }, geocoord: { '西北地区': [93.263567,38.9615], '东北地区': [124.391793,45.514288], '华北地区': [116.076215,38.268646], '华东地区': [119.976442,31.231274], '华中地区': [112.102399,29.508424], '内蒙古': [111.4124,40.4901], '新疆': [87.9236,43.5883], '甘肃': [103.5901,36.3043], '河北': [114.4995,38.1006], '宁夏': [106.3586,38.1775], '山东': [117.1582,36.8701], '山西': [112.3352,37.9413], '辽宁': [123.1238,42.1216], '江苏': [118.8062,31.9208], '黑龙江': [127.9688,45.368], '吉林': [125.8154,44.2584], '青海': [100.4038,36.8207], '江西': [116.0046,28.6633], '安徽': [117.29,32.0581], '广东': [113.5107,23.2196], '四川': [103.9526,30.7617], '西藏': [91.1865,30.1465], '云南': [102.9199,25.4663], '浙江': [119.5313,29.8773], '湖南': [113.0823,28.2568], '湖北': [114.3896,30.6628], '海南': [110.3893,19.8516], '福建': [119.4543,25.9222], '陕西': [109.1162,34.2004], '贵州': [106.6992,26.7682], '河南': [113.4668,34.6234], '重庆': [107.7539,30.1904] } }, { name: '风电分布', type: 'map', roam: false,//scale move hoverable: false, maptype: 'china', data:[], markpoint : { symbol: 'image:///sites/sgcc_main/js/icon_fd.png', symbolsize : [14,8], itemstyle:{ normal:{ label:{show:false} }, emphasis: { label:{show:false} } }, data : hoverdata2[2][0] } }, { name: '太阳能分布', type: 'map', roam: false,//scale move hoverable: false, maptype: 'china', data:[], markpoint : { symbol: 'image:///sites/sgcc_main/js/icon_tyn.png', symbolsize : [14,8], itemstyle:{ normal:{ label:{show:false} }, emphasis: { label:{show:false} } }, data : hoverdata2[2][1] }, geocoord: { '青海': [101.4038,36.8207] } } ] }; option2_1 = { color: ['#14a266','#015bac','#ec6e2d'], title : { show:true, text:'公司调度清洁能源总装机容量(万千瓦)', x:'center', y:'20', textstyle:{color: '#000',fontsize: 13,fontweight:'normal'} }, toolbox: toolboxstyle(true), tooltip : { trigger: 'axis', axispointer:{ type : 'shadow' }, backgroundcolor: 'rgba(0,121,106,0.8)', bordercolor: 'rgba(255,255,255,0.9)', borderwidth: 2, textstyle: {fontsize: 12}, padding: 5 }, legend: { show:true, orient: 'horizontal', x:'center', y:'bottom', padding:0, itemgap: 6, //selectedmode:'single', data: ['水电','风电', '太阳能'], textstyle : { color: '#000' } }, grid: { x:50, y:45, x2:15, y2:40, containlabel: true }, calculable : false, xaxis : [ { type : 'category', axislabel: { show: true, textstyle: { fontsize:10 } }, data : ['2011','2012','2013','2014','2015','2016'] } ], yaxis : [ { type : 'value', axislabel: { show: true, textstyle: { fontsize:10 } } } ], series : [ { name:'水电', type:'bar', itemstyle:{ normal:{barborderradius: [3, 3, 0, 0]}, emphasis:{barborderradius: [3, 3, 0, 0]} }, data:[15617,16861,18537,19882,20782,21589] },{ name:'风电', type:'bar', itemstyle:{ normal:{barborderradius: [3, 3, 0, 0]}, emphasis:{barborderradius: [3, 3, 0, 0]} }, data:[4394, 5676, 7037, 8790, 11664, 13194] }, { name:'太阳能', type:'bar', itemstyle:{ normal:{barborderradius: [3, 3, 0, 0]}, emphasis:{barborderradius: [3, 3, 0, 0]} }, data:[232, 333, 1546, 2445, 3973, 7206] } ] }; // option2_2 = { color: ['#14a266','#015bac','#ec6e2d'], title : { show:true, text:'公司调度清洁能源总发电量(亿千瓦时)', x:'center', y:'15', textstyle:{color: '#000',fontsize: 13,fontweight:'normal'} }, toolbox: toolboxstyle(true), tooltip : { trigger: 'axis', axispointer:{ type : 'shadow' }, //formatter: '{b}', backgroundcolor: 'rgba(0,121,106,0.8)', bordercolor: 'rgba(255,255,255,0.9)', borderwidth: 2, textstyle: {fontsize: 12}, padding: 5 }, legend: { show:true, orient: 'horizontal', x:'center', y:'bottom', padding:0, itemgap: 6, //selectedmode:'single', data: ['水电','风电', '太阳能'], textstyle : { color: '#000' } }, grid: { x:50, y:45, x2:15, y2:40, containlabel: true }, calculable : false, xaxis : [ { type : 'category', axislabel: { show: true, textstyle: { fontsize:10 } }, data : ['2011','2012','2013','2014','2015','2016'] } ], yaxis : [ { type : 'value', axislabel: { show: true, textstyle: { fontsize:10 } } } ], series : [ { name:'水电', type:'bar', itemstyle:{ normal:{barborderradius: [3, 3, 0, 0]}, emphasis:{barborderradius: [3, 3, 0, 0]} }, data:[4610,5845,6006,6804,7009,7657] }, { name:'风电', type:'bar', itemstyle:{ normal:{barborderradius: [3, 3, 0, 0]}, emphasis:{barborderradius: [3, 3, 0, 0]} }, data:[706,968,1290,1452,1661,2115] }, { name:'太阳能', type:'bar', itemstyle:{ normal:{barborderradius: [3, 3, 0, 0]}, emphasis:{barborderradius: [3, 3, 0, 0]} }, data:[6,36,84,227,377,627] } ] }; //国际业务设定 var hoverdata1=[ [], [] ]; option1 = { color:['#339966','#336699','#339999'], title : {//titlestyle(false,'国家电网国际业务展示'), show:true, text:'国家电网国际业务展示', subtext:'', sublink: '', x:'center', y:'60', textstyle:{color: '#333',fontsize: 14} }, toolbox: toolboxstyle(true), tooltip : { trigger: 'item', formatter : function (params) { return params.value; }, backgroundcolor: 'rgba(0,121,106,0.8)', bordercolor: 'rgba(255,255,255,0.9)', borderwidth: 2, textstyle: {fontsize: 12}, padding: 5 }, legend:{ show:true, orient: 'vertical', x:40, y:340, padding:15, itemgap: 6, selectedmode:'single', selected: { // '驻外机构' : false, //'工程建设' : false }, data: [{name:'投资运营',icon:'image:///sites/sgcc_main/js/icon_tzyy.png'},{name:'工程建设',icon:'image:///sites/sgcc_main/js/icon_gcjs.png'},{name:'驻外机构',icon:'image:///sites/sgcc_main/js/icon_zwjg.png'}], textstyle : { color: '#000' } }, roamcontroller: roamcontrollerstyle(true,'world'), series : [ { name: '投资运营', type: 'map', maptype: 'world', roam: false, hoverable:false, clickable:false, maplocation: { x: -1, y : 60 }, itemstyle:{ emphasis:{label:{show:true},areastyle:{color:'#99cccc'}} }, data:[], markpoint : { symbol: 'image:///sites/sgcc_main/js/icon_tzyy.png',//'image:///sites/sgcc_main/js/icon_tzyy.png', symbolsize : 8, itemstyle:{ normal:{ label:{ show:false, //formatter:'{b}', position:'bottom', formatter: function (params) { return params.name; }, textstyle: { color: '#003333', fontsize: 12, fontweight: '' } } }, emphasis: { label:{show:false} } }, data : [ {name:'菲律宾',value:'菲律宾国家电网公司
项目起始:2009年
项目摘要:在菲律宾开展输电业务'}, {name:'巴西',value:'国家电网巴西控股公司
项目起始:2010年
项目摘要:在巴西开展输电业务'}, {name:'巴西cpfl',value:'巴西cpfl公司
项目起始:2017年
项目摘要:在巴西开展配电、新能源发电等业务'}, {name:'葡萄牙',value:'葡萄牙国家能源网公司
项目起始:2012年
项目摘要:在葡萄牙开展输电、输气业务'}, {name:'南澳',value:'南澳输电网公司
项目起始:2012年
项目摘要:在澳大利亚开展输电业务'}, {name:'澳洲',value:'国网澳洲资产公司
项目起始:2014年
项目摘要:在澳大利亚开展配电、配气、输气业务'}, {name:'澳网',value:'澳网公司
项目起始:2014年
项目摘要:在澳大利亚开展输电、配电、配气业务'}, {name:'意大利',value:'意大利存贷款能源网公司
项目起始:2014年
项目摘要:在意大利开展输电、输气、配气业务'}, {name:'希腊',value:'希腊国家电网公司
项目起始:2017年
项目摘要:在希腊开展输电业务'}, {name:'香港',value:'港灯电力投资有限公司
项目起始:2014年
项目摘要:在香港开展电力发、输、配、售等业务'} ] }, geocoord: { '菲律宾': [121.019491,14.61371],//菲律宾马尼拉 '巴西': [-43.262075,-22.896215],//巴西里约热内卢 '巴西cpfl': [-50.958786,-22.65572],//巴西坎皮纳斯-47.05166,-22.894576 '葡萄牙': [-9.162427,38.771674],//葡萄牙里斯本 '南澳': [138.581664,-34.864552],//澳大利亚阿德莱德 '澳洲': [144.993122,-37.778299],//澳大利亚墨尔本 '澳网': [149.167009,-35.34271],//澳大利亚墨尔本144.694166,-37.615662 '意大利': [12.495791,41.908398],//意大利罗马 '希腊': [23.72964,37.991474],//希腊雅典 '香港': [114.08,22.2] } }, { name: '工程建设', type: 'map', maptype: 'world', itemstyle:{ emphasis:{label:{show:true}} }, data:[], markpoint : { symbol: 'image:///sites/sgcc_main/js/icon_gcjs.png', symbolsize : 8, itemstyle:{ normal:{ label:{ show:false, formatter:'{b}', textstyle: { color: '#003333', fontsize: 12, fontweight: '' } } }, emphasis: { label:{show:false} } }, data : [ {name:'埃塞俄比亚',value:'埃塞俄比亚gdha500千伏输变电工程
工期:2014年3月~2015年12月
埃塞俄比亚-肯尼亚±500kv直流输电联网工程
工期:2016年8月~2017年
埃塞中低压电网改造和扩建项目
工期:2016年4月~2017年底
埃塞轻轨配套输变电项目
工期:2014年12月~2015年10月'}, {name:'巴西',value:'巴西美丽山ⅱ期±800千伏换流站工程
工期:2017年9月~2020年
新建±800千伏欣古和里约两端换流站及配套工程,
新建两条30千米500千伏线路,建设工期30个月。
巴西特里斯皮尔斯水电送出ⅱ期项目
工期:2016年~2018年
扩建4个500千伏变电站和新建1个230千伏变电站
的项目设计、设备供应、施工及调试任务。'}, {name:'巴基斯坦',value:'巴基斯坦默蒂亚里-拉合尔±660kv直流输电项目
工期:2017年4月~2019年
中电装备公司以boot(建设-拥有-经营-转让)
模式投资实施该项目,特许经营期25年。'}, {name:'埃及',value:'埃及eetc500千伏主干网升级改造输电工程
工期:2016年1月~2018年底
包括15条共约1210千米500kv同塔双回路交流
输电线路,线路主要分布在三角洲东部多座燃
气电站周边。'}, {name:'土耳其',value:'土耳其凡城600兆瓦换流站工程
工期:2016年~2019年
新建1座600兆瓦背靠背换流站。中电装备
公司与当地合作伙伴组成联合体。'}, {name:'老挝',value:'老挝巴俄-帕乌东230千伏输变电项目
工期:2016年12月~2018年底
新建113公里230/115千伏输电线路,新建
1座230千伏变电站和扩建1座230千伏变电站。'}, {name:'缅甸',value:'缅甸北克钦邦230千伏主干网连通项目
工期:2017年7月~2018年底
新建1个瑞博230千伏变电站,1个扩建230kv昂多变
电站及2条总长约300公里的230kv双回输电线路。'} ] }, geocoord: { '埃塞俄比亚': [38.755632,8.978388], '巴西': [-47.886437,-15.792431], '巴基斯坦': [73.112584,33.728852], '埃及': [31.166747,30.152924], '土耳其': [32.932888,39.96229], '老挝': [102.382683,20.035971], '缅甸': [96.07241,19.844587] } }, { name: '驻外机构', type: 'map', maptype: 'world', itemstyle:{ emphasis:{label:{show:true}} }, data:[], markpoint : { symbol: 'image:///sites/sgcc_main/js/icon_zwjg.png', symbolsize : 8, itemstyle:{ normal:{ label:{ show:false, formatter:'{b}', textstyle: { color: '#003333', fontsize: 13, fontweight: '' } } }, emphasis: { label:{show:false} } }, data : [ {name:'美国',value:'国家电网公司驻美国办事处
驻地:美国纽约
电话:+1-646-975-4772'}, {name:'俄罗斯',value:'国家电网公司驻俄罗斯办事处
驻地:俄罗斯莫斯科
电话:+7-495-2520088-6006'}, {name:'欧洲',value:'国家电网公司驻欧洲办事处
驻地:德国柏林
电话:+49-(0)30-20215613'}, {name:'巴西',value:'国家电网公司驻巴西办事处
驻地:巴西里约热内卢
电话:+55-21-22234068'}, {name:'菲律宾',value:'国家电网公司驻菲律宾办事处
驻地:菲律宾马尼拉
电话:+63-2-5841650'}, {name:'印度',value:'国家电网公司驻印度办事处
驻地:印度新德里
电话:+91-1244032084'}, {name:'香港',value:'国家电网公司驻香港办事处
驻地:中国香港
电话:+852-24652044'}, {name:'非洲',value:'国家电网公司驻非洲办事处
驻地:南非约翰内斯堡
电话:+27-877021259'}, {name:'澳大利亚',value:'国家电网公司驻澳大利亚办事处
驻地:澳大利亚悉尼
电话:+61-292307810'}, {name:'日本',value:'国家电网公司驻日本办事处
驻地:日本东京
电话:+81-3-6455-5836'}, {name:'美国2',value:'美国研究院
驻地:美国圣克拉拉
电话:+1(408)- 727-6261'}, {name:'欧洲2',value:'欧洲研究院
驻地:德国柏林
电话:+49-(0)30-2021 56275'}, {name:'葡萄牙2',value:'葡萄牙研发中心
驻地:葡萄牙里斯本
电话: +351 210 011 300'} ] }, geocoord: { '美国': [-73.976002,40.767685],//美国纽约 '美国2': [-121.954529,37.353971],//美国加州圣克拉拉 '俄罗斯': [37.614742,55.761958],//俄罗斯莫斯科 '欧洲': [13.3993,52.52633],//欧洲 柏林 '欧洲2': [9.672926,52.594331],//欧洲 柏林 '巴西': [-43.262075,-22.896215],//巴西里约热内卢 '菲律宾': [121.019491,14.61371],//菲律宾马尼拉 '印度': [77.105144,28.707938],//印度新德里 '香港': [114.08,22.2], '非洲': [28.037799,-26.218977],//南非约翰内斯堡 '澳大利亚': [151.160013,-33.868654],//澳大利亚悉尼 '葡萄牙2': [-5.854392,38.830611],//葡萄牙里斯本 '日本': [139.666302,35.803394]//日本 } }, { name: '北京', type: 'map', maptype: 'world', data:[], markpoint : { symbol: 'image:///sites/sgcc_main/js/icon_sgcc.png', symbolsize : 12, data : [ {name:'北京',value:'国家电网公司总部
驻地:中国北京
电话:+86-10-63415242'} ] }, geocoord: { '北京': [116.46, 39.92] } } ] }; //车联网设定 var placelist = [ {name:'海门', geocoord:[121.15, 31.89]}, {name:'鄂尔多斯', geocoord:[109.781327, 39.608266]}, {name:'招远', geocoord:[120.38, 37.35]}, {name:'舟山', geocoord:[122.207216, 29.985295]}, {name:'齐齐哈尔', geocoord:[123.97, 47.33]}, {name:'盐城', geocoord:[120.13, 33.38]}, {name:'赤峰', geocoord:[118.87, 42.28]}, {name:'青岛', geocoord:[120.33, 36.07]}, {name:'乳山', geocoord:[121.52, 36.89]}, {name:'金昌', geocoord:[102.188043, 38.520089]}, {name:'泉州', geocoord:[118.58, 24.93]}, {name:'莱西', geocoord:[120.53, 36.86]}, {name:'日照', geocoord:[119.46, 35.42]}, {name:'胶南', geocoord:[119.97, 35.88]}, {name:'南通', geocoord:[121.05, 32.08]}, {name:'拉萨', geocoord:[91.11, 29.97]}, {name:'云浮', geocoord:[112.02, 22.93]}, {name:'梅州', geocoord:[116.1, 24.55]}, {name:'文登', geocoord:[122.05, 37.2]}, {name:'上海', geocoord:[121.48, 31.22]}, {name:'攀枝花', geocoord:[101.718637, 26.582347]}, {name:'威海', geocoord:[122.1, 37.5]}, {name:'承德', geocoord:[117.93, 40.97]}, {name:'厦门', geocoord:[118.1, 24.46]}, {name:'汕尾', geocoord:[115.375279, 22.786211]}, {name:'潮州', geocoord:[116.63, 23.68]}, {name:'丹东', geocoord:[124.37, 40.13]}, {name:'太仓', geocoord:[121.1, 31.45]}, {name:'曲靖', geocoord:[103.79, 25.51]}, {name:'烟台', geocoord:[121.39, 37.52]}, {name:'福州', geocoord:[119.3, 26.08]}, {name:'瓦房店', geocoord:[121.979603, 39.627114]}, {name:'即墨', geocoord:[120.45, 36.38]}, {name:'抚顺', geocoord:[123.97, 41.97]}, {name:'玉溪', geocoord:[102.52, 24.35]}, {name:'张家口', geocoord:[114.87, 40.82]}, {name:'阳泉', geocoord:[113.57, 37.85]}, {name:'莱州', geocoord:[119.942327, 37.177017]}, {name:'湖州', geocoord:[120.1, 30.86]}, {name:'汕头', geocoord:[116.69, 23.39]}, {name:'昆山', geocoord:[120.95, 31.39]}, {name:'宁波', geocoord:[121.56, 29.86]}, {name:'湛江', geocoord:[110.359377, 21.270708]}, {name:'揭阳', geocoord:[116.35, 23.55]}, {name:'荣成', geocoord:[122.41, 37.16]}, {name:'连云港', geocoord:[119.16, 34.59]}, {name:'葫芦岛', geocoord:[120.836932, 40.711052]}, {name:'常熟', geocoord:[120.74, 31.64]}, {name:'东莞', geocoord:[113.75, 23.04]}, {name:'河源', geocoord:[114.68, 23.73]}, {name:'淮安', geocoord:[119.15, 33.5]}, {name:'泰州', geocoord:[119.9, 32.49]}, {name:'南宁', geocoord:[108.33, 22.84]}, {name:'营口', geocoord:[122.18, 40.65]}, {name:'惠州', geocoord:[114.4, 23.09]}, {name:'江阴', geocoord:[120.26, 31.91]}, {name:'蓬莱', geocoord:[120.75, 37.8]}, {name:'韶关', geocoord:[113.62, 24.84]}, {name:'嘉峪关', geocoord:[98.289152, 39.77313]}, {name:'广州', geocoord:[113.23, 23.16]}, {name:'延安', geocoord:[109.47, 36.6]}, {name:'太原', geocoord:[112.53, 37.87]}, {name:'清远', geocoord:[113.01, 23.7]}, {name:'中山', geocoord:[113.38, 22.52]}, {name:'昆明', geocoord:[102.73, 25.04]}, {name:'寿光', geocoord:[118.73, 36.86]}, {name:'盘锦', geocoord:[122.070714, 41.119997]}, {name:'长治', geocoord:[113.08, 36.18]}, {name:'深圳', geocoord:[114.07, 22.62]}, {name:'珠海', geocoord:[113.52, 22.3]}, {name:'宿迁', geocoord:[118.3, 33.96]}, {name:'咸阳', geocoord:[108.72, 34.36]}, {name:'铜川', geocoord:[109.11, 35.09]}, {name:'平度', geocoord:[119.97, 36.77]}, {name:'佛山', geocoord:[113.11, 23.05]}, {name:'海口', geocoord:[110.35, 20.02]}, {name:'江门', geocoord:[113.06, 22.61]}, {name:'章丘', geocoord:[117.53, 36.72]}, {name:'肇庆', geocoord:[112.44, 23.05]}, {name:'大连', geocoord:[121.62, 38.92]}, {name:'临汾', geocoord:[111.5, 36.08]}, {name:'吴江', geocoord:[120.63, 31.16]}, {name:'石嘴山', geocoord:[106.39, 39.04]}, {name:'沈阳', geocoord:[123.38, 41.8]}, {name:'苏州', geocoord:[120.62, 31.32]}, {name:'茂名', geocoord:[110.88, 21.68]}, {name:'嘉兴', geocoord:[120.76, 30.77]}, {name:'长春', geocoord:[125.35, 43.88]}, {name:'胶州', geocoord:[120.03336, 36.264622]}, {name:'银川', geocoord:[106.27, 38.47]}, {name:'张家港', geocoord:[120.555821, 31.875428]}, {name:'三门峡', geocoord:[111.19, 34.76]}, {name:'锦州', geocoord:[121.15, 41.13]}, {name:'南昌', geocoord:[115.89, 28.68]}, {name:'柳州', geocoord:[109.4, 24.33]}, {name:'三亚', geocoord:[109.511909, 18.252847]}, {name:'自贡', geocoord:[104.778442, 29.33903]}, {name:'吉林', geocoord:[126.57, 43.87]}, {name:'阳江', geocoord:[111.95, 21.85]}, {name:'泸州', geocoord:[105.39, 28.91]}, {name:'西宁', geocoord:[101.74, 36.56]}, {name:'宜宾', geocoord:[104.56, 29.77]}, {name:'呼和浩特', geocoord:[111.65, 40.82]}, {name:'成都', geocoord:[104.06, 30.67]}, {name:'大同', geocoord:[113.3, 40.12]}, {name:'镇江', geocoord:[119.44, 32.2]}, {name:'桂林', geocoord:[110.28, 25.29]}, {name:'张家界', geocoord:[110.479191, 29.117096]}, {name:'宜兴', geocoord:[119.82, 31.36]}, {name:'北海', geocoord:[109.12, 21.49]}, {name:'西安', geocoord:[108.95, 34.27]}, {name:'金坛', geocoord:[119.56, 31.74]}, {name:'东营', geocoord:[118.49, 37.46]}, {name:'牡丹江', geocoord:[129.58, 44.6]}, {name:'遵义', geocoord:[106.9, 27.7]}, {name:'绍兴', geocoord:[120.58, 30.01]}, {name:'扬州', geocoord:[119.42, 32.39]}, {name:'常州', geocoord:[119.95, 31.79]}, {name:'潍坊', geocoord:[119.1, 36.62]}, {name:'重庆', geocoord:[106.54, 29.59]}, {name:'台州', geocoord:[121.420757, 28.656386]}, {name:'南京', geocoord:[118.78, 32.04]}, {name:'滨州', geocoord:[118.03, 37.36]}, {name:'贵阳', geocoord:[106.71, 26.57]}, {name:'无锡', geocoord:[120.29, 31.59]}, {name:'本溪', geocoord:[123.73, 41.3]}, {name:'克拉玛依', geocoord:[84.77, 45.59]}, {name:'渭南', geocoord:[109.5, 34.52]}, {name:'马鞍山', geocoord:[118.48, 31.56]}, {name:'宝鸡', geocoord:[107.15, 34.38]}, {name:'焦作', geocoord:[113.21, 35.24]}, {name:'句容', geocoord:[119.16, 31.95]}, {name:'北京', geocoord:[116.46, 39.92]}, {name:'徐州', geocoord:[117.2, 34.26]}, {name:'衡水', geocoord:[115.72, 37.72]}, {name:'包头', geocoord:[110, 40.58]}, {name:'绵阳', geocoord:[104.73, 31.48]}, {name:'乌鲁木齐', geocoord:[87.68, 43.77]}, {name:'枣庄', geocoord:[117.57, 34.86]}, {name:'杭州', geocoord:[120.19, 30.26]}, {name:'淄博', geocoord:[118.05, 36.78]}, {name:'鞍山', geocoord:[122.85, 41.12]}, {name:'溧阳', geocoord:[119.48, 31.43]}, {name:'库尔勒', geocoord:[86.06, 41.68]}, {name:'安阳', geocoord:[114.35, 36.1]}, {name:'开封', geocoord:[114.35, 34.79]}, {name:'济南', geocoord:[117, 36.65]}, {name:'德阳', geocoord:[104.37, 31.13]}, {name:'温州', geocoord:[120.65, 28.01]}, {name:'九江', geocoord:[115.97, 29.71]}, {name:'邯郸', geocoord:[114.47, 36.6]}, {name:'临安', geocoord:[119.72, 30.23]}, {name:'兰州', geocoord:[103.73, 36.03]}, {name:'沧州', geocoord:[116.83, 38.33]}, {name:'临沂', geocoord:[118.35, 35.05]}, {name:'南充', geocoord:[106.110698, 30.837793]}, {name:'天津', geocoord:[117.2, 39.13]}, {name:'富阳', geocoord:[119.95, 30.07]}, {name:'泰安', geocoord:[117.13, 36.18]}, {name:'诸暨', geocoord:[120.23, 29.71]}, {name:'郑州', geocoord:[113.65, 34.76]}, {name:'哈尔滨', geocoord:[126.63, 45.75]}, {name:'聊城', geocoord:[115.97, 36.45]}, {name:'芜湖', geocoord:[118.38, 31.33]}, {name:'唐山', geocoord:[118.02, 39.63]}, {name:'平顶山', geocoord:[113.29, 33.75]}, {name:'邢台', geocoord:[114.48, 37.05]}, {name:'德州', geocoord:[116.29, 37.45]}, {name:'济宁', geocoord:[116.59, 35.38]}, {name:'荆州', geocoord:[112.239741, 30.335165]}, {name:'宜昌', geocoord:[111.3, 30.7]}, {name:'义乌', geocoord:[120.06, 29.32]}, {name:'丽水', geocoord:[119.92, 28.45]}, {name:'洛阳', geocoord:[112.44, 34.7]}, {name:'秦皇岛', geocoord:[119.57, 39.95]}, {name:'株洲', geocoord:[113.16, 27.83]}, {name:'石家庄', geocoord:[114.48, 38.03]}, {name:'莱芜', geocoord:[117.67, 36.19]}, {name:'常德', geocoord:[111.69, 29.05]}, {name:'保定', geocoord:[115.48, 38.85]}, {name:'湘潭', geocoord:[112.91, 27.87]}, {name:'金华', geocoord:[119.64, 29.12]}, {name:'岳阳', geocoord:[113.09, 29.37]}, {name:'长沙', geocoord:[113, 28.21]}, {name:'衢州', geocoord:[118.88, 28.97]}, {name:'廊坊', geocoord:[116.7, 39.53]}, {name:'菏泽', geocoord:[115.480656, 35.23375]}, {name:'合肥', geocoord:[117.27, 31.86]}, {name:'武汉', geocoord:[114.31, 30.52]}, {name:'大庆', geocoord:[125.03, 46.58]} ] var hoverdata3=[ //充电量 [ {name:'北京',value:22748}, {name:'广东',value:22297}, {name:'上海',value:17303}, {name:'江苏',value:16999}, {name:'山东',value:12990}, {name:'河北',value:7760}, {name:'安徽',value:7370}, {name:'天津',value:7060}, {name:'浙江',value:5542}, {name:'湖北',value:4605}, {name:'山西',value:3584}, {name:'福建',value:3505}, {name:'四川',value:3461}, {name:'重庆',value:2767}, {name:'辽宁',value:2608}, {name:'河南',value:2361}, {name:'湖南',value:2203}, {name:'陕西',value:2119}, {name:'云南',value:754}, {name:'江西',value:499}, {name:'广西',value:472}, {name:'海南',value:466}, {name:'甘肃',value:369}, {name:'贵州',value:355}, {name:'青海',value:254}, {name:'宁夏',value:189}, {name:'新疆',value:119}, {name:'黑龙江',value:110}, {name:'吉林',value:92}, {name:'内蒙古',value:92}, {name:'西藏',value:9} ], //充电次数 [ {name:'北京',value:22748}, {name:'广东',value:22297}, {name:'上海',value:17303}, {name:'江苏',value:16999}, {name:'山东',value:12990}, {name:'河北',value:7760}, {name:'安徽',value:7370}, {name:'天津',value:7060}, {name:'浙江',value:5542}, {name:'湖北',value:4605}, {name:'山西',value:3584}, {name:'福建',value:3505}, {name:'四川',value:3461}, {name:'重庆',value:2767}, {name:'辽宁',value:2608}, {name:'河南',value:2361}, {name:'湖南',value:2203}, {name:'陕西',value:2119}, {name:'云南',value:754}, {name:'江西',value:499}, {name:'广西',value:472}, {name:'海南',value:466}, {name:'甘肃',value:369}, {name:'贵州',value:355}, {name:'青海',value:254}, {name:'宁夏',value:189}, {name:'新疆',value:119}, {name:'黑龙江',value:110}, {name:'吉林',value:92}, {name:'内蒙古',value:92}, {name:'西藏',value:9} ], //充电桩 [ {name:'北京',value:22748}, {name:'广东',value:22297}, {name:'上海',value:17303}, {name:'江苏',value:16999}, {name:'山东',value:12990}, {name:'河北',value:7760}, {name:'安徽',value:7370}, {name:'天津',value:7060}, {name:'浙江',value:5542}, {name:'湖北',value:4605}, {name:'山西',value:3584}, {name:'福建',value:3505}, {name:'四川',value:3461}, {name:'重庆',value:2767}, {name:'辽宁',value:2608}, {name:'河南',value:2361}, {name:'湖南',value:2203}, {name:'陕西',value:2119}, {name:'云南',value:754}, {name:'江西',value:499}, {name:'广西',value:472}, {name:'海南',value:466}, {name:'甘肃',value:369}, {name:'贵州',value:355}, {name:'青海',value:254}, {name:'宁夏',value:189}, {name:'新疆',value:119}, {name:'黑龙江',value:110}, {name:'吉林',value:92}, {name:'内蒙古',value:92}, {name:'西藏',value:9} ] ]; option3 = { //backgroundcolor: '#1b1b1b', color:['rgba(51,153,153,1)', 'rgba(51,153,204,1)','rgba(51,204,153,0.7)','rgba(102,204,102,1)'], title : titlestyle(true,'全国充电业务分布图'), toolbox: toolboxstyle(true), tooltip : { trigger: 'item', enterable: false, //formatter: '{b}', backgroundcolor: 'rgba(0,121,106,0.8)', bordercolor: 'rgba(255,255,255,0.9)', borderwidth: 2, textstyle: {fontsize: 12}, padding: 5 }, legend: { show: true, orient: 'vertical',//vertical, horizontal x:40, y:350, padding:15, itemgap: 6, selectedmode:'single', selected: { '充电次数' : false, '充电桩数' : false }, data: ['充电电量', '充电次数', '充电桩数'], textstyle : { color: '#000', fontsize:12 } }, //legendstyle(true, 350, ['充电电量', '充电次数', '充电桩数']), roamcontroller: roamcontrollerstyle(true,'china'), series : [ { name: '充电电量', type: 'map', roam: false,//scale move hoverable:false, clickable:false, //maplocation: {width:'600px', height:'600px',x:'',y:''}, maptype: 'china', itemstyle:{ normal:{ bordercolor:'rgba(255,255,255,1)', borderwidth:0.5, label:{show:false,textstyle: { color: '#333', position:'top', fontsize: 12 }}, areastyle:{ color: '#ced9d8' } }, emphasis: { areastyle:{ color: '#00796b' } } }, data:[], markpoint : { symbol:'circle', symbolsize : function (v){ return 3 + v/2000 }, effect : { show: true, type: 'scale', period: 10, scalesize: 2, color: null, shadowcolor: null, shadowblur: 0 }, itemstyle:{ normal:{ label:{show:false} }, emphasis: { label:{show:false} } }, data: hoverdata3[0] }, geocoord: { '内蒙古': [111.4124,40.4901], '新疆': [87.9236,43.5883], '甘肃': [103.5901,36.3043], '河北': [114.4995,38.1006], '宁夏': [106.3586,38.1775], '山东': [117.1582,36.8701], '山西': [112.3352,37.9413], '辽宁': [123.1238,42.1216], '江苏': [118.8062,31.9208], '黑龙江': [127.9688,45.368], '吉林': [125.8154,44.2584], '青海': [101.4038,36.8207], '江西': [116.0046,28.6633], '安徽': [117.29,32.0581], '广东': [113.5107,23.2196], '四川': [103.9526,30.7617], '西藏': [91.1865,30.1465], '云南': [102.9199,25.4663], '浙江': [119.5313,29.8773], '湖南': [113.0823,28.2568], '湖北': [114.3896,30.6628], '海南': [110.3893,19.8516], '福建': [119.4543,25.9222], '陕西': [109.1162,34.2004], '贵州': [106.6992,26.7682], '河南': [113.4668,34.6234], '重庆': [107.7539,30.1904], '广西': [108.479,23.1152] } }, { name: '充电次数', type: 'map', roam: false,//scale move hoverable: false, maptype: 'china', data:[], markpoint : { symbol:'circle', symbolsize : function (v){ return 3 + v/2000 }, effect : { show: true, type: 'scale', period: 10, scalesize: 2, color: null, shadowcolor: null, shadowblur: 0 }, itemstyle:{ normal:{ label:{show:false} }, emphasis: { label:{show:false} } }, data : hoverdata3[1] } }, { name: '充电桩数', type: 'map', roam: false,//scale move hoverable: false, maptype: 'china', data:[], markpoint : { symbol:'circle', symbolsize : function (v){ return 3 + v/2000 }, effect : { show: true, type: 'scale', period: 10, scalesize: 2, color: null, shadowcolor: null, shadowblur: 0 }, itemstyle:{ normal:{ label:{show:false} }, emphasis: { label:{show:false} } }, data : hoverdata3[2] } } ] }; option3_1 = { color: ['#339999','#3399cc'], title : { show:true, text:'年度充电量和充换电次数', subtext:'', sublink: '', x:'center', y:'15', textstyle:{color: '#000',fontsize: 13,fontweight:'normal'} }, toolbox: toolboxstyle(true), tooltip : { trigger: 'axis', axispointer:{ type : 'shadow' }, //formatter: '{b}', backgroundcolor: 'rgba(0,121,106,0.8)', bordercolor: 'rgba(255,255,255,0.9)', borderwidth: 2, textstyle: {fontsize: 12}, padding: 5 }, legend: { show:true, orient: 'horizontal', x:'center', y:'bottom', padding:0, itemgap: 6, //selectedmode:'single', data:['充电量','充换电次数'], textstyle : { color: '#000' } }, grid: { x:40, y:55, x2:40, y2:40, containlabel: true }, calculable : false, xaxis : [ { type : 'category', data : ['2012', '2013', '2014', '2015', '2016'], axislabel: { show: true, textstyle: { fontsize:10 } }, axistick: { alignwithlabel: true } } ], yaxis : [ { type: 'value', name: '(万kwh)', position: 'left', axislabel: { show: true, textstyle: { fontsize:10 }, formatter: function (value, index) { return value/10000+'万'; } //formatter: '{value}' } }, { type: 'value', name: '(万次)', position: 'right', axislabel: { textstyle: { fontsize:10 }, formatter: '{value}' } } ], series : [ { name:'充电量', type:'bar', //barwidth: '20%', //yaxis: 1, itemstyle:{ normal:{barborderradius: [3, 3, 0, 0]}, emphasis:{barborderradius: [3, 3, 0, 0]} }, data:[7000, 5200, 7000, 34800, 82000] }, { name:'充换电次数', type:'bar', itemstyle:{ normal:{barborderradius: [3, 3, 0, 0]}, emphasis:{barborderradius: [3, 3, 0, 0]} }, yaxisindex: 1, data:[130, 152, 200, 900, 1900] } ] }; // 充电桩数[总数,国网总数,国网高速,国网城市,南网数,社会数] //var zhuang1=[0,44131,5535,38595,1544,105778]; //zhuang1[0]=zhuang1[1]+zhuang1[4]+zhuang1[5]; //var zhuang2=[0, zhuang1[0]-zhuang1[1], zhuang1[0]-zhuang1[2], zhuang1[0]-zhuang1[2]-zhuang1[3], zhuang1[5], 0]; var zhuang1=[0,46154,121226]; zhuang1[0]=zhuang1[1]+zhuang1[2]+1544; //var zhuang2=[0,zhuang1[0]-zhuang1[1],zhuang1[3],0]; var zhuang2=[0,0,1544]; option3_2 = { color: ['#00796a','#015bac'], title : { show:true, text:'各运营商充电桩数量', subtext:'', sublink: '', x:'center', y:'15', textstyle:{color: '#000',fontsize: 13,fontweight:'normal'} }, tooltip : { trigger: 'axis', enterable: true, axispointer:{ type : 'shadow' }, formatter: function (params) { var tar1; var temp=""; /* tar1 = params[1]; if(tar1.value>0){ temp = '南网运营
' + tar1.value + '个
'; }else{ temp=''; } */ var tar; tar = params[0]; if(tar.name=='社会运营'){ temp = '南网运营
' + zhuang2[2] + '个
'; } temp += tar.name + '
' + tar.value + '个'; return temp; }, backgroundcolor: 'rgba(0,121,106,0.8)', bordercolor: 'rgba(255,255,255,0.9)', borderwidth: 2, textstyle: {fontsize: 12}, padding: 5 }, grid: { x:45, y:40, x2:25, y2:20, containlabel: true }, calculable : false, xaxis : [ { type : 'category', axislabel: { show: true, textstyle: { fontsize:10 } }, data : ['总数','国网自营','社会运营'] } ], yaxis : [ { type : 'value', //splitnumber:5, max:150000, axislabel: { show: true, formatter: function (value, index) { return value/10000+'万'; }, textstyle: { fontsize:10 } } } ], series : [ { name:'充电桩', type:'bar', //stack: '总量', barwidth: 25, itemstyle:{ normal:{ barborderradius: 4, color:function(params) { var colorlist = ['#66cc66','#33cc99']; if(params.dataindex==0){ return colorlist[0]; }else{ return colorlist[1]; } } }, emphasis:{ barborderradius: 4 } }, data: zhuang1 } ] }; var mapli_c=99; $(".mapbox h3 s").click(function(){ mapli = $(".mapbox h3 s").index($(this)); $(this).parent().find("s").removeclass("cur"); $(this).addclass("cur"); if(mapli==0){ //特高压 var mychart0 = ec.init(document.getelementbyid('map_tgy')); //mychart0.setoption(option0); }else if(mapli==1){ //国际业务 var mychart1 = ec.init(document.getelementbyid('map_gj')); }else if(mapli==2){ //清洁能源 var mychart2 = ec.init(document.getelementbyid('map_xny')); var mychart2_1 = ec.init(document.getelementbyid('map_xny2')); var mychart2_2 = ec.init(document.getelementbyid('map_xny3')); mychart2_1.setoption(option2_1); mychart2_2.setoption(option2_2); }else if(mapli==3){ //车联网 var mychart3 = ec.init(document.getelementbyid('map_clw')); var mychart3_1 = ec.init(document.getelementbyid('map_clw2')); var mychart3_2 = ec.init(document.getelementbyid('map_clw3')); mychart3_1.setoption(option3_1); mychart3_2.setoption(option3_2); } if(mapli_c!=mapli){ eval("mychart" + mapli + ".setoption(option" + mapli + ")"); $(".map li").stop(true,false).animate({left:"-1600px"},1000).css({left:"1600px"}); $(".map li").eq(mapli).stop(true,false).animate({left:"0"},1000,function(){if(mapli_c!=99){eval("mychart" + mapli_c + ".clear()");mapli_c = mapli;}}); } //mapli_c = mapli; //alert(mapli_c+"-"+mapli); }); var ecconfig = require('echarts/config');//alert(ecconfig); var zrevent = require('zrender/tool/event'); if($("#map_tgy").length>0){ var mychart0 = ec.init(document.getelementbyid('map_tgy')); mychart0.setoption(option0); $(".map li:gt(0)").css({left:"1600px"}); $(".mapbox h3 s").eq(0).click(); mychart0.on(ecconfig.event.click,function (param){ var temp=""; for(var i in param){ temp += i+":"+eval("param."+i)+"\n"; } //alert(param.value); showline(param.value); }); }else if($("#map_gj").length>0){ var mychart1_1 = ec.init(document.getelementbyid('map_gj')); mychart1_1.setoption(option1); mychart1_1.on(ecconfig.event.click,function (param){ showpoint(param.seriesindex,param.dataindex); }); mychart1_1.component.legend.setselected("投资运营",true); } if($("#map_gj1").length>0){ var mychart1_2 = ec.init(document.getelementbyid('map_gj1')); mychart1_2.setoption(option1); settimeout('$(".tab-title li").eq(0).click();',500); mychart1_2.component.legend.setselected("工程建设",true); mychart1_2.on(ecconfig.event.click,function (param){ showpoint(param.seriesindex,param.dataindex); }); } if($("#map_gj2").length>0){ var mychart1_3 = ec.init(document.getelementbyid('map_gj2')); mychart1_3.setoption(option1); mychart1_3.component.legend.setselected("驻外机构",true); mychart1_3.on(ecconfig.event.click,function (param){ showpoint(param.seriesindex,param.dataindex); }); } } ); });