$.getScript("/final/scripts/utilities/EgChartTheme.js");function getHighChartsBarInstance(g,b,d){var a=true;var f=false;var e={highchart:null,defaults:{chart:{plotBorderWidth:0,plotBorderColor:"#e5e5e5",backgroundColor:"#ffffff",plotBackgroundColor:"white",plotShadow:false,placeValuesInside:0,shadow:false,zoomType:"xy",align:"center",ignoreHiddenSeries:false,events:{load:function(h){$(".highcharts-legend-item rect").attr("height","8").attr("y","7");
$(".highcharts-legend-item rect").attr("width","8").attr("x","8");}}},rangeSelector:{enabled:false},global:{useUTC:true,timezoneOffset:timezoneOffsetValue},navigator:{enabled:false},yAxis:{min:0,border:0,reversedStacks:false,endOnTick:true,showFirstLabel:true,startOnTick:true,labels:{style:{color:"#636363",fontSize:"11px",},formatter:function(){var h=Highcharts.numberFormat(this.value,4,".","");
h=(parseFloat(h));return h;},},showLastLabel:true,tickPositioner:function(m,h){var j=m,n=[];this.tickAmount=1;var i=false;var k=this.tickInterval;var l=0;if(m==h){if(h>1){h=h+1;}else{if(h==0){h=h+1;l=0;i=true;}else{h=h+0.1;}}}var o=1;while(j<=h){if(o==2&&i){n.push(l);}else{n.push(j);}j+=k;o++;}if(!i){n.push(j);
}return n;},},scrollbar:{enabled:false},legend:{verticalAlign:"top",align:"center",layout:"horizontal",borderWidth:0,symbolWidth:14,symbolHeight:6,squareSymbol:false,symbolRadius:6,adjustChartSize:false,navigation:{arrowSize:5},itemStyle:{color:"#2a292a",fontWeight:"normal",fontSize:"10px",},},labels:{itemStyle:{color:"#2a292a",fontWeight:"Normal",fontSize:"10px",},},tooltip:{borderColor:"black",valueDecimals:4,style:{color:"#2a292a",fontWeight:"Normal",fontSize:"10px",},},exporting:{enabled:false},credits:{enabled:false},xAxis:{type:"datetime",min:0,border:1,lineWidth:1,minPadding:0.02,maxPadding:0.02,ordinal:false,endOnTick:true,showFirstLabel:true,startOnTick:true,labels:{style:{color:"#636363",fontWeight:"Normal",fontSize:"11px",},overflow:"justify",showLastLabel:true,endOnTick:true,showFirstLabel:true,startOnTick:true,useHTML:false,},title:{style:{color:"#636363",fontSize:"11px",},},},title:{text:"",style:{color:"#2a292a",fontWeight:"Normal",fontSize:"12px",}},series:{}},setData:function(br,bc,aW){var a2="";
var Q="bar";var bn="normal";var bp=0;var at=true;var U=br["enable_Format"];var V=br["enable_values"];var aC=br["formatForPieChart"];var aE=br["customFormatForPieChart"];var aL=br["formatForLegendOnlyPercentage"];var aG="";if(Ext.isEmpty(U)){U="";aG="{point.name}";}else{aG="{point.name}:{point.percentage:.1f} %";
}if(V!=null&&V!="undefined"&&V=="true"){aG="{point.y}";}if(aC!=""&&aC!="null"&&aC!="undefined"&&aC!=undefined){aG="{point.name}"+aC+"{point.percentage:.1f} %";}if(aL==true||aL=="true"){aG="{point.percentage:.1f} %";}if(aE!=undefined&&aE!=""){aG=aE;}var u=br["inside"];fontFamily=br["fontName"];fontSize=br["fontsize"];
var bt=br["yAxisLabel"];LegendPosition=br["LegendPosition"];showLegend=br["showlegendFont"];var bw=br["xAxisLabel"];var M=br["xAxisLabelText"];var bo=br["isExecutiveReport"];LegendFont=br["LegendFont"];Q=br["chartType"];bt=(bt==null||bt=="")?"":bt;var bk=(bt==null||bt=="")?false:true;fontFamily="Arial";
LegendFont="Arial";bt=(bt==null||bt=="")?br["yAxisLabel"]:bt;bw=(bw==null||bw=="")?"":bw;M=(M==null||M=="")?"":M;var aD=(M==null||M=="")?false:true;fontFamily=(fontFamily==null||fontFamily=="")?"Arial":fontFamily;fontSize=(fontSize==null||fontSize=="")?"10px":fontFamily+"px";LegendPosition=(LegendPosition==null||LegendPosition==""||LegendPosition=="top")?"center":LegendPosition;
LegendFont=(LegendFont==null||LegendFont=="")?"Arial":LegendFont;legendWidth=(LegendPosition=="right")?190:400;needLegendFormat=(LegendPosition=="right")?"true":"false";var a8=(LegendPosition=="right")?null:50;valign=LegendPosition;var m=br["legend"];if(m==""||m=="null"||m=="undefined"||m==undefined){m=false;
}else{if(m=="true"){m=true;}else{if(m=="false"){m=false;}}}if(u==""||u=="null"||u=="undefined"||u==undefined){u=false;}else{if(u=="true"){u=true;}}var bK=true;var p=br["allowPointSelect"];if(p==""||p=="null"||p=="undefined"||p==undefined){bK=true;}else{if(p=="false"){bK=false;}}var ai=br["title"];ai=(ai==null||ai=="")?"":ai;
var aa=document.getElementById(g);var aN=-0.065;var bB=0.1;var N=br["DataSet"];var bl=0;var bv="#FFFFFF";var J=br["chartSubType"];var bh=br["drildown"];var G=null;var az=null;var Z=br["uptime"];var aT=br["isReporterHome"];var aR=[10,10,10,10];var a9=0;var a7=0;var a1=10;var v=-10;var aj=null;var B=0;
var Y=-10;var bH=br["isHypervisorChart"];var aI=br["forCpacityReport"];var av=false;var aB=true;var W=-10;var y=0;if(br["allowDecimal"]!=undefined){aB=br["allowDecimal"];}var bg=false;if(br["isHourWise"]!=undefined&&br["isHourWise"]){bg=br["isHourWise"];}var x="top";var aQ=br["isFromNetScalerReport"];
if(aQ!=undefined&&aQ=="Yes"){W=-30;}if(br["LegendPosition"]!=null&&br["LegendPosition"]!=""){x=br["LegendPosition"];}if(Z!=null&&Z=="uptimechart"){if(br["LegendPosition"]!=null&&br["LegendPosition"]!=""){x=br["LegendPosition"];if(br["barType"]!=null&&br["barType"]!=""){y=50;}}}if(br["isVsxUptime"]!=null&&br["isVsxUptime"]!=""){if(br["isVsxUptime"]){W=-33;
}}if(br["isActiveIdle"]!=null&&br["isActiveIdle"]!=""){if(br["isActiveIdle"]){W=-33;}}aj=br["ymax"];if(aj==""||aj=="null"||aj=="undefined"||aj==undefined){aj=null;}if(!m){if(J!=null&&J=="stacked"){if(Q!=null&&(Q=="column"||Q=="waterfall")){if(ai==null||ai==""){aR=[10,10,10,10];}}if(bo!=null&&bo){aR=[20,10,10,10];
}}}if(bh!=null&&(bh=="sametab"||bh=="newtab")){az="pointer";}var q=0;var ao=100;var z=false;if(N!=null&&N.length>=1){ao=(d/N.length)+40;var bu=N[0].data;q=21+((b-((bu.length*21)+50))/bu.length)/10;if(bu.length==1){aN=0.2;bB=0.4;}else{if(bu.length>1&&bu.length<=4){aN=0.2;bB=0.3;}}if(Q!=null&&Q=="combinedChart"){if(aI==true){if(bu.length>40){G=8;
}else{if(bu.length>30){G=10;}else{if(bu.length>20){G=15;}else{if(bu.length>10){G=20;}else{if(bu.length>5){G=25;}else{G=30;}}}}}}}if(Q!=null&&(Q=="column"||Q=="waterfall")){G=27;if(bu.length>45){G=5;}else{if(bu.length>40){G=12;}else{if(bu.length>=30){G=17;}else{if(bu.length<=8){aN=0.2;bB=0.2;}}}}if(bH==true){G=12;
if(bt.indexOf("MB")>-1){G=null;}var bm=br["isMonthlyChart"];if(bm==true){G=null;}}var w=br["isHistoryOfAlarm"];if((bu.length<=30&&bu.length>21)&&w==true){G=15;}}if(bu.length>5){z=true;}}if(bH==true){v=2;}var a6=br["isDataLabelEnabled"];var ak=br["isCombinationLineChart"];var F=true;var bD=br["endOnTick"];
var K=br["percentEnableTick"];if(a6==false){a6=false;}else{if(a6==""||a6=="null"||a6=="undefined"||a6==undefined){a6=true;}}if(Q!=null&&Q=="pie"){strpointFormat="";bv="#2a292a";if(strSkin=="Dark"||strSkin=="dark"){bv="#c0c0c0";}}else{strpointFormat="<b>:{point.y}</b>";}if(Q!=null&&Q=="combinedChart"){var ad=br["forCapacityReport"];
if(ad!=""&&ad!="null"&&ad!="undefined"&&ad!=undefined){bl=270;B=20;v=5;}}if(Q!=null&&(Q=="column"||Q=="waterfall"||Q=="line"||Q=="spline"||Q=="area"||Q=="areaspline")){bl=-90;if(Q=="waterfall"){bl=-60;}B=10;if(J!=null&&J=="stacked"){a7=1;a1=5;v=2;strpointFormat="{series.name}: <b>{point.y}</b><br/>";
}else{strpointFormat="<b>:{point.y}</b>";}}if(Q!=null&&Q=="bar"){a9=1;if(J!=null&&J=="stacked"){bv="#FFFFFF";at=false;if(Z!=null&&Z=="uptimechart"){G=21;m=true;}else{G=20;}}else{bv="#2a292a";if(strSkin=="Dark"||strSkin=="dark"){bv="#c0c0c0";}bp=10;G=21;}}var D=br["setStacking"];if(D!=undefined&&D!="undefined"&&D!=null&&D==false){bn=null;
}if(Q!=null&&Q=="line"){bn=null;strpointFormat="{series.name}: <b>{point.y}</b><br/>";}var s="Normal";var au="11px";var aX="Arial";if(Q!=null&&Q=="pie"){au="11px";aX="Arial";s="bold";}if(ak==true){bn=null;F=false;}if(bt!=null&&(bt.indexOf("%")>-1||bt.indexOf("(%)")>-1)){if(aj==null){at=true;}}if(bD==false){at=false;
}var bJ="#2a292a";var k="#C0C0C0";if(strSkin=="Dark"||strSkin=="dark"){bJ="#636363";k="#9b9fa1";}var ay=null;var bi=null;var a5=d;var S=b;var bz=20;var an=br["isTopNReport"];var E=br["fromSessionUsage"];if(E!=undefined||E!="undefined"&&E=="yes"){v=0;}if(bw.length>=6){ay=b-20-(bw.length)*(G+1);}if(Q!=null&&Q=="pie"){bz=null;
}if(Q!=null&&(Q=="column"||Q=="waterfall")){ay=null;bz=null;if(bw.length>=6){bi=d-20-(bw.length)*(G+5);}if(bi>150){bi=30;}if(bi<0){bi=d-20-(bw.length)*(G+3);}if(G==null){bi=30;}}var i=br["adjustbarWidth"];if(i!=null&&i!=undefined&&i!="undefined"&&i=="yes"){G=18;}var j=br["allowMarginTop"];if(j!=null&&j!=undefined&&j!="undefined"&&j=="yes"){bz=br["marginTop"];
}var l=br["needxaxisLabelRotation"];if(l!=null&&l!=undefined&&l!="undefined"&&l=="yes"){bl=0;}if(Q!=null&&Q=="bar"){a5=null;if(aa!=null){aa.style.width="100%";if(Z!=null&&Z=="uptimechart"){aa.style.width="100%";aR=[10,20,10,10];}if(an!=undefined&&an!=null&&an==true){aa.style.width="100%";}if(aT!=undefined&&aT!=null&&aT=="yes"){if(z){G=null;
}aa.style.width="100%";}}if(J==null||J!="stacked"){at=true;}}if(Q!=null&&(Q=="line")){at=false;bz=null;ay=null;a5=null;S=null;if(aT!=undefined&&aT!=null&&aT=="yes"){bz=30;Y=-5;}}if(K==true){at=false;}var bf=br["xval"];if(bf!=""&&bf!="null"&&bf!="undefined"&&bf!=undefined){v=bf;}var bj=br["yVal"];if(bj!=""&&bj!="null"&&bj!="undefined"&&bj!=undefined){B=bj;
}var am=br["yValue"];if(am!=""&&am!="null"&&am!="undefined"&&am!=undefined){B=am;}var ah=br["disablemarginTop"];if(ah!=""&&ah!="null"&&ah!="undefined"&&ah!=undefined&&ah=="true"){bz=null;}var bf=br["xval"];if(bf!=""&&bf!="null"&&bf!="undefined"&&bf!=undefined){v=bf;}var by="100%";var bb=br["pieSize"];
if(bb!=""&&bb!="null"&&bb!="undefined"&&bb!=undefined){by=bb;}var af=br["centerlegendPostion"];if(af!=""&&af!="null"&&af!="undefined"&&af!=undefined&&af=="true"){ao=(d/4)+25;}var ba=br["boldYaxisLabel"];if(ba!=""&&ba!="null"&&ba!="undefined"&&ba!=undefined&&ba=="true"){bt="<b>"+bt+"</b>";}var ac=true;
var bI=br["enableToolTip"];if(bI!=""&&bI!="null"&&bI!="undefined"&&bI!=undefined&&bI=="false"){ac=false;}var bG=4;var C=br["pointRadius"];if(C!=""&&C!="null"&&C!="undefined"&&C!=undefined&&C=="false"){bG=C;}var X=false;var ab=br["enableTooltpPercent"];if(ab!=""&&ab!="null"&&ab!="undefined"&&ab!=undefined&&ab=="true"){X=true;
}if(Z!=null&&Z=="uptimechart"){m=true;}var a4=br["forVCCapacityPlanning"];if(a4!=""&&a4!="null"&&a4!="undefined"&&a4!=undefined&&a4=="Yes"){G=70;bl=0;bv="#000000";}var bq=br["adjustSeriesValue"];var aO=0;var ar=0;if(bq!=null&&bq!="undefined"&&bq=="true"){aO=0;ar=2;}if(w==true){aO=1;}var aY=br["forRUMHealthReport"];
var A=br["hourwise"];var aV=br["weekly"];var T=br["dayWise"];if(aY!=""&&aY!="null"&&aY!="undefined"&&aY!=undefined){bl=270;B=45;v=5;if(A!=undefined&&A!="undefined"){B=25;}if(T!=undefined&&T!="undefined"){B=35;}if(aV!=undefined&&aV!="undefined"){v=-5;B=40;}}var H=br["enableGrouping"];var O=true;if(H!=""&&H!="null"&&H!="undefined"&&H!=undefined&&H=="true"){O=false;
}var aK=br["forSlowLogonTrend"];if(aK!=""&&aK!="null"&&aK!="undefined"&&aK!=undefined&&aK=="true"){v=3;}var ag="";var aP=null;var bF=10;var o=0;spacing_new=[10,20,20,20];if(Q!=null&&Q=="donut"){o=1;Q="pie";f=true;by=br["pieSize"];ag=br["innerSize"];if(by==""||by=="null"||by=="undefined"||by==undefined){by="150%";
}if(ag==""||ag=="null"||ag=="undefined"||ag==undefined){ag="100%";}m=br["showlegend"];if(m==""||m=="null"||m=="undefined"||m==undefined){m=false;}bz=br["marginTop"];if(bz==""||bz=="null"||bz=="undefined"||bz==undefined){bz="10";}a6=false;S=br["chartHeight"];if(S==""||S=="null"||S=="undefined"||S==undefined){S="100%";
}a5=br["chartWidth"];if(a5==""||a5=="null"||a5=="undefined"||a5==undefined){a5="100%";}aP="middle";bF=0;spacing_new=[0,20,10,20];}if(aa!=null){if(S!=null&&S<aa.offsetHeight){S=null;}}a5=null;var ap=br["isSystemCapacity"];var r=true;var ae=1;var aM=0;a9=1;if(aT!=undefined&&aT!=null&&aT=="yes"&&Q!=null&&(Q=="column"||Q=="waterfall")){a9=0;
}if(ap==true){r=false;a9=1;ae=0;aM=1;v=5;Q="line";}var a0=br["disablelineChartMarker"];if(a0!=undefined&&a0!=null&&a0=="true"){r=false;}var aH=br["changeAxisGridLine"];if(aH!=undefined&&aH==true){ae=0;aM=1;}var aS=br["showLastAxisLabel"];if(aS!=undefined&&aS==true){at=true;}var be=15;var bC=10;var P=br["forRumReport"];
if(P!=undefined||P!="undefined"&&P=="true"){be=30;bC=20;}var aJ=br["topUsers"];var L=0;if(aJ!=undefined&&aJ!=null&&aJ==true){be=0;L=15;}var t=br["ctxZoneReport"];if(t!=null&&t=="true"){be=30;}if(br["isUptimeAnalyticsReport"]!=null&&br["isUptimeAnalyticsReport"]=="true"){bz=30;}if((br["forUptimeReport"]!=undefined||br["forUptimeReport"]!="undefined")&&br["forUptimeReport"]=="true"){W=null;
}if(br["isJvmOverviewBar"]!=null&&br["isJvmOverviewBar"]=="true"){L=-10;}if(br["isJvmOverviewPie"]!=null&&br["isJvmOverviewPie"]=="true"){W=-15;}var ax=v;var I=B;var n=br["isFromVM"];if(Q!=null&&Q=="bar"){ax=-5;I=3;}else{if(Q!=null&&Q=="column"){ax=0;I=7;if(n!=null&&n=="yes"){I=15;}}}var bx=br["daychartof"];
if((bx!=undefined||bx!="undefined")&&bx=="uniqueusers"){G=20;}var bs=br["ShowLegendinTableFormatforUIData"];var aU=br["ShowLegendinTableFormatforUI"];var aA=false;legendWidth=legendWidth+20;if(aU!=undefined&&bs.length>0){aA=true;if(br["DataSet"]!=null&&br["DataSet"].length>0){var bA=br["DataSet"].length;
var a3=bs.length/5;if(a3!=undefined&&a3>0){bA=a3;}var aF=(bA*25)+60;yRange=b;a8=aF;if((bw!=undefined&&(bw.indexOf("MM")>-1)||bw=="")){margin_bottom=aF+70;}else{margin_bottom=aF+50;}LegendPosition="left";legendWidth=null;b="";margin_top=null;var al=Ext.getCmp("legend_"+g);var aZ=document.getElementById("legend_"+g);
var aw=document.getElementById(g+"_legend");var R=Ext.getCmp(g+"_legendPanel");if(al!=undefined||(aZ!=null&&aZ!=undefined)||(aw!=null&&aw!=undefined)||(R!=null&&R!=undefined)){margin_bottom=null;}}}var bd={chart:{height:S,width:a5,type:Q,spacing:spacing_new,marginTop:bz,tableFormatLegend:bs,events:{load:function(bL){if(aU!=undefined){create_new_legend(bL,true,g);
}$(".highcharts-legend-item rect").attr("height","8").attr("y","7");$(".highcharts-legend-item rect").attr("width","8").attr("x","10");}}},title:{text:ai,align:"center",verticalAlign:aP,y:bF},tooltip:{enabled:ac,valueDecimals:4,useHTML:true,shared:true,formatter:function(){var bN=Highcharts.numberFormat(this.y,4,".","");
if(X){bN=Highcharts.numberFormat(this.percentage,2,".","");}bN=(parseFloat(bN));var bL="";if(this.x==""||this.x=="null"||this.x=="undefined"||this.x==undefined){if(X){bN=bN+" %";}if(Q!=undefined&&Q=="pie"&&this.key!=this.y){if(this.key!=undefined){bN='<span style="font-weight:normal;font-family:Arial;font-weight:500;font-size:11px;white-space:nowrap;"> '+this.key+"</span> : <span >"+bN+" </span>";
}}if(strSkin=="Dark"||strSkin=="dark"){bL+='<b><span style="font-weight:normal;font-family:Arial;font-weight:500;font-size:11px;white-space:nowrap;color:white">'+bN+"</span></b>";}else{bL+='<b><span style="font-weight:normal;font-family:Arial;font-weight:500;font-size:11px;white-space:nowrap;color:#2a292a">'+bN+"</span></b>";
}}else{if(strSkin=="Dark"||strSkin=="dark"){if(X){bL+='<b><span style="font-weight:normal;font-family:Arial;font-weight:500;font-size:11px;white-space:nowrap;color:white">'+this.x+"  :  "+bN+" %</span></b>";}else{bL+='<span style="font-weight:normal;font-family:Arial;font-weight:500;font-size:11px;white-space:nowrap;">'+this.x+"</span>";
var bO="";$.each(this.points,function(bR,bQ){var bP=bQ.series.name;if(bP==undefined||bP=="Series 1"){bP=bt;}if(typeof bQ.y=="number"){bN=Math.round(bQ.y*10000)/10000;}else{bN=bQ.y;}bO+="<tr>";if(br["noNeedUnit"]!=undefined&&br["noNeedUnit"]=="yes"){bO+='<td style="font-weight:normal;font-family:Arial;font-weight:500;font-size:11px;white-space:nowrap;padding-top: 10px;">'+bN+"</td></tr>";
}else{if(bP!=undefined&&bP!="undefined"){bO+='<td style="font-weight:normal;font-family:Arial;font-weight:500;font-size:11px;white-space:nowrap;padding-top: 10px;color: '+bQ.series.color+'">'+bP+"&nbsp;:&nbsp;</td>";}bO+='<td style="font-weight:normal;font-family:Arial;font-weight:500;font-size:11px;white-space:nowrap;padding-top: 10px;">'+bN+"</td></tr>";
}});if(bM>0&&bM<300){bL+='<table width="'+(bM*8)+'px">';}else{bL+="<table>";}bL+="<tbody>"+bO;bL+="</tbody></table>";return bL;}}else{if(X){bL+='<span style="font-weight:normal;font-family:Arial;font-weight:500;font-size:11px;color:#2a292a">'+this.x+"  :  "+bN+" %</span>";}else{bL+='<span style="font-weight:normal;font-family:Arial;font-weight:500;font-size:11px;white-space:nowrap;">'+this.x+"</span>";
var bO="";var bM=0;$.each(this.points,function(bR,bQ){var bP=bQ.series.name;if(bP==undefined||bP=="Series 1"){bP=bt;}if(typeof bQ.y=="number"){bN=Math.round(bQ.y*10000)/10000;}else{bN=bQ.y;}bO+="<tr>";if(br["noNeedUnit"]!=undefined&&br["noNeedUnit"]=="yes"){bO+='<td style="font-size: 12px;padding-top: 10px;">'+bN+"</td></tr>";
}else{if(bP.length>bM){bM=bP.length;}bO+='<td style="font-size: 12px;padding-top: 10px;color: '+bQ.series.color+'">'+bP+": </td>";bO+='<td style="font-size: 12px;padding-top: 10px;">'+bN+"</td></tr>";}});if(bM>0&&bM<300){bL+='<table width="'+(bM*8)+'px">';}else{bL+="<table>";}bL+="<tbody>"+bO;bL+="</tbody></table>";
return bL;}}}return bL;}},yAxis:{min:0,max:aj,tickWidth:0,allowDecimals:aB,tickmarkPlacement:"on",tickLength:5,lineWidth:a9,gridLineWidth:ae,gridLineColor:"#e5e5e5",lineColor:"#e5e5e5",endOnTick:at,labels:{style:{color:"#636363",fontWeight:"Normal",fontSize:"10px",whiteSpace:"nowrap"}},title:{text:bt,margin:be,y:L,enabled:bk,style:{color:"#636363",fontWeight:"bold",fontSize:"11px",whiteSpace:"nowrap"},},},xAxis:{min:0,tickmarkPlacement:"on",tickWidth:a7,tickLength:a1,categories:bw,gridLineWidth:aM,gridLineColor:"#e5e5e5",lineColor:"#e5e5e5",lineWidth:1,labels:{rotation:bl,x:ax,y:I,style:{color:"#636363",fontWeight:"Normal",fontSize:"10px",whiteSpace:"nowrap"},formatter:function(){var bM=this.value;
var bL=bM.toString();if(bM!=null&&bM.length>32){var bL=bM.substring(32);if(bL.length>3){bM=bM.substring(0,32)+"...";}}if(bg&&bM!=null&&bM.trim().indexOf(" ")!=-1){bM=bM.substring(bM.lastIndexOf(" ")+1);}return bM;}},title:{enabled:aD,text:M,y:5,margin:bC,style:{color:"#0c9a12",fontWeight:"bold",fontSize:"20px",},},},plotOptions:{pie:{shadow:false,borderWidth:0,size:by,allowPointSelect:bK,cursor:az,borderColor:"transparent",showInLegend:m,innerSize:ag,dataLabels:{format:aG,crop:false,overflow:"none",connectorColor:k,softConnector:false,distance:15},point:{events:{click:function(){var bL=this.options.url;
if(bL==""||bL=="null"||bL=="undefined"||bL==undefined){}else{if(Q!=null&&Q=="pie"){if(bh!=null&&bh=="sametab"){document.location.href=bL;}else{if(bh!=null&&bh=="newtab"){openInNewWin(bL);}}}}}},}},bar:{shadow:false,cursor:az,borderWidth:0,depth:0,pointWidth:G,dataLabels:{enabled:true,crop:false,overflow:"none",style:{fontWeight:"normal",textShadow:false,textOutline:false},filter:{property:"percentage",operator:">",value:0}},point:{events:{click:function(){var bL=this.options.url;
if(bL==""||bL=="null"||bL=="undefined"||bL==undefined){}else{if(Q!=null&&Q=="bar"){if(bh!=null&&bh=="sametab"){document.location.href=bL;}else{if(bh!=null&&bh=="newtab"){openInNewWin(bL);}}}}}}}},column:{shadow:false,cursor:az,borderWidth:0,depth:0,grouping:O,pointWidth:G},waterfall:{shadow:false,cursor:az,borderWidth:0,depth:0,grouping:O,pointWidth:G},line:{shadow:false,cursor:az,marker:{enabled:F,fillColor:"#FFFFFF",lineWidth:0.5,lineColor:null,symbol:"circle"},point:{events:{click:function(){var bL=this.options.url;
if(bL==""||bL=="null"||bL=="undefined"||bL==undefined){}else{if(Q!=null&&Q=="line"){if(bL.indexOf("/")>-1){document.location.href=bL;}else{openInNewWin(bL);}}}}}}},series:{shadow:false,showEmpty:false,turboThreshold:100000,stacking:bn,cursor:az,borderWidth:o,depth:0,pointWidth:G,groupPadding:aN,pointPadding:bB,point:{events:{click:function(){var bL=this.options.url;
if(bL==""||bL=="null"||bL=="undefined"||bL==undefined){}else{if(Q!=null&&(Q=="line"||Q=="spline")){if(bL.indexOf("/")>-1){document.location.href=bL;}else{openInNewWin(bL);}}else{if(Q!=null&&Q=="column"){if(bh!=null&&bh=="sametab"){document.location.href=bL;}else{if(bh!=null&&bh=="newtab"){openInNewWin(bL);
}}}else{if(Q!=null&&Q=="pie"){if(bh!=null&&bh=="sametab"){document.location.href=bL;}else{if(bh!=null&&bh=="newtab"){openInNewWin(bL);}}}else{if(Q!=null&&Q=="bar"){if(bh!=null&&bh=="sametab"){document.location.href=bL;}else{if(bh!=null&&bh=="newtab"){openInNewWin(bL);}}}}}}}}}},dataLabels:{enabled:a6,crop:false,overflow:"none",inside:u,rotation:bl,overflow:"none",x:aO,formatter:function(){var bL=Highcharts.numberFormat(this.y,4,".","");
bL=(parseFloat(bL));return bL;},color:bv,style:{color:bv,fontFamily:aX,fontSize:au,fontWeight:"normal",textShadow:false,textOutline:false}},states:{hover:{enabled:false}},minPointLength:bp,marker:{enabled:r,symbol:"circle",radius:bG}},},legend:{verticalAlign:x,itemDistance:5,y:W,x:y,enabled:m,align:"center",maxHeight:a8,itemMarginTop:ar,itemMarginBottom:10,itemStyle:{textAlign:"top",},labelFormatter:function(){var bL=this.name;
if(bL.length>28&&needLegendFormat=="true"){c=0;strval="";while(c<bL.length){strval+=bL.substring(c,c+28)+"<br>";c=c+28;}bL=strval;}return bL;},}};var aq=br["isVMSessionUsage"];if(aq!="undefined"&&aq){bd.chart.plotBackgroundColor="#f2f2f2";}var h='<div class="egFlexCenterByColumnWise" style="height:100%"> <div class="iconInformation"></div> <div class="commonErrorMsgText">No Measures Available!</div> </div>';
var aa=document.getElementById(g);this.highchart=jQuery.extend(true,this.defaults,bd);var bE=[];if(br["DataSet"]==""||br["DataSet"]=="null"||br["DataSet"]=="undefined"||br["DataSet"]==undefined){a=false;if(aa!=null){aa.innerHTML=h;}}else{this.highchart.series=br["DataSet"];this.highchart.chart.renderTo=g;
}},drawChart:function(){if(a){Highcharts.setOptions({lang:{thousandsSep:""}});Highcharts.setOptions({global:{useUTC:true,timezoneOffset:timezoneOffsetValue}});var h;if(typeof getUserThemeFor=="function"){h=getUserThemeFor(strSkin);}else{h=getUserThemeForLocal(strSkin);}this.highchart=jQuery.extend(true,this.highchart,h);
if(f){donutChartTitle={title:{useHTML:true,floating:true,offset:"",margin:0,style:{color:"#2a292a",fontFamily:"Roboto",fontSize:"16px",fontWeight:"500"}}};this.highchart=jQuery.extend(true,this.highchart,donutChartTitle);}Highcharts.seriesTypes.line.prototype.drawLegendSymbol=Highcharts.seriesTypes.area.prototype.drawLegendSymbol;
new Highcharts.Chart(this.highchart,function(i){$("#showLegend-inputEl").click(function(){var j=document.getElementById(g+"_legend");var l=Ext.getCmp(g+"_legendPanel");if((j!=null&&j!=undefined)||(l!=null&&l!=undefined)){var k=Ext.getCmp("showLegend").getValue();showLegendChangeEvent(g,k);}else{if(i.options.legend.useHTML){var k=Ext.getCmp("showLegend").getValue();
create_new_legend(i,k,g);}else{i.legendToggle();}}});});}}};return e;}function create_new_legend(d,t,b){var e=Ext.getCmp("legend_"+b);var a=document.getElementById("legend_"+b);var g=document.getElementById(b+"_legend");var m=Ext.getCmp(b+"_legendPanel");var f=false;if((g!=null&&g!=undefined)||(m!=null&&m!=undefined)){f=true;
}if(t){var k=d;if(k.target!=undefined){k=k.target;}var o=k.containerWidth-50;var p="#616161";if(strSkin!=undefined&&strSkin=="Light"){p="#DBDBDB";}var s=k.options.chart.tableFormatLegend;var h="";if(s!=undefined&&s.length>0){var q=false;var r="left";if(s.length>5){q=true;}else{if(s[0]!=undefined&&s[0]!="DATA"){q=true;
}else{r="center";}}if(f){h='<div id="dummyTest" class="newTable" style="padding: 0px 0px 0px 10px;">';}else{h='<div id="dummyTest" class="newTable" style="padding: 0px 0px 0px 20px;">';}h+='<table cellpadding="0px" cellspacing="0px" style="table-layout:fixed;width:100%;">';var j="33%";if(q){j="17%";h+='<col width="49%"/>';
}h+='<col width="'+j+'"/><col width="'+j+'"/><col width="'+j+'"/><thead><tr style="background-color:'+p+';font-size:11px;font-family:Arial;" height="22px">';if(q){h+="<th>&nbsp;</th>";}h+='<th style="text-align:'+r+';">AVG</th><th style="text-align:'+r+';" >MAX</th><th  style="text-align:'+r+';">MIN';
if(f&&q&&s.length>5){h+='<div id="'+b+'_legendClose"  class="iconCloseCircle hideDiv" style="float: right;cursor:pointer;" onclick="javascript:changeLegendWindow('+b+');"></div>';h+='<div id="'+b+'_legendExpand" class="iconDotsCircle showDiv" style="float: right;cursor:pointer;" onclick="javascript:changeLegendWindow('+b+');"></div>';
}h+="</th></tr></thead><tbody>";for(var l=0;l<s.length;l=l+5){h+="<tr>";if(q){h+='<td style="padding-left:9px;" align="'+r+'"><div><div style="float:left;margin-top:2px;height:100%;vertical-align:top"><svg height="10" width="10"><circle cx="4" cy="6" r="4" fill="'+s[l+1]+'" stoke-width="0" /></svg></div><div style="margin-left:14px;line-height:1.5em;word-break:break-all">'+s[l]+"</div></div></td>";
}h+='<td align="'+r+'">'+s[l+2]+"</td>";h+='<td align="'+r+'">'+s[l+3]+"</td>";h+='<td align="'+r+'">'+s[l+4]+"</td>";h+="</tr>";}h+="</tbody></table></div>";}if(e!=undefined){if(s.length>0){var n=((s.length/5)*27)+35;e.setHeight(n);}e.update(h);$(b+".highcharts-legend").html("");}else{if(a!=null&&a!=undefined){if(s.length>0){var n=((s.length/5)*27)+35;
a.style.height=n+"px";}a.innerHTML=h;$(b+".highcharts-legend").html("");}else{if(m!=null&&m!=undefined){m.update(h);$(b+".highcharts-legend").html("");}else{if(g!=null&&g!=undefined){g.innerHTML=h;$(b+".highcharts-legend").html("");}else{$(b+".highcharts-legend").html(h);}}}}}else{$(".highcharts-legend").html("");
if(e!=undefined){e.setHeight(5);e.update("");}else{if(a!=null&&a!=undefined){a.style.height="5px";a.innerHTML="";}}}}function showLegendChangeEvent(i,b){var j=Ext.getCmp(i+"_legendPanel");if(j!=undefined&&j!=null){if(b){j.show();}else{j.hide();var h=Ext.getCmp(i+"_GraphPanel");if(h!=undefined&&h.isHidden()){h.show();
j.setHeight(53);var e=document.getElementById(i+"_legendClose");var d=document.getElementById(i+"_legendExpand");e.className=e.className.replace("showDiv","hideDiv");d.className=d.className.replace("hideDiv","showDiv");}}}else{if(b){var f=document.getElementById("commonLeg_"+i);if(f!=null&&f!=undefined){f.className=f.className.replace("hideDiv","showDiv");
f.style.height=60;}var a=document.getElementById(i+"_legend");var e=document.getElementById(i+"_legendClose");var d=document.getElementById(i+"_legendExpand");a.style.height="55px";a.style.paddingTop="0px";a.style.overflow="hidden";if(d!=null&&d!=undefined){d.className=d.className.replace("hideDiv","showDiv");
}if(e!=null&&e!=undefined){e.className=e.className.replace("showDiv","hideDiv");}}else{var f=document.getElementById("commonLeg_"+i);if(f!=null&&f!=undefined){f.className=f.className.replace("showDiv","hideDiv");}var g=document.getElementById(i);if(g!=null&&g!=undefined){g.className=g.className.replace("hideDiv","showDiv");
}}}}(function(a){a.Chart.prototype.reflow=function(){var b=new Ext.util.DelayedTask(function(){var g=e.clientWidth;var f=e.clientHeight;if(d.chartHeight>e.clientHeight){f=d.chartHeight;}d.setSize(g,f,false);});var d=this,e=d.renderTo;Ext.EventManager.onWindowResize(function(){var f=e.clientWidth;if(f!=0){b.delay(100);
}});};}(Highcharts));