$(function(){ if(text[0] != undefined) { text[0] = text[0] + '-申请量' } window.onkeydown = function(e){ if(e.keyCode==32&&isFocus==0){ oneToSix(); } } $('#mybody').click(function(){ $('#modalb1').hide(); $('#modalbT').hide(); $('#btn_cnt').hide(); }) // $('#input_legend').change(function(){ // if(this.checked==true){ // LEGENDMODE = true; // }else{ // LEGENDMODE = false; // } // loadCharts(); // }) $('#input_color').change(function(){ if(this.checked==true){ for(var i = 0;i=10) // xx = 1; // } // if(xx==1){ // $('#input_legend').prop('checked',false); // LEGENDMODE = false; // }else{ // $('#input_legend').prop('checked',true); // LEGENDMODE = true; // } //类型选择 $('#type_btn1').click(function(){ $('#modalbT').toggle(); }) $('#modalbT div').mouseenter(function () { $(this).css('color','white'); $(this).css('background','#3098fe'); }).mouseleave(function () { $(this).css('background','white'); $(this).css('color','black'); }).click(function () { $('#modalbT').css('display','none'); TYPESTR = $(this)[0].innerText.trim(); $('#type_btn1')[0].innerHTML = TYPESTR; for(i = 0;i=1){ for(var i = 0;i=2){ for(var i = 0;i=3){ for(var i = 0;i=4){ for(var i = 0;i=5){ for(var i = 0;i' + '
' +(i+1)+ '
'; }else{ html1 += '
' +(i+1)+ '
'; } } $('#btn_cnt')[0].innerHTML = html1; $('#btn_cnt div').click(function(){ var ss = this.innerHTML; if(ss=='全部') ss = 0; INPUTNUM = parseInt(ss); $('#btn_cnt').hide(); $('#btn_sel')[0].innerHTML = this.innerHTML; }).mouseenter(function(){ $(this).css('color','white'); $(this).css('background','#3098fe'); }).mouseleave(function(){ $(this).css('background','white'); $(this).css('color','black'); }) // y轴begin concat(); var html = ''; 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=6){ MARGINLEFT = MARGINLEFT*0.33; MARGINRIGHT = MARGINRIGHT*0.33; MARGINTOP = MARGINTOP*0.5; MARGINBOTTOM = MARGINBOTTOM*0.5; $('#charts'+i).css("height",cheight*0.5); $('#charts'+i).css("width",cwidth*0.33); } } loadCharts(); window.onresize = function(){ $(".warp").css("left",document.body.clientWidth-23); $(".warp").css("top",document.body.clientHeight-25); cheight = document.documentElement.clientHeight-2; cwidth = document.documentElement.clientWidth*0.94-2; for(var i = 1;i<=data.length;i++){ if(data.length==1){ $('#charts'+i).css("height",cheight); $('#charts'+i).css("width",cwidth); }else if(data.length==2){ $('#charts'+i).css("height",cheight); $('#charts'+i).css("width",cwidth*0.49); }else if(data.length==3){ var mgl = (cwidth-cwidth*0.49)/2; if(i==data.length){ $('#charts'+i).css("marginLeft",mgl); } $('#charts'+i).css("height",cheight*0.5); $('#charts'+i).css("width",cwidth*0.49); }else if(data.length==4){ $('#charts'+i).css("height",cheight*0.5); $('#charts'+i).css("width",cwidth*0.49); }else if(data.length==5){ var mgl = (cwidth-cwidth*0.33*2)/3; if(i==data.length||i==data.length-1){ $('#charts'+i).css("marginLeft",mgl); } $('#charts'+i).css("height",cheight*0.5); $('#charts'+i).css("width",cwidth*0.33); }else if(data.length>=6){ $('#charts'+i).css("height",cheight*0.5); $('#charts'+i).css("width",cwidth*0.33); } } //location.reload(); } }) //c++参数转换为js参数 var MARGINLEFT = document.documentElement.clientWidth*Number(c_szMarginLeftP.replace('%',''))*0.01; var MARGINRIGHT = document.documentElement.clientWidth*Number(c_szMarginRightP.replace('%',''))*0.01; var MARGINTOP = document.documentElement.clientHeight*Number(c_szMarginTopP.replace('%',''))*0.01; var MARGINBOTTOM = document.documentElement.clientHeight*Number(c_szMarginBottomP.replace('%',''))*0.01; if(c_bNameT=='0'){ c_bNameT = false; }else{ c_bNameT = true; } if(c_bNameL=='0'){ c_bNameL = false; }else{ c_bNameL = true; } if(c_bNameX=='0'){ c_bNameX = false; }else{ c_bNameX = true; } if(c_bNameY=='0'){ c_bNameY = false; }else{ c_bNameY = true; } //c++参数转换为js参数 var ARRKEY; var ARRVALUE; var ARRVALUE1,ARRVALUE2,ARRVALUE3; var COLORS = THEMECOLOR[Number(c_nTheme)]; var CHANGECOLORO1 = THEMECOLOR[Number(c_nTheme)]; var CHANGECOLOR1 = THEMECOLOR[Number(c_nTheme)]; var MD5ARR = []; var SPACETYPE = -1; if(data.length==1){ SPACETYPE = 0; }else if(data.length==6&&text[0]==text[1]&&text[1]==text[2]&&text[2]==text[3]&&text[3]==text[4]&&text[4]==text[5]){ SPACETYPE = 1; }else{ SPACETYPE = -1; } var dataLength = data.length; if(typeof TextP=='undefined'||TextP==''){ var MYTEXT = [[],[],[],[],[],[]]; }else{ var MYTEXT = TextP.split('&&'); for(var i = 0;i8) // LEGENDMODE = false; ARRKEY.push([]); ARRVALUE.push([]); for(var j = 0;j{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, plotOptions: { column: { pointPadding: 0.2, borderWidth: 0 }, series: { borderWidth: 0, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } } } }, series: [{ name: CARR[Y[0]-1], //colorByPoint: true, data: ARRVALUE[0], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[0][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[0][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[0]=='barT'){ pchart1 = Highcharts.chart('charts1',{ chart: { type: 'column', zoomType:'x', inverted:true, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[0]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { // plotLines:{ // dashStyle:c_szSplitLineTypeX, // width:c_szSplitLineWidthX // }, visible:c_bNameX, lineColor: c_szLineColorX,//轴线颜色 lineWidth: c_szLineWidthX,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeX,//网格线线条样式 gridLineWidth: c_szSplitLineWidthX,//网格线宽度 title: { text: c_XAxisName, align:c_szLocationX, style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, labels:{ //rotation:c_szXRotate, //旋转角度 formatter:function() { return c_showY(data.length,this.value,"high") }, style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[0], crosshair: true, }, yAxis: { min: 0, // plotLines:{ // dashStyle:c_szSplitLineTypeY, // width:c_szSplitLineWidthY // }, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, plotOptions: { column: { pointPadding: 0.2, borderWidth: 0 }, series: { borderWidth: 0, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } } } }, series: [{ name: CARR[Y[0]-1], //colorByPoint: true, data: ARRVALUE[0], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[0][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[0][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[0]=='pie'){ pchart1 = Highcharts.chart('charts1',{ chart: { plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style: { color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', name: CARR[Y[0]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: (function(){ var res = []; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[0]=='line'){ pchart1 = Highcharts.chart('charts1',{ chart: { type: ISCURVE, zoomType:'x', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[0]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { // plotLines:{ // dashStyle:c_szSplitLineTypeX, // width:c_szSplitLineWidthX // }, visible:c_bNameX, lineColor: c_szLineColorX,//轴线颜色 lineWidth: c_szLineWidthX,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeX,//网格线线条样式 gridLineWidth: c_szSplitLineWidthX,//网格线宽度 title: { text: c_XAxisName, align:c_szLocationX, style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, labels:{ //rotation:c_szXRotate, //旋转角度 formatter:function() { return c_showX(data.length,this.value,'high') }, style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[0], crosshair: true, }, yAxis: { min: 0, // plotLines:{ // dashStyle:c_szSplitLineTypeY, // width:c_szSplitLineWidthY // }, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, plotOptions: { line: { dataLabels: { enabled:true, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } } }, spline: { dataLabels: { enabled: true, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } } } }, series: [{ name: CARR[Y[0]-1], data: ARRVALUE[0], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[0][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[0][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[0]=='area'){ pchart1 = Highcharts.chart('charts1',{ chart: { type: 'areaspline', zoomType:'x', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[0]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { //plotLines:{ //dashStyle:c_szSplitLineTypeX, //width:c_szSplitLineWidthX //}, 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() { return c_showX(data.length,this.value,'high') }, style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[0], crosshair: true, }, yAxis: { //plotLines:{ //dashStyle:c_szSplitLineTypeX, //width:c_szSplitLineWidthX //}, min: 0, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, // plotOptions: { // areaspline: { // dataLabels: { // enabled: true, // style:{ // color:c_szColorT, // fontSize:c_nSizeT+'px', // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, // marker: { // radius: 2 // }, // lineWidth: 1, // states: { // hover: { // lineWidth: 1 // } // }, // threshold: null // } // }, series: [{ name: CARR[Y[0]-1], data: ARRVALUE[0], opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[0][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[0][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[0]=='funnel'){ pchart1 = Highcharts.chart('charts1',{ chart: { type: 'funnel', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ fontSize:c_nSizeT } }, plotOptions: { series: { dataLabels: { enabled: true, format: '{point.name} : {point.y}', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, }, softConnector: true }, showInLegend:c_bNameL, neckWidth: '30%', neckHeight: '25%', width:'60%' } }, 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, } }, series: [{ name: CARR[Y[0]-1], data: (function(){ var res = []; for(var i = 0;i{point.name} : {point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[0][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[0][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[0]=='ring'){ pchart1 = Highcharts.chart('charts1',{ chart: { plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style: { color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', innerSize:'75%', name: CARR[Y[0]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: (function(){ var res = []; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[0]=='pie_3d'){ pchart1 = Highcharts.chart('charts1',{ chart: { type: 'pie', options3d: { enabled: true, alpha: 45, beta: 0 }, colors:COLORS, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { formatter:function(){ return this.key+'
'+CARR[Y[0]-1]+':'+this.y+'('+this.percentage.toFixed(2)+'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', depth: 35, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', name: CARR[Y[0]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: HDATA[0], events: { click: function(e){ if(MD5ARR[0][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[0][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[0]=='ring_3d'){ pchart1 = Highcharts.chart('charts1',{ chart: { type: 'pie', options3d: { enabled: true, alpha: 45 }, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, exportChartLocal:{ filename:'', url:'', }, tooltip: { formatter:function(){ return this.key+'
'+CARR[Y[0]-1]+':'+this.y+'('+this.percentage.toFixed(2)+'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { innerSize: '30%', depth: 35, allowPointSelect: true, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', name: CARR[Y[0]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: HDATA[0], events: { click: function(e){ if(MD5ARR[0][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[0][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[0]=='nightingale'){ pchart1 = Highcharts.chart('charts1',{ chart: { type: 'variablepie', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { variablepie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style: { color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ // type: 'pie', minPointSize: 10, innerSize: '20%', //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, zMin: 0, name: CARR[Y[0]-1], data: (function(){ var res = []; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); } if(data.length>=2){ if(c_bNameT=='0'){ c_bNameT = null; }else{ c_bNameT = text[1]; } if(TYPE[1]=='bar'){ pchart2 = Highcharts.chart('charts2',{ chart: { type: 'column', zoomType:'x', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[1]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { // plotLines:{ // dashStyle:c_szSplitLineTypeX, // width:c_szSplitLineWidthX // }, 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, //旋转角度 style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[1], crosshair: true, }, yAxis: { min: 0, // plotLines:{ // dashStyle:c_szSplitLineTypeY, // width:c_szSplitLineWidthY // }, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, plotOptions: { column: { pointPadding: 0.2, borderWidth: 0 }, series: { borderWidth: 0, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } } } }, series: [{ name: CARR[Y[1]-1], //colorByPoint: true, data: ARRVALUE[1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[1][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[1][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[1]=='barT'){ pchart2 = Highcharts.chart('charts2',{ chart: { type: 'column', zoomType:'x', inverted:true, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[1]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { // plotLines:{ // dashStyle:c_szSplitLineTypeX, // width:c_szSplitLineWidthX // }, visible:c_bNameX, lineColor: c_szLineColorX,//轴线颜色 lineWidth: c_szLineWidthX,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeX,//网格线线条样式 gridLineWidth: c_szSplitLineWidthX,//网格线宽度 title: { text: c_XAxisName, align:c_szLocationX, style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, labels:{ //rotation:c_szXRotate, //旋转角度 style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[1], crosshair: true, }, yAxis: { min: 0, // plotLines:{ // dashStyle:c_szSplitLineTypeY, // width:c_szSplitLineWidthY // }, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, plotOptions: { column: { pointPadding: 0.2, borderWidth: 0 }, series: { borderWidth: 0, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } } } }, series: [{ name: CARR[Y[1]-1], //colorByPoint: true, data: ARRVALUE[1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[1][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[1][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[1]=='pie'){ pchart2 = Highcharts.chart('charts2',{ chart: { plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style: { color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', name: CARR[Y[1]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: (function(){ var res = []; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[1]=='line'){ pchart2 = Highcharts.chart('charts2',{ chart: { type: ISCURVE, zoomType:'x', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[1]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { // plotLines:{ // dashStyle:c_szSplitLineTypeX, // width:c_szSplitLineWidthX // }, visible:c_bNameX, lineColor: c_szLineColorX,//轴线颜色 lineWidth: c_szLineWidthX,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeX,//网格线线条样式 gridLineWidth: c_szSplitLineWidthX,//网格线宽度 title: { text: c_XAxisName, align:c_szLocationX, style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, labels:{ //rotation:c_szXRotate, //旋转角度 style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[1], crosshair: true, }, yAxis: { min: 0, // plotLines:{ // dashStyle:c_szSplitLineTypeY, // width:c_szSplitLineWidthY // }, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, plotOptions: { line: { dataLabels: { enabled:true, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } } }, spline: { dataLabels: { enabled: true, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } } } }, series: [{ name: CARR[Y[1]-1], data: ARRVALUE[1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[1][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[1][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[1]=='area'){ pchart2 = Highcharts.chart('charts2',{ chart: { type: 'areaspline', zoomType:'x', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[1]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { //plotLines:{ //dashStyle:c_szSplitLineTypeX, //width:c_szSplitLineWidthX //}, 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, //旋转角度 style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[1], crosshair: true, }, yAxis: { //plotLines:{ //dashStyle:c_szSplitLineTypeX, //width:c_szSplitLineWidthX //}, min: 0, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, // plotOptions: { // areaspline: { // dataLabels: { // enabled: true, // style:{ // color:c_szColorT, // fontSize:c_nSizeT+'px', // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, // marker: { // radius: 2 // }, // lineWidth: 1, // states: { // hover: { // lineWidth: 1 // } // }, // threshold: null // } // }, series: [{ name: CARR[Y[1]-1], data: ARRVALUE[1], opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[1][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[1][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[1]=='funnel'){ pchart2 = Highcharts.chart('charts2',{ chart: { type: 'funnel', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ fontSize:c_nSizeT } }, plotOptions: { series: { dataLabels: { enabled: true, format: '{point.name} : {point.y}', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, }, softConnector: true }, showInLegend:c_bNameL, neckWidth: '30%', neckHeight: '25%', width:'60%' } }, 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, } }, series: [{ name: CARR[Y[1]-1], data: (function(){ var res = []; for(var i = 0;i{point.name} : {point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[1][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[1][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[1]=='ring'){ pchart2 = Highcharts.chart('charts2',{ chart: { plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style: { color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', innerSize:'75%', name: CARR[Y[1]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: (function(){ var res = []; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[1]=='pie_3d'){ pchart2 = Highcharts.chart('charts2',{ chart: { type: 'pie', options3d: { enabled: true, alpha: 45, beta: 0 }, colors:COLORS, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { formatter:function(){ return this.key+'
'+CARR[Y[1]-1]+':'+this.y+'('+this.percentage.toFixed(2)+'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', depth: 35, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', name: CARR[Y[1]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: HDATA[1], events: { click: function(e){ if(MD5ARR[1][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[1][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[1]=='ring_3d'){ pchart2 = Highcharts.chart('charts2',{ chart: { type: 'pie', options3d: { enabled: true, alpha: 45 }, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, exportChartLocal:{ filename:'', url:'', }, tooltip: { formatter:function(){ return this.key+'
'+CARR[Y[1]-1]+':'+this.y+'('+this.percentage.toFixed(2)+'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { innerSize: '30%', depth: 35, allowPointSelect: true, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', name: CARR[Y[1]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: HDATA[1], events: { click: function(e){ if(MD5ARR[1][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[1][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[1]=='nightingale'){ pchart2 = Highcharts.chart('charts2',{ chart: { type: 'variablepie', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { variablepie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style: { color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ // type: 'pie', minPointSize: 10, innerSize: '20%', //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, zMin: 0, name: CARR[Y[1]-1], data: (function(){ var res = []; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); } } if(data.length>=3){ if(c_bNameT=='0'){ c_bNameT = null; }else{ c_bNameT = text[2]; } if(TYPE[2]=='bar'){ pchart3 = Highcharts.chart('charts3',{ chart: { type: 'column', zoomType:'x', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[2]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { // plotLines:{ // dashStyle:c_szSplitLineTypeX, // width:c_szSplitLineWidthX // }, 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, //旋转角度 style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[2], crosshair: true, }, yAxis: { min: 0, // plotLines:{ // dashStyle:c_szSplitLineTypeY, // width:c_szSplitLineWidthY // }, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, plotOptions: { column: { pointPadding: 0.2, borderWidth: 0 }, series: { borderWidth: 0, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } } } }, series: [{ name: CARR[Y[2]-1], //colorByPoint: true, data: ARRVALUE[2], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[2][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[2][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[2]=='barT'){ pchart3 = Highcharts.chart('charts3',{ chart: { type: 'column', zoomType:'x', inverted:true, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[2]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { // plotLines:{ // dashStyle:c_szSplitLineTypeX, // width:c_szSplitLineWidthX // }, visible:c_bNameX, lineColor: c_szLineColorX,//轴线颜色 lineWidth: c_szLineWidthX,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeX,//网格线线条样式 gridLineWidth: c_szSplitLineWidthX,//网格线宽度 title: { text: c_XAxisName, align:c_szLocationX, style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, labels:{ //rotation:c_szXRotate, //旋转角度 style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[2], crosshair: true, }, yAxis: { min: 0, // plotLines:{ // dashStyle:c_szSplitLineTypeY, // width:c_szSplitLineWidthY // }, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, plotOptions: { column: { pointPadding: 0.2, borderWidth: 0 }, series: { borderWidth: 0, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } } } }, series: [{ name: CARR[Y[2]-1], //colorByPoint: true, data: ARRVALUE[2], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[2][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[2][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[2]=='pie'){ pchart3 = Highcharts.chart('charts3',{ chart: { plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style: { color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', name: CARR[Y[2]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: (function(){ var res = []; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[2]=='line'){ pchart3 = Highcharts.chart('charts3',{ chart: { type: ISCURVE, zoomType:'x', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[2]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { // plotLines:{ // dashStyle:c_szSplitLineTypeX, // width:c_szSplitLineWidthX // }, visible:c_bNameX, lineColor: c_szLineColorX,//轴线颜色 lineWidth: c_szLineWidthX,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeX,//网格线线条样式 gridLineWidth: c_szSplitLineWidthX,//网格线宽度 title: { text: c_XAxisName, align:c_szLocationX, style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, labels:{ //rotation:c_szXRotate, //旋转角度 style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[2], crosshair: true, }, yAxis: { min: 0, // plotLines:{ // dashStyle:c_szSplitLineTypeY, // width:c_szSplitLineWidthY // }, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, plotOptions: { line: { dataLabels: { enabled:true, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } } }, spline: { dataLabels: { enabled: true, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } } } }, series: [{ name: CARR[Y[2]-1], data: ARRVALUE[2], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[2][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[2][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[2]=='area'){ pchart3 = Highcharts.chart('charts3',{ chart: { type: 'areaspline', zoomType:'x', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[2]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { //plotLines:{ //dashStyle:c_szSplitLineTypeX, //width:c_szSplitLineWidthX //}, 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, //旋转角度 style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[2], crosshair: true, }, yAxis: { //plotLines:{ //dashStyle:c_szSplitLineTypeX, //width:c_szSplitLineWidthX //}, min: 0, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, // plotOptions: { // areaspline: { // dataLabels: { // enabled: true, // style:{ // color:c_szColorT, // fontSize:c_nSizeT+'px', // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, // marker: { // radius: 2 // }, // lineWidth: 1, // states: { // hover: { // lineWidth: 1 // } // }, // threshold: null // } // }, series: [{ name: CARR[Y[2]-1], data: ARRVALUE[2], opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[2][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[2][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[2]=='funnel'){ pchart3 = Highcharts.chart('charts3',{ chart: { type: 'funnel', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ fontSize:c_nSizeT } }, plotOptions: { series: { dataLabels: { enabled: true, format: '{point.name} : {point.y}', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, }, softConnector: true }, showInLegend:c_bNameL, neckWidth: '30%', neckHeight: '25%', width:'60%' } }, 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, } }, series: [{ name: CARR[Y[2]-1], data: (function(){ var res = []; for(var i = 0;i{point.name} : {point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[2][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[2][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[2]=='ring'){ pchart3 = Highcharts.chart('charts3',{ chart: { plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style: { color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', innerSize:'75%', name: CARR[Y[2]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: (function(){ var res = []; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[2]=='pie_3d'){ pchart3 = Highcharts.chart('charts3',{ chart: { type: 'pie', options3d: { enabled: true, alpha: 45, beta: 0 }, colors:COLORS, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { formatter:function(){ return this.key+'
'+CARR[Y[2]-1]+':'+this.y+'('+this.percentage.toFixed(2)+'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', depth: 35, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', name: CARR[Y[2]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: HDATA[2], events: { click: function(e){ if(MD5ARR[2][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[2][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[2]=='ring_3d'){ pchart3 = Highcharts.chart('charts3',{ chart: { type: 'pie', options3d: { enabled: true, alpha: 45 }, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, exportChartLocal:{ filename:'', url:'', }, tooltip: { formatter:function(){ return this.key+'
'+CARR[Y[2]-1]+':'+this.y+'('+this.percentage.toFixed(2)+'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { innerSize: '30%', depth: 35, allowPointSelect: true, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', name: CARR[Y[2]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: HDATA[2], events: { click: function(e){ if(MD5ARR[2][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[2][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[2]=='nightingale'){ pchart3 = Highcharts.chart('charts3',{ chart: { type: 'variablepie', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { variablepie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style: { color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ // type: 'pie', minPointSize: 10, innerSize: '20%', //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, zMin: 0, name: CARR[Y[2]-1], data: (function(){ var res = []; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); } } if(data.length>=4){ if(c_bNameT=='0'){ c_bNameT = null; }else{ c_bNameT = text[3]; } if(TYPE[3]=='bar'){ pchart4 = Highcharts.chart('charts4',{ chart: { type: 'column', zoomType:'x', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[3]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { // plotLines:{ // dashStyle:c_szSplitLineTypeX, // width:c_szSplitLineWidthX // }, 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, //旋转角度 style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[3], crosshair: true, }, yAxis: { min: 0, // plotLines:{ // dashStyle:c_szSplitLineTypeY, // width:c_szSplitLineWidthY // }, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, plotOptions: { column: { pointPadding: 0.2, borderWidth: 0 }, series: { borderWidth: 0, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } } } }, series: [{ name: CARR[Y[3]-1], //colorByPoint: true, data: ARRVALUE[3], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[3][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[3][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[3]=='barT'){ pchart4 = Highcharts.chart('charts4',{ chart: { type: 'column', zoomType:'x', inverted:true, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[3]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { // plotLines:{ // dashStyle:c_szSplitLineTypeX, // width:c_szSplitLineWidthX // }, visible:c_bNameX, lineColor: c_szLineColorX,//轴线颜色 lineWidth: c_szLineWidthX,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeX,//网格线线条样式 gridLineWidth: c_szSplitLineWidthX,//网格线宽度 title: { text: c_XAxisName, align:c_szLocationX, style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, labels:{ //rotation:c_szXRotate, //旋转角度 style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[3], crosshair: true, }, yAxis: { min: 0, // plotLines:{ // dashStyle:c_szSplitLineTypeY, // width:c_szSplitLineWidthY // }, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, plotOptions: { column: { pointPadding: 0.2, borderWidth: 0 }, series: { borderWidth: 0, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } } } }, series: [{ name: CARR[Y[3]-1], //colorByPoint: true, data: ARRVALUE[3], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[3][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[3][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[3]=='pie'){ pchart4 = Highcharts.chart('charts4',{ chart: { plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style: { color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', name: CARR[Y[3]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: (function(){ var res = []; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[3]=='line'){ pchart4 = Highcharts.chart('charts4',{ chart: { type: ISCURVE, zoomType:'x', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[3]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { // plotLines:{ // dashStyle:c_szSplitLineTypeX, // width:c_szSplitLineWidthX // }, visible:c_bNameX, lineColor: c_szLineColorX,//轴线颜色 lineWidth: c_szLineWidthX,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeX,//网格线线条样式 gridLineWidth: c_szSplitLineWidthX,//网格线宽度 title: { text: c_XAxisName, align:c_szLocationX, style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, labels:{ //rotation:c_szXRotate, //旋转角度 style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[3], crosshair: true, }, yAxis: { min: 0, // plotLines:{ // dashStyle:c_szSplitLineTypeY, // width:c_szSplitLineWidthY // }, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, plotOptions: { line: { dataLabels: { enabled:true, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } } }, spline: { dataLabels: { enabled: true, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } } } }, series: [{ name: CARR[Y[3]-1], data: ARRVALUE[3], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[3][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[3][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[3]=='area'){ pchart4 = Highcharts.chart('charts4',{ chart: { type: 'areaspline', zoomType:'x', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[3]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { //plotLines:{ //dashStyle:c_szSplitLineTypeX, //width:c_szSplitLineWidthX //}, 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, //旋转角度 style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[3], crosshair: true, }, yAxis: { //plotLines:{ //dashStyle:c_szSplitLineTypeX, //width:c_szSplitLineWidthX //}, min: 0, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, // plotOptions: { // areaspline: { // dataLabels: { // enabled: true, // style:{ // color:c_szColorT, // fontSize:c_nSizeT+'px', // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, // marker: { // radius: 2 // }, // lineWidth: 1, // states: { // hover: { // lineWidth: 1 // } // }, // threshold: null // } // }, series: [{ name: CARR[Y[3]-1], data: ARRVALUE[3], opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[3][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[3][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[3]=='funnel'){ pchart4 = Highcharts.chart('charts4',{ chart: { type: 'funnel', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ fontSize:c_nSizeT } }, plotOptions: { series: { dataLabels: { enabled: true, format: '{point.name} : {point.y}', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, }, softConnector: true }, showInLegend:c_bNameL, neckWidth: '30%', neckHeight: '25%', width:'60%' } }, 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, } }, series: [{ name: CARR[Y[3]-1], data: (function(){ var res = []; for(var i = 0;i{point.name} : {point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[3][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[3][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[3]=='ring'){ pchart4 = Highcharts.chart('charts4',{ chart: { plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style: { color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', innerSize:'75%', name: CARR[Y[3]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: (function(){ var res = []; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[3]=='pie_3d'){ pchart4 = Highcharts.chart('charts4',{ chart: { type: 'pie', options3d: { enabled: true, alpha: 45, beta: 0 }, colors:COLORS, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { formatter:function(){ return this.key+'
'+CARR[Y[3]-1]+':'+this.y+'('+this.percentage.toFixed(2)+'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', depth: 35, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', name: CARR[Y[3]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: HDATA[3], events: { click: function(e){ if(MD5ARR[3][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[3][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[3]=='ring_3d'){ pchart4 = Highcharts.chart('charts4',{ chart: { type: 'pie', options3d: { enabled: true, alpha: 45 }, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, exportChartLocal:{ filename:'', url:'', }, tooltip: { formatter:function(){ return this.key+'
'+CARR[Y[3]-1]+':'+this.y+'('+this.percentage.toFixed(2)+'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { innerSize: '30%', depth: 35, allowPointSelect: true, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', name: CARR[Y[3]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: HDATA[3], events: { click: function(e){ if(MD5ARR[3][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[3][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[3]=='nightingale'){ pchart4 = Highcharts.chart('charts4',{ chart: { type: 'variablepie', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { variablepie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style: { color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ // type: 'pie', minPointSize: 10, innerSize: '20%', //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, zMin: 0, name: CARR[Y[3]-1], data: (function(){ var res = []; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); } } if(data.length>=5){ if(c_bNameT=='0'){ c_bNameT = null; }else{ c_bNameT = text[4]; } if(TYPE[4]=='bar'){ pchart5 = Highcharts.chart('charts5',{ chart: { type: 'column', zoomType:'x', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[4]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { // plotLines:{ // dashStyle:c_szSplitLineTypeX, // width:c_szSplitLineWidthX // }, 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, //旋转角度 style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[4], crosshair: true, }, yAxis: { min: 0, // plotLines:{ // dashStyle:c_szSplitLineTypeY, // width:c_szSplitLineWidthY // }, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, plotOptions: { column: { pointPadding: 0.2, borderWidth: 0 }, series: { borderWidth: 0, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } } } }, series: [{ name: CARR[Y[4]-1], //colorByPoint: true, data: ARRVALUE[4], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[4][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[4][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[4]=='barT'){ pchart5 = Highcharts.chart('charts5',{ chart: { type: 'column', zoomType:'x', inverted:true, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[4]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { // plotLines:{ // dashStyle:c_szSplitLineTypeX, // width:c_szSplitLineWidthX // }, visible:c_bNameX, lineColor: c_szLineColorX,//轴线颜色 lineWidth: c_szLineWidthX,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeX,//网格线线条样式 gridLineWidth: c_szSplitLineWidthX,//网格线宽度 title: { text: c_XAxisName, align:c_szLocationX, style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, labels:{ //rotation:c_szXRotate, //旋转角度 style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[4], crosshair: true, }, yAxis: { min: 0, // plotLines:{ // dashStyle:c_szSplitLineTypeY, // width:c_szSplitLineWidthY // }, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, plotOptions: { column: { pointPadding: 0.2, borderWidth: 0 }, series: { borderWidth: 0, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } } } }, series: [{ name: CARR[Y[4]-1], //colorByPoint: true, data: ARRVALUE[4], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[4][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[4][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[4]=='pie'){ pchart5 = Highcharts.chart('charts5',{ chart: { plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style: { color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', name: CARR[Y[4]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: (function(){ var res = []; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[4]=='line'){ pchart5 = Highcharts.chart('charts5',{ chart: { type: ISCURVE, zoomType:'x', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[4]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { // plotLines:{ // dashStyle:c_szSplitLineTypeX, // width:c_szSplitLineWidthX // }, visible:c_bNameX, lineColor: c_szLineColorX,//轴线颜色 lineWidth: c_szLineWidthX,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeX,//网格线线条样式 gridLineWidth: c_szSplitLineWidthX,//网格线宽度 title: { text: c_XAxisName, align:c_szLocationX, style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, labels:{ //rotation:c_szXRotate, //旋转角度 style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[4], crosshair: true, }, yAxis: { min: 0, // plotLines:{ // dashStyle:c_szSplitLineTypeY, // width:c_szSplitLineWidthY // }, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, plotOptions: { line: { dataLabels: { enabled:true, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } } }, spline: { dataLabels: { enabled: true, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } } } }, series: [{ name: CARR[Y[4]-1], data: ARRVALUE[4], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[4][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[4][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[4]=='area'){ pchart5 = Highcharts.chart('charts5',{ chart: { type: 'areaspline', zoomType:'x', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[4]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { //plotLines:{ //dashStyle:c_szSplitLineTypeX, //width:c_szSplitLineWidthX //}, 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, //旋转角度 style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[4], crosshair: true, }, yAxis: { //plotLines:{ //dashStyle:c_szSplitLineTypeX, //width:c_szSplitLineWidthX //}, min: 0, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, // plotOptions: { // areaspline: { // dataLabels: { // enabled: true, // style:{ // color:c_szColorT, // fontSize:c_nSizeT+'px', // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, // marker: { // radius: 2 // }, // lineWidth: 1, // states: { // hover: { // lineWidth: 1 // } // }, // threshold: null // } // }, series: [{ name: CARR[Y[4]-1], data: ARRVALUE[4], opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[4][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[4][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[4]=='funnel'){ pchart5 = Highcharts.chart('charts5',{ chart: { type: 'funnel', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ fontSize:c_nSizeT } }, plotOptions: { series: { dataLabels: { enabled: true, format: '{point.name} : {point.y}', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, }, softConnector: true }, showInLegend:c_bNameL, neckWidth: '30%', neckHeight: '25%', width:'60%' } }, 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, } }, series: [{ name: CARR[Y[4]-1], data: (function(){ var res = []; for(var i = 0;i{point.name} : {point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[4][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[4][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[4]=='ring'){ pchart5 = Highcharts.chart('charts5',{ chart: { plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style: { color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', innerSize:'75%', name: CARR[Y[4]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: (function(){ var res = []; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[4]=='pie_3d'){ pchart5 = Highcharts.chart('charts5',{ chart: { type: 'pie', options3d: { enabled: true, alpha: 45, beta: 0 }, colors:COLORS, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { formatter:function(){ return this.key+'
'+CARR[Y[4]-1]+':'+this.y+'('+this.percentage.toFixed(2)+'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', depth: 35, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', name: CARR[Y[4]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: HDATA[4], events: { click: function(e){ if(MD5ARR[4][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[4][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[4]=='ring_3d'){ pchart5 = Highcharts.chart('charts5',{ chart: { type: 'pie', options3d: { enabled: true, alpha: 45 }, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, exportChartLocal:{ filename:'', url:'', }, tooltip: { formatter:function(){ return this.key+'
'+CARR[Y[4]-1]+':'+this.y+'('+this.percentage.toFixed(2)+'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { innerSize: '30%', depth: 35, allowPointSelect: true, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', name: CARR[Y[4]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: HDATA[4], events: { click: function(e){ if(MD5ARR[4][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[4][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[4]=='nightingale'){ pchart5 = Highcharts.chart('charts5',{ chart: { type: 'variablepie', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { variablepie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style: { color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ // type: 'pie', minPointSize: 10, innerSize: '20%', //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, zMin: 0, name: CARR[Y[4]-1], data: (function(){ var res = []; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); } } if(data.length>=6){ if(c_bNameT=='0'){ c_bNameT = null; }else{ c_bNameT = text[5]; } if(TYPE[5]=='bar'){ pchart6 = Highcharts.chart('charts6',{ chart: { type: 'column', zoomType:'x', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[5]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { // plotLines:{ // dashStyle:c_szSplitLineTypeX, // width:c_szSplitLineWidthX // }, 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, //旋转角度 style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[5], crosshair: true, }, yAxis: { min: 0, // plotLines:{ // dashStyle:c_szSplitLineTypeY, // width:c_szSplitLineWidthY // }, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, plotOptions: { column: { pointPadding: 0.2, borderWidth: 0 }, series: { borderWidth: 0, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } } } }, series: [{ name: CARR[Y[5]-1], //colorByPoint: true, data: ARRVALUE[5], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[5][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[5][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[5]=='barT'){ pchart6 = Highcharts.chart('charts6',{ chart: { type: 'column', zoomType:'x', inverted:true, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[5]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { // plotLines:{ // dashStyle:c_szSplitLineTypeX, // width:c_szSplitLineWidthX // }, visible:c_bNameX, lineColor: c_szLineColorX,//轴线颜色 lineWidth: c_szLineWidthX,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeX,//网格线线条样式 gridLineWidth: c_szSplitLineWidthX,//网格线宽度 title: { text: c_XAxisName, align:c_szLocationX, style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, labels:{ //rotation:c_szXRotate, //旋转角度 style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[5], crosshair: true, }, yAxis: { min: 0, // plotLines:{ // dashStyle:c_szSplitLineTypeY, // width:c_szSplitLineWidthY // }, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, plotOptions: { column: { pointPadding: 0.2, borderWidth: 0 }, series: { borderWidth: 0, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } } } }, series: [{ name: CARR[Y[5]-1], //colorByPoint: true, data: ARRVALUE[5], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[5][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[5][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[5]=='pie'){ pchart6 = Highcharts.chart('charts6',{ chart: { plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style: { color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', name: CARR[Y[5]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: (function(){ var res = []; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[5]=='line'){ pchart6 = Highcharts.chart('charts6',{ chart: { type: ISCURVE, zoomType:'x', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[5]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { // plotLines:{ // dashStyle:c_szSplitLineTypeX, // width:c_szSplitLineWidthX // }, visible:c_bNameX, lineColor: c_szLineColorX,//轴线颜色 lineWidth: c_szLineWidthX,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeX,//网格线线条样式 gridLineWidth: c_szSplitLineWidthX,//网格线宽度 title: { text: c_XAxisName, align:c_szLocationX, style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, labels:{ //rotation:c_szXRotate, //旋转角度 style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[5], crosshair: true, }, yAxis: { min: 0, // plotLines:{ // dashStyle:c_szSplitLineTypeY, // width:c_szSplitLineWidthY // }, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, plotOptions: { line: { dataLabels: { enabled:true, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } } }, spline: { dataLabels: { enabled: true, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } } } }, series: [{ name: CARR[Y[5]-1], data: ARRVALUE[5], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[5][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[5][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[5]=='area'){ pchart6 = Highcharts.chart('charts6',{ chart: { type: 'areaspline', zoomType:'x', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, colors:[CHANGECOLOR1[5]], title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, xAxis: { //plotLines:{ //dashStyle:c_szSplitLineTypeX, //width:c_szSplitLineWidthX //}, 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, //旋转角度 style:{ color:c_szColorX, fontSize:c_nSizeX+'px', fontFamily:c_szFamilyX, fontStyle:c_szStyleX, fontWeight:c_szWeightX, } }, categories:ARRKEY[5], crosshair: true, }, yAxis: { //plotLines:{ //dashStyle:c_szSplitLineTypeX, //width:c_szSplitLineWidthX //}, min: 0, visible:c_bNameY, lineColor: c_szLineColorY,//轴线颜色 lineWidth: c_szLineWidthY,//轴线宽度 gridLineDashStyle: c_szSplitLineTypeY,//网格线线条样式 gridLineWidth: c_szSplitLineWidthY,//网格线宽度 title: { text: YTITLE, 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, } } }, tooltip: { headerFormat: '{point.key}', pointFormat: '' + '', footerFormat: '
{series.name}: {point.y}
', shared: true, useHTML: true }, 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, } }, // plotOptions: { // areaspline: { // dataLabels: { // enabled: true, // style:{ // color:c_szColorT, // fontSize:c_nSizeT+'px', // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, // marker: { // radius: 2 // }, // lineWidth: 1, // states: { // hover: { // lineWidth: 1 // } // }, // threshold: null // } // }, series: [{ name: CARR[Y[5]-1], data: ARRVALUE[5], opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[5][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[5][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[5]=='funnel'){ pchart6 = Highcharts.chart('charts6',{ chart: { type: 'funnel', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ fontSize:c_nSizeT } }, plotOptions: { series: { dataLabels: { enabled: true, format: '{point.name} : {point.y}', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, }, softConnector: true }, showInLegend:c_bNameL, neckWidth: '30%', neckHeight: '25%', width:'60%' } }, 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, } }, series: [{ name: CARR[Y[5]-1], data: (function(){ var res = []; for(var i = 0;i{point.name} : {point.y}', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, events: { click: function(e){ if(MD5ARR[5][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[5][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[5]=='ring'){ pchart6 = Highcharts.chart('charts6',{ chart: { plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style: { color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', innerSize:'75%', name: CARR[Y[5]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: (function(){ var res = []; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[5]=='pie_3d'){ pchart6 = Highcharts.chart('charts6',{ chart: { type: 'pie', options3d: { enabled: true, alpha: 45, beta: 0 }, colors:COLORS, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { formatter:function(){ return this.key+'
'+CARR[Y[5]-1]+':'+this.y+'('+this.percentage.toFixed(2)+'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', depth: 35, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', name: CARR[Y[5]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: HDATA[5], events: { click: function(e){ if(MD5ARR[5][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[5][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[5]=='ring_3d'){ pchart6 = Highcharts.chart('charts6',{ chart: { type: 'pie', options3d: { enabled: true, alpha: 45 }, margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle: { // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, exportChartLocal:{ filename:'', url:'', }, tooltip: { formatter:function(){ return this.key+'
'+CARR[Y[5]-1]+':'+this.y+'('+this.percentage.toFixed(2)+'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { pie: { innerSize: '30%', depth: 35, allowPointSelect: true, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ type: 'pie', name: CARR[Y[5]-1], //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name}:{point.y}({point.percentage:.2f}%)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, data: HDATA[5], events: { click: function(e){ if(MD5ARR[5][e.point.index].trim()!=''){ if(ISWEB==1){ window.open('http://www.patentics.cn/showpatent_phone.htm?sq='+MD5ARR[5][e.point.index]); } } if(ISWEB==0){ var posnum = -1; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); }else if(TYPE[5]=='nightingale'){ pchart6 = Highcharts.chart('charts6',{ chart: { type: 'variablepie', margin:[MARGINTOP,MARGINRIGHT,MARGINBOTTOM,MARGINLEFT] }, exporting: { sourceWidth:document.documentElement.clientWidth, sourceHeight:document.documentElement.clientHeight }, title: { align:c_szXAlignT, verticalAlign:c_szYAlignT, text: c_bNameT, style:{ x:c_szXAlignT, color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, // subtitle:{ // text: CARR[Y[0]-1], // style:{ // color:c_szColorT, // fontSize:Number(c_nSizeT)-4, // fontFamily:c_szFamilyT, // fontStyle:c_szStyleT, // fontWeight:c_szWeightT, // } // }, tooltip: { headerFormat: '{series.name} ', pointFormatter: function(){ return this.options.name + '
' + this.options.y +'('+ parseFloat(this.options.y*100/this.total).toFixed(2) +'%)'; }, style:{ color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, plotOptions: { variablepie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style: { color:c_szColorT, fontSize:c_nSizeT+'px', fontFamily:c_szFamilyT, fontStyle:c_szStyleT, fontWeight:c_szWeightT, } }, showInLegend:c_bNameL } }, 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, } }, series: [{ // type: 'pie', minPointSize: 10, innerSize: '20%', //opacity:c_szOpacityP, borderColor:c_szLineColorP, borderWidth:c_szLineWidthP, dashStyle:c_szLineTypeP, shadow:{ color:c_szShadowColorP, width:c_szShadowSizeP, offsetX:c_szShadowXP, offsetY:c_szShadowYP }, dataLabels: { enabled: true, format: '{point.name} : {point.y} ({point.percentage:.2f} %)', style:{ color:c_szColorP, fontSize:c_nSizeP+'px', fontFamily:c_szFamilyP, fontStyle:c_szStyleP, fontWeight:c_szWeightP, } }, zMin: 0, name: CARR[Y[5]-1], data: (function(){ var res = []; for(var i = 0;i/g,"-"); mytempename = mytempename.replace(/\|/g,"-"); mytempename = mytempename.replace(/”/g,"-"); //mytempename = mytempename.replace(/,/g,"-"); mytempename = mytempename.replace(/、/g,"-"); mytempename = mytempename.replace(/\n/g,""); mytempename = mytempename.replace(/\;/g,"-"); mytempename = mytempename.replace(/\\/g,"-"); mytempename = mytempename.replace(/\s/g,"-"); mytempename = mytempename.replace(/----/g,"-"); mytempename = mytempename.replace(/---/g,"-"); mytempename = mytempename.replace(/--/g,"-"); var isweb2url = '../'+projectName+'/'+projectName+'/'+mytempename+'/PP'+'.htm'; window.open(isweb2url); } } } }] }); } } }