$(function(){ text = text + "-申请量"; $('#input_reverse').change(function(){ var XYName; XYName = c_XAxisName; c_XAxisName = c_YAxisName; c_YAxisName = XYName; if(this.checked==true){ ISRESERVE = 1; concatp(); showChart(); }else{ ISRESERVE = 0; concat(); showChart(); } }) MODALNUM = CARR.length - (data[0][0].split(':').length-1); if(MODALNUM>=1){ for(var i = 0;i'; } $('#modalb1')[0].innerHTML = html; $('#mybody').click(function(){ $('#btn_cnt').hide(); $('#modalb1').hide(); STEP = 0; }) $('#modalb1 div').mouseenter(function () { $(this).css('color','white'); $(this).css('background','#3098fe'); }) $('#modalb1 div').mouseleave(function () { $(this).css('background','white'); $(this).css('color','black'); }) $('#modalb1 div').click(function () { $('#modalb1').css('display','none'); YTITLE = $(this)[0].innerText.trim(); $('#fig_btn1')[0].innerHTML = YTITLE; for(i = 0;i{series.name}: {point.percentage:.1f}% ({point.y:,.'+FF+'f})
', shared: true }, xAxis: { type: 'category', crosshair: true, categories: arrnamep1, visible:c_bNameX, lineColor: c_szLineColorX,//轴线颜色 lineWidth: c_szLineWidthX,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeX,//网格线线条样式 gridLineWidth: c_szSplitLineWidthX,//网格线宽度 title: { align:c_szLocationX, text: c_XAxisName, style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, labels:{ //rotation:c_szXRotate, //旋转角度 formatter:function() { if(this.value.indexOf("-")>-1){ var arr2 = this.value.split("-") this.value = arr2[0] } return c_showX(1,this.value,'high') }, style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, }, yAxis: { visible: true, startOnTick: false, endOnTick: false, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: c_YAxisName, align:c_szLocationY, style:{ color:c_szColorY, fontSize:c_nSizeY+'px', fontFamily:c_szFamilyY, fontStyle:c_szStyleY, fontWeight:c_szWeightY, } }, labels:{ //rotation:c_szYRotate, //旋转角度 style:{ color:c_szColorY, fontSize:c_nSizeY+'px', fontFamily:c_szFamilyY, fontStyle:c_szStyleY, fontWeight:c_szWeightY, } }, }, legend:{ enabled:c_bNameL, align:c_szxalignL, layout:c_szLayoutL, verticalAlign:c_szyalignL, padding:parseInt(c_nSizeT)-20+30, itemStyle:{ color:c_szColorL, fontSize:c_nSizeL+'px', fontFamily:c_szFamilyL, fontStyle:c_szStyleL, fontWeight:c_szWeightL, } }, annotations: [{ labelOptions: { backgroundColor: c_szColorP, color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP } }], plotOptions: { series: { label: { color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } } }, series: (function(){ var res = []; for(var i = 0;i/g,"-"); mytempename1 = mytempename1.replace(/\|/g,"-"); mytempename1 = mytempename1.replace(/”/g,"-"); //mytempename1 = mytempename1.replace(/,/g,"-"); mytempename1 = mytempename1.replace(/、/g,"-"); mytempename1 = mytempename1.replace(/\n/g,""); mytempename1 = mytempename1.replace(/\;/g,"-"); mytempename1 = mytempename1.replace(/\\/g,"-"); mytempename1 = mytempename1.replace(/\s/g,"-"); mytempename1 = mytempename1.replace(/----/g,"-"); mytempename1 = mytempename1.replace(/---/g,"-"); mytempename1 = mytempename1.replace(/--/g,"-"); //mytempename2 = mytempename2.replace(/\s/g,''); mytempename2 = mytempename2.replace(/\//g,"-"); mytempename2 = mytempename2.replace(/:/g,"-"); mytempename2 = mytempename2.replace(/\*/g,"-"); mytempename2 = mytempename2.replace(/"/g,"-"); mytempename2 = mytempename2.replace(//g,"-"); mytempename2 = mytempename2.replace(/\|/g,"-"); mytempename2 = mytempename2.replace(/”/g,"-"); //mytempename2 = mytempename2.replace(/,/g,"-"); mytempename2 = mytempename2.replace(/、/g,"-"); mytempename2 = mytempename2.replace(/\n/g,""); mytempename2 = mytempename2.replace(/\;/g,"-"); mytempename2 = mytempename2.replace(/\\/g,"-"); mytempename2 = mytempename2.replace(/\s/g,"-"); mytempename2 = mytempename2.replace(/----/g,"-"); mytempename2 = mytempename2.replace(/---/g,"-"); mytempename2 = mytempename2.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename1+'/'+mytempename2+'/PP'+'.htm'; window.open(isweb2url); } } } }); } return res; })() }); }