jQuery.ajax({url:"/final/scripts/utilities/EgCommonChartTheme.js",dataType:"script",cache:true});function getHighChartForTimeLine(ac,B,a,e,z){var o=this;var d="";var I="False";var N="";var n="";var j=B["maxRange"];var G=B["commonmaxRange"];N=B["timezoneOffsetValue"];ymin=B["minRange"];fontFamily=B["fontName"];
fontSize=B["fontsize"];startTime=B["lowerLimit"];yaxisTitle=B["yLabel"];if(yaxisTitle==null||yaxisTitle==undefined||yaxisTitle==""){yaxisTitle=B["yAxisLabel"];}LegendPosition=B["LegendPosition"];showLegend=B["showlegendFont"];xLabel=B["xLabel"];if(xLabel==null||xLabel==undefined||xLabel==""){xLabel=B["axislabel"];
}LegendFont=B["LegendFont"];chartType=B["chartType"];var g=B["LineWidth"];var H=B["reportType"];var E=B["TimeFormatOut"];var J=B["showdisconnectedline"];var O=B["isCapacityCumulationReport"];var K=false;var ad="";K=B["enableTitle"];ad=(K)?B["title"]:"";var w=null;var y=true;var r=B["legendEnabled"];y=r;
y=(Ext.isEmpty(y))?true:y;var ab=true;if(J!=null&&J=="No"){ab=false;}yaxisTitle=(yaxisTitle==null||yaxisTitle=="")?"":yaxisTitle;YtitleEnable=(yaxisTitle==null||yaxisTitle=="")?false:true;G=(G==null||G==0)?null:G;j=(j==null||j==0)?null:j;if(yaxisTitle=="%"||yaxisTitle=="(%)"){if(j>90){G=(G==null||G==0)?100:G;
}}spacing=[0,0,0,0];if(G==null||G==0){G=j;}ymin=(ymin==null)?0:ymin;if(ymin==j){j=ymin+1;}var h=null;if(I!=null&&I=="True"){ymin=null;h=0;}if(chartType=="timeline"){chartType="line";}fontFamily="Arial";LegendFont="Arial";var W="rgba(255, 255, 255, 0.85)";var F=0;var x=1;var k=0;var v=0;if(!(B["DataSet"]==""||B["DataSet"]=="null"||B["DataSet"]=="undefined"||B["DataSet"]==undefined)){if(B["DataSet"].length>10&&(LegendPosition==undefined||LegendPosition=="undefined")){LegendPosition="right";
}F=B["DataSet"].length;if(B["DataSet"].length==1){W=B["DataSet"][0]["color"];}v=B["DataSet"].length;}yaxisTitle=(yaxisTitle==null||yaxisTitle=="")?B["ylabel"]:yaxisTitle;g=(g==null||g=="")?1:g;if(yaxisTitle!=null&&yaxisTitle.length>0){if(yaxisTitle.length>32){var D=yaxisTitle.substring(32);if(D.length>3){yaxisTitle=yaxisTitle.substring(0,32)+"...";
}}}if(YtitleEnable==false){YtitleEnable=(yaxisTitle==null||yaxisTitle=="")?false:true;}xLabel=(xLabel==null||xLabel=="")?"":xLabel;xtitleEnable=(xLabel==null||xLabel=="")?false:true;fontFamily=(fontFamily==null||fontFamily=="")?"Arial":fontFamily;fontSize=(fontSize==null||fontSize=="")?"10px":fontFamily+"px";
startTime=(startTime==null||startTime=="")?null:startTime;LegendPosition=(LegendPosition==null||LegendPosition==""||LegendPosition=="top")?"center":LegendPosition;LegendFont=(LegendFont==null||LegendFont=="")?"Arial":LegendFont;E=(E==null||E=="")?"HH:mm":E;n=getTimeLineOutputFormat(E);legendWidth=(LegendPosition=="right")?400:400;
needLegendFormat=(LegendPosition=="right")?"true":"false";maxLegendHeight=(LegendPosition=="right")?null:37;maxLegendHeight=45;if(((v*8)/37)>1){maxLegendHeight=37;}if(v<2){legendWidth=190;}valign=(LegendPosition=="right")?"middle":"top";LegendPosition="center";if(legendWidth>190&&valign=="top"){LegendPosition="right";
}var aa=B["chartFor"];var i=B["yAxisLabelYval"];var b="datetime";var Q=null;var M=false;var l=null;over_line_width=g-2;if(over_line_width==0){over_line_width=g;}var V="";if(E=="HH:mm"){V=33;}else{V=20;if(i!=null&&i=="21"){V=21;}}if(xtitleEnable){if(E=="HH:mm"){V=10;if(i!=null){V=30;}}else{if(E.indexOf("HH:mm:ss")>-1){V=60;
if(i!=null){V=21;}}else{if(O!=null&&O!=""&&O!=undefined&&O!="undefined"){V=20;}else{V=48;}if(i!=null&&i=="21"){V=21;}}}}if(xtitleEnable&&YtitleEnable){spacing=[0,0,10,10];}if(xtitleEnable){spacing=[0,0,0,10];}if(YtitleEnable){spacing=[0,0,10,0];}var u=false;var L=B["showLegends"];if(L!=null&&L=="true"){u=true;
}if(chartType!=null&&chartType=="stack"){chartType="area",Q="normal";}if(chartType!=null&&chartType=="scatter"){b=null;g=null;M=true;l={pointFormat:yaxisTitle+":  {point.x}<br>"+xLabel+":  {point.y}"};}var t=-25;var m=0;if(H=="TCR"){spacing=[35,5,0,20];t=-35;}var Z=20;if(K&&y){w=-50;t=-50;Z=40;}else{if((!K)&&y){ad="";
t=-35;Z=64;m=80;}}var T=0;if(a>1000){if(B["DataSet"]!="undefined"&&B["DataSet"]!=undefined&&B["DataSet"]!=null&&B["DataSet"]!=""){if(B["DataSet"].length==1){T=80;}else{if(B["DataSet"].length==2){T=280;}else{if(B["DataSet"].length>=3&&B["DataSet"].length<=4){T=300;}else{if(B["DataSet"].length>=5&&B["DataSet"].length<=8){T=110;
}else{if(B["DataSet"].length>8){T=-10;}}}}}}}else{if(a<1000){if(B["DataSet"]!="undefined"&&B["DataSet"]!=undefined&&B["DataSet"]!=null&&B["DataSet"]!=""){if(B["DataSet"].length==1){T=100;}else{if(B["DataSet"].length==2){T=110;}else{if(B["DataSet"].length>=3&&B["DataSet"].length<=8){T=30;}else{if(B["DataSet"].length>8){T=10;
}}}}}}}var A=B["spacingTop"];var ae=B["spacingLeft"];var q=B["marginTop"];if(A==null||A==undefined||A==""){A=20;}if(ae==null||ae==undefined||ae==""){ae=5;}if(q==null||q==undefined||q==""){q=20;}var C=false;var Y="top";var U=28;var f=null;var R=null;var s=B["cumationExcelGraph"];var S=B["forCumulationPrint"];
if(s!=null&&s=="true"){C=true;}if(S!=null&&S=="yes"){f=290;maxLegendHeight=null;Y="bottom";U=56;R=150;legendWidth=870;var p=B["DataSet"].length;if(p<=20){var R=(((p/3)*15)+R);e+=R;}t=0;}if(C){f=300;maxLegendHeight=null;R=180;var P=B["chartBottomVal"];if(P!="undefined"&&P!=undefined&&P!=null&&P!=""){R=P;
}legendWidth=900;Y="bottom";U=56;t=0;}o.chartOptions={chart:{plotBorderWidth:0,type:chartType,plotBackgroundColor:"white",plotBorderColor:"#e5e5e5",backgroundColor:"#ffffff",plotShadow:false,marginBottom:R,spacingBottom:1,shadow:false,padding:0,spacing:[Z,10,5,5],events:{load:function(af){$(".highcharts-legend-item rect").attr("height","6").attr("y","7");
$(".highcharts-legend-item rect").attr("width","6").attr("x","10");}}},yAxis:{min:ymin,minPadding:h,max:G,gridLineWidth:k,lineWidth:1,border:0,startOnTick:false,tickPixelInterval:50,gridLineColor:"#dedede",lineColor:"#dedede",minorGridLineColor:"#dedede",tickColor:"#dedede",labels:{align:"right",x:-10,y:3,formatter:function(){var af=Highcharts.numberFormat(this.value,4,".","");
af=(parseFloat(af));return af;},style:{fontWeight:"normal",fontFamily:"Arial",fontSize:"12px",textDecoration:"none",whiteSpace:"normal"},},title:{text:yaxisTitle,enabled:YtitleEnable,style:{color:"#606060",fontWeight:"500",fontFamily:"Arial",fontSize:"11px"},},showLastLabel:true,},xAxis:{border:1,lineWidth:1,minPadding:0.02,maxPadding:0.02,ordinal:false,showLastLabel:true,endOnTick:true,showFirstLabel:true,startOnTick:false,type:b,gridLineWidth:x,gridLineColor:"#dedede",lineColor:"#dedede",minorGridLineColor:"#dedede",tickColor:"#dedede",tickWidth:0,labels:{rotation:270,y:V,formatter:function(){if(b==null){var af=Highcharts.numberFormat(this.value,4,".","");
af=(parseFloat(af));return af;}else{return Highcharts.dateFormat(n,this.value);}},style:{fontWeight:"normal",fontFamily:"Arial",fontSize:"12px",},overflow:"justify",useHTML:false,},title:{text:xLabel,enabled:xtitleEnable,style:{color:"#606060",fontWeight:"500",fontFamily:"Arial",fontSize:"11px"},},dateTimeLabelFormats:{minute:n,hour:n,day:n,month:n,year:n}},plotOptions:{series:{connectNulls:ab,shadow:false,lineWidth:g,smoothed:true,marker:{enabled:M,},stacking:Q,states:{hover:{enabled:true,lineWidth:g}},},line:{shadow:false,linewidth:10}},legend:{enabled:y,verticalAlign:Y,width:legendWidth+20,align:LegendPosition,y:t,x:T,layout:"horizontal",borderWidth:0,maxHeight:maxLegendHeight,itemStyle:{textAlign:"center",color:"#2a292a",fontWeight:"Normal",fontFamily:"Arial",fontSize:"10px",},labelFormatter:function(){var af=this.name;
if(af.length>U&&needLegendFormat=="true"){c=0;strval="";while(c<af.length){strval+=af.substring(c,c+U)+"<br>";c=c+U;}af=strval;}return af;},},rangeSelector:{enabled:false},global:{useUTC:true,timezoneOffset:N},navigator:{enabled:false},scrollbar:{enabled:false},labels:{style:{color:"#2a292a",fontWeight:"normal",fontFamily:"Arial",fontSize:"10px",}},exporting:{enabled:false},credits:{enabled:false},title:{align:"left",text:ad,margin:0,y:w,x:-5,style:{color:"#2a292a",fontWeight:"500",fontFamily:"Roboto",fontSize:"14px",}},subtitle:{style:{color:"#333333",fontWeight:"500",fontFamily:"Roboto",fontSize:"11px",}},tooltip:{xDateFormat:"%d-%b-%y %H:%M:%S",valueDecimals:4,borderWidth:1,shared:true,formatter:function(){var af=this.points||splat(this),ag=af[0].series,ah;
af.sort(function(aj,ai){return((aj.y>ai.y)?-1:((aj.y<ai.y)?1:0));});var ah="";ah="<span>"+Highcharts.dateFormat("%d-%b-%y %H:%M:%S",this.x,true)+"</span><br/>";jQuery.each(this.points,function(aj,ai){var al=Highcharts.numberFormat(ai.y,4,".","");var ak=al.split(".");if(ak.length>1){if(ak[1]=="0000"){al=ak[0];
}}if(ai.series.name!=""&&ai.series.name!=undefined){ah+='<b><span style="color:'+this.series.color+'">'+ai.series.name+"  :  "+al+"</span></b><br/>";}else{ah+='<br/> <b><span style="color:white">'+al+"</span></b><br/>";}});return ah;}},series:B["DataSet"]};o.chartOptions.chart.forExport=true;o.chartOptions.chart.renderTo=ac;
Highcharts.setOptions({lang:{thousandsSep:""}});Highcharts.setOptions({global:{useUTC:true,timezoneOffset:timeZoneOffsetVal}});Highcharts.seriesTypes.line.prototype.drawLegendSymbol=Highcharts.seriesTypes.area.prototype.drawLegendSymbol;o.chartOptions=jQuery.extend(true,o.chartOptions,getUserThemeFor(strSkin,"","",false));
var X;X=new Highcharts.Chart(o.chartOptions,function(af){jQuery(".showLegend").click(function(){if(!Ext.isEmpty(Ext.getCmp("er_chart_checkbox"))&&Ext.getCmp("er_chart_checkbox")!=null&&Ext.getCmp("er_chart_checkbox")!=undefined){af=$("#"+ac).highcharts();try{var ag=Ext.getCmp("er_chart_checkbox").getChecked();
}catch(ah){var ag=Ext.getCmp("er_chart_checkbox").checked;}if(ag!=undefined&&ag!=null&&ag){af.legendShow();}else{af.legendHide();}}else{af.legendToggle();}});});return X;}function getHighChartForBar(J,aq,aH,t,Q){var ab="";var W="";var r="bar";var an="normal";var ap=0;var L=true;var v=aq["enable_Format"];
var w=aq["enable_values"];var P=aq["formatForPieChart"];var S=aq["formatForLegendOnlyPercentage"];var R="";var C=aq["enableNameandValueinTooltip"];if(v!=null&&v!="undefined"){v="";R="{point.name}";}else{R="{point.name}:{point.percentage:.1f} %";}if(w!=null&&w!="undefined"){v="";R="{point.y}";}else{R="{point.y}:{point.percentage:.1f} %";
}if(P!=""&&P!="null"&&P!="undefined"&&P!=undefined){R="{point.name}"+P+"{point.percentage:.1f} %";}if(S==true||S=="true"){R="{point.percentage:.1f} %";}if(C!=null&&C!="undefined"){R="{point.name} {point.y} %";}var f=aq["inside"];fontFamily=aq["fontName"];fontSize=aq["fontsize"];yaxisTitle=aq["yAxisLabel"];
LegendPosition=aq["LegendPosition"];showLegend=aq["showlegendFont"];xLabel=aq["xAxisLabel"];var p=aq["xAxisLabelText"];var ao=aq["isExecutiveReport"];LegendFont=aq["LegendFont"];r=aq["chartType"];if(r=="linePlain"){r="line";}yaxisTitle=(yaxisTitle==null||yaxisTitle=="")?"":yaxisTitle;YtitleEnable=(yaxisTitle==null||yaxisTitle=="")?false:true;
fontFamily="Arial";LegendFont="Arial";yaxisTitle=(yaxisTitle==null||yaxisTitle=="")?aq["yAxisLabel"]:yaxisTitle;xLabel=(xLabel==null||xLabel=="")?"":xLabel;p=(p==null||p=="")?"":p;titleEnable=(p==null||p=="")?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";maxLegendHeight=(LegendPosition=="right")?null:50;
valign=LegendPosition;var b=aq["legend"];if(b==""||b=="null"||b=="undefined"||b==undefined){b=false;}else{if(b=="true"){b=true;}else{if(b=="false"){b=false;}}}if(f==""||f=="null"||f=="undefined"||f==undefined){f=false;}else{if(f=="true"){f=true;}}var ay=false;var F="";ay=aq["enableTitle"];F=(ay)?aq["title"]:"";
F=(F==null||F=="")?"":F;var aG=0;if(F==""){aG=50;}var T=-0.065;var az=0.1;var q=aq["DataSet"];var al=0;var au="#FFFFFF";var n=aq["chartSubType"];var aj=aq["drildown"];var m=null;var O=null;var y=aq["uptime"];var X=aq["isReporterHome"];var V=[10,10,10,10];var af=0;var ae=0;var aa=10;var g=-10;var H=null;
var h=0;var d=0;var j=2;var aD=aq["isHypervisorChart"];var N=false;var i="top";if(aq["LegendPosition"]!=null&&aq["LegendPosition"]!=""){i=aq["LegendPosition"];}if(y!=null&&y=="uptimechart"){if(aq["LegendPosition"]!=null&&aq["LegendPosition"]!=""){i=aq["LegendPosition"];}}H=aq["ymax"];if(H==""||H=="null"||H=="undefined"||H==undefined){H=null;
}h=aq["minRange"];if(h==""||h=="null"||h=="undefined"||h==undefined){h=0;}d=aq["minRangexaxis"];if(d==""||d=="null"||d=="undefined"||d==undefined){d=0;}if(yaxisTitle=="%"||yaxisTitle=="(%)"){H="100";}if(!b){if(n!=null&&n=="stacked"){if(r!=null&&r=="column"){if(F==null||F==""){V=[40,10,10,10];}}if(ao!=null&&ao){V=[20,10,10,10];
}}}if(aj!=null&&(aj=="sametab"||aj=="newtab")){O="pointer";}if(q!=null&&q.length>=1){var ar=q[0].data;if(ar.length==1){T=0.2;az=0.4;}else{if(ar.length>1&&ar.length<=4){T=0.2;az=0.3;}}if(r!=null&&r=="column"){m=27;if(ar.length>50){m=3;}else{if(ar.length>45){m=5;}else{if(ar.length>40){m=8;}else{if(ar.length>32){m=10;
}else{if(ar.length>21){m=12;}else{if(ar.length>15){m=17;}else{if(ar.length>8){m=20;}else{if(ar.length<=8){T=0.2;az=0.2;}}}}}}}}if(aD==true){m=12;if(yaxisTitle.indexOf("MB")>-1){m=null;}var am=aq["isMonthlyChart"];if(am==true){m=null;}}}}if(aD==true){g=2;}var ad=aq["isDataLabelEnabled"];var I=aq["isCombinationLineChart"];
var l=true;var aA=aq["endOnTick"];var o=aq["percentEnableTick"];if(ad==false){ad=false;}else{if(ad==""||ad=="null"||ad=="undefined"||ad==undefined){ad=true;}}if(r!=null&&r=="pie"){strpointFormat="";au="#2a292a";}else{strpointFormat="<b>:{point.y}</b>";}if(r!=null&&(r=="column"||r=="line"||r=="combinedChart"||r=="area"||r=="scatter")){al=-90;
j=20;g=2;if(n!=null&&n=="stacked"){ae=1;aa=5;strpointFormat="{series.name}: <b>{point.y}</b><br/>";}else{strpointFormat="<b>:{point.y}</b>";}}if(r!=null&&r=="bar"){af=1;if(n!=null&&n=="stacked"){au="#FFFFFF";L=false;if(y!=null&&y=="uptimechart"){m=21;b=true;}else{m=20;}}else{ap=10;m=12;}}if(r!=null&&r=="line"){an=null;
strpointFormat="{series.name}: <b>{point.y}</b><br/>";}var e="Normal";var M="11px";var Z="Arial";if(r!=null&&r=="pie"){M="11px";Z="Arial";e="500";}if(I==true){an=null;l=false;}if(yaxisTitle!=null&&(yaxisTitle.indexOf("%")>-1||yaxisTitle.indexOf("(%)")>-1)){if(H==null){L=true;}}if(aA==false){L=false;}var aF="#2a292a";
var a="#C0C0C0";var ac=aH;var s=t;var ax=20;var K=aq["isTopNReport"];if(r!=null&&r=="bar"){if(n==null||n!="stacked"){L=true;}}if(r!=null&&(r=="line")){L=false;}if(o==true){L=false;}var ai=aq["xval"];if(ai!=""&&ai!="null"&&ai!="undefined"&&ai!=undefined){g=ai;}var ak=aq["yVal"];if(ak!=""&&ak!="null"&&ak!="undefined"&&ak!=undefined){j=ak;
}var G=aq["disablemarginTop"];if(G!=""&&G!="null"&&G!="undefined"&&G!=undefined&&G=="true"){ax=null;}var ai=aq["xval"];if(ai!=""&&ai!="null"&&ai!="undefined"&&ai!=undefined){g=ai;}var aw="80%";var ag=aq["pieSize"];if(ag!=""&&ag!="null"&&ag!="undefined"&&ag!=undefined){aw=ag;}var D=aq["centerlegendPostion"];
var ah=aq["boldYaxisLabel"];if(ah!=""&&ah!="null"&&ah!="undefined"&&ah!=undefined&&ah=="true"){yaxisTitle="<b>"+yaxisTitle+"</b>";}var B=true;var aE=aq["enableToolTip"];if(aE!=""&&aE!="null"&&aE!="undefined"&&aE!=undefined&&aE=="false"){B=false;}var aC=4;var k=aq["pointRadius"];if(k!=""&&k!="null"&&k!="undefined"&&k!=undefined&&k=="false"){aC=k;
}var x=false;var A=aq["enableTooltpPercent"];if(A!=""&&A!="null"&&A!="undefined"&&A!=undefined&&A=="true"){x=true;}if(y!=null&&y=="uptimechart"){b=true;}var z=-10;if(r!=null&&r=="pie"&&LegendPosition!=null&&LegendPosition=="bottom"){z=10;}var E="";var U=null;var aB=10;var u=false;if(r!=null&&r=="donut"){r="pie";
u=true;aw=aq["pieSize"];E=aq["innerSize"];if(aw==""||aw=="null"||aw=="undefined"||aw==undefined){aw="150%";}if(E==""||E=="null"||E=="undefined"||E==undefined){E="100%";}b=aq["showlegend"];if(b==""||b=="null"||b=="undefined"||b==undefined){b=false;}ax=aq["marginTop"];if(ax==""||ax=="null"||ax=="undefined"||ax==undefined){ax="10";
}ad=false;s=aq["chartHeight"];if(s==""||s=="null"||s=="undefined"||s==undefined){s=t;}ac=aq["chartWidth"];if(ac==""||ac=="null"||ac=="undefined"||ac==undefined){ac=aH;}U="middle";aB=0;}var Y={text:F,align:"center",verticalAlign:U,y:aB,style:{color:"#2a292a",fontWeight:"500",fontFamily:"Roboto",fontSize:"16px",}};
if(u){Y={text:"",align:"center",verticalAlign:U,y:aB,useHTML:true,floating:true,offset:"",margin:0,style:{color:"#2a292a",fontWeight:"500",fontFamily:"Roboto",fontSize:"16px",}};}au=((strSkin=="Dark"||strSkin=="dark"))?"#c0c0c0":"#2a292a";var av={chart:{placeValuesInside:0,align:"center",plotBorderWidth:0,height:t,width:ac,plotBackgroundColor:"transparent",backgroundColor:"transparent",plotShadow:false,shadow:false,padding:0,spacing:[0,0,30,0],spacingTop:aG,ignoreHiddenSeries:false,type:r,events:{load:function(aI){$(".highcharts-legend-item rect").attr("height","6").attr("y","7");
$(".highcharts-legend-item rect").attr("width","6").attr("x","10");}}},tooltip:{enabled:true,formatter:function(){var aI="";var aK=Highcharts.numberFormat(this.y,4,".","");var aJ=aK.split(".");if(aJ.length>1){if(aJ[1]=="0000"){aK=aJ[0];}}if(false){aI+='<span style="color:'+this.point.color+'">'+this.point.name+"</b></span>";
}else{if(this.hasOwnProperty("points")&&!ismytooltip){$.each(this.points,function(aP,aL){if(r=="column"){if(isMyDashboard){var aM=this.point.color;var aO=aL.series.color;var aN=this.point.name;var aR=aL.series.name;if(aM==""||aM=="null"||aM=="undefined"||aM==undefined){aM=aO;}if(aN==""||aN=="null"||aN=="undefined"||aN==undefined){aN=aR;
}aI+='<span style="color: '+aM+'">'+aN+":"+aL.y+"</span><br>";}else{aI+='<span style="color: '+aL.series.color+'">'+aL.series.name+": "+""+aL.y+"</span><br>";}}else{var aM=this.point.color;var aO=aL.series.color;var aN=this.point.name;var aR=aL.series.name;var aQ=this.point.compname;if(aQ!=null&&aQ!=undefined&&aQ!=""&&aN!=null&&aN!=undefined&&aN!=""){aN=aN+" ("+aQ+")";
}if(aM==""||aM=="null"||aM=="undefined"||aM==undefined){aM=aO;}if(aN==""||aN=="null"||aN=="undefined"||aN==undefined){aN=aR;if(aQ!=null&&aQ!=undefined&&aQ!=""){aN=aR+" ("+aQ+")";}}aI+="<span >"+aN+":"+aL.y+"</span><br>";}});}else{if(Ext.isEmpty(this.point)){if(this.x==""||this.x=="null"||this.x=="undefined"||this.x==undefined){aI+='<b><span style="color:'+tipColor+'">'+aK+"</span></b>";
}else{aI+='<b><span style="color:'+tipColor+'">'+this.x+"  :  "+aK+"</span></b>";}}else{aI+=(Ext.isEmpty(this.point.legendLabel))?'<span style="color:'+this.point.color+'">'+this.point.name+"</span> ":'<span style="color:'+this.point.color+'">'+this.point.legendLabel+"</span> ";}}}return aI;}},title:Y,yAxis:{min:h,max:H,border:0,tickWidth:0,tickmarkPlacement:"on",tickLength:5,lineWidth:af,reversedStacks:false,gridLineColor:"#e5e5e5",lineColor:"#e5e5e5",endOnTick:L,showFirstLabel:true,startOnTick:true,showLastLabel:L,labels:{style:{fontWeight:"Normal",fontFamily:"Arial",fontSize:"10px",},formatter:function(){var aI=Highcharts.numberFormat(this.value,4,".","");
aI=(parseFloat(aI));return aI;}},title:{text:yaxisTitle,enabled:YtitleEnable,style:{color:"#636363",fontWeight:"500",fontFamily:"Arial",fontSize:"11px",},},tickPositioner:function(aN,aI){var aK=aN,aO=[];this.tickAmount=1;var aJ=false;var aL=this.tickInterval;var aM=0;if(aN==aI){if(aI>1){aI=aI+1;}else{if(aI==0){aI=aI+1;
aM=0;aJ=true;}else{aI=aI+0.1;}}}var aP=1;while(aK<=aI){if(aP==2&&aJ){aO.push(aM);}else{aO.push(aK);}aK+=aL;aP++;}if(!aJ){aO.push(aK);}return aO;},},xAxis:{min:d,tickmarkPlacement:"on",tickWidth:ae,tickLength:aa,categories:xLabel,gridLineWidth:0,gridLineColor:"#e5e5e5",lineColor:"#e5e5e5",lineWidth:1,tickPixelInterval:50,border:1,minPadding:0.02,maxPadding:0.02,ordinal:false,endOnTick:true,showFirstLabel:true,startOnTick:true,labels:{rotation:al,x:g,y:j,overflow:"justify",useHTML:false,style:{fontWeight:"Normal",fontFamily:"Arial",fontSize:"10px",whiteSpace:"nowrap"},formatter:function(){var aJ=this.value;
var aI=aJ.toString();if(aJ!=null&&aJ.length>15){var aI=aJ.substring(15);if(aI.length>3){aJ=aJ.substring(0,15)+"...";}}return aJ;}},title:{enabled:titleEnable,text:p,style:{color:"#636363",fontWeight:"500",fontFamily:"Arial",fontSize:"11px",},},},plotOptions:{pie:{shadow:false,borderWidth:0,size:aw,allowPointSelect:true,cursor:O,showInLegend:b,innerSize:E,dataLabels:{format:R,crop:false,overflow:"none",connectorColor:a,softConnector:false,distance:15},},bar:{shadow:false,cursor:O,borderWidth:0,depth:0,pointWidth:m,dataLabels:{enabled:true,crop:false,overflow:"none",style:{textOutline:false,textShadow:false}},},column:{shadow:false,cursor:O,borderWidth:0,depth:0,pointWidth:m,},line:{shadow:false,cursor:O,marker:{enabled:l,fillColor:"#FFFFFF",lineWidth:0.5,lineColor:null,symbol:"circle"},},series:{shadow:false,stacking:an,borderWidth:0,depth:0,groupPadding:T,pointPadding:az,dataLabels:{enabled:ad,crop:false,inside:f,rotation:al,overflow:"justify",x:3,y:-3,color:au,style:{fontWeight:"Regular",fontFamily:Z,fontSize:M,textOutline:false,textShadow:false}},states:{hover:{enabled:false}},minPointLength:ap,marker:{enabled:true,symbol:"circle",radius:aC}},},legend:{verticalAlign:i,y:z,itemDistance:5,symbolWidth:14,symbolHeight:6,squareSymbol:false,symbolRadius:6,enabled:b,align:"center",maxHeight:maxLegendHeight,itemMarginBottom:4,itemStyle:{textAlign:"top",fontFamily:"Arial",},labelFormatter:function(){var aI=this.name;
if(aI.length>28&&needLegendFormat=="true"){c=0;strval="";while(c<aI.length){strval+=aI.substring(c,c+28)+"<br>";c=c+28;}aI=strval;}return aI;},},rangeSelector:{enabled:false},global:{useUTC:true,timezoneOffset:W},navigator:{enabled:false},scrollbar:{enabled:false},labels:{style:{color:"#2a292a",fontWeight:"normal",fontFamily:"Arial",fontSize:"10px",}},exporting:{enabled:false},credits:{enabled:false},subtitle:{style:{color:"#333333",fontWeight:"500",fontFamily:"Arial",fontSize:"11px",}},series:aq["DataSet"]};
av.chart.renderTo=J;av=jQuery.extend(true,av,getUserThemeFor(strSkin,"","",true));Highcharts.seriesTypes.line.prototype.drawLegendSymbol=Highcharts.seriesTypes.area.prototype.drawLegendSymbol;var at=new Highcharts.Chart(av);return at;}function getTimeLineOutputFormat(e){var i="";if(e!="null"&&e!=""){e=e.toLowerCase();
var h=" ";var a=new Array();if(e.indexOf("-")>-1){h="-";}else{if(e.indexOf("/")>-1){h="/";}else{if(e.indexOf(".")>-1){h=".";}}}var f=e.split(h);if(f!=null&&f.length>0){for(var d=0;d<f.length;d++){var g=f[d];var b=g;if(g.lastIndexOf(" ")>-1){g=g.substring(0,g.lastIndexOf(" "));}if(g!=null&&g.indexOf("d")>-1){if(g!=null&&g=="d"){b="%e";
}else{if(g!=null&&g=="dd"){b="%d";}else{if(g!=null&&g=="dd,"){b="%d,";}}}}else{if(g!=null&&g.indexOf("m")>-1){if(g!=null&&g=="m"){b="%m";}else{if(g!=null&&g=="mm"){b="%m";}else{if(g!=null&&g=="mmm"){b="%b";}}}}else{if(g!=null&&g.indexOf("y")>-1){if(g!=null&&g=="yy"){b="%y";}else{if(g!=null&&g=="yyyy"){b="%Y";
}}}}}if(!(g=="hh:mm"||g=="hh:mm:ss")){a[d]=b;}}}if(a!=null&&a.length>1){for(var d=0;d<a.length;d++){i+=a[d]+h;}if(i!=null&&endsWith(i,h)){i=i.substring(0,i.lastIndexOf(h));}i=i+", %H:%M";}else{i="%H:%M";}}return i;}function endsWith(b,a){return b.indexOf(a,b.length-a.length)!==-1;}(function(a){a.Chart.prototype.reflow=function(){var b=this,d=b.renderTo;
Ext.EventManager.onWindowResize(function(){var h=jQuery(d).width();var f=jQuery(d).height();var g=jQuery(d).outerWidth();var e=jQuery(d).outerHeight();if(g>80){if(g>100){g=(g==h||((g-5)<=h))?(g-50):(g-30);}else{if(b!=null&&(b!="null"&&b!="undefined")){if(b!=null&&b.hasOwnProperty("options")){if(b.options.hasOwnProperty("chart")){g=(Ext.isEmpty(b.options.chart))?200:b.options.chart.width;
e=(Ext.isEmpty(b.options.chart))?180:b.options.chart.height;}}}}if(b!=null&&(b!="null"&&b!="undefined")){if(b!=null&&b.hasOwnProperty("container")){if(b.container){if(!Ext.isEmpty(g)&&!Ext.isEmpty(e)){b.setSize(g,e,false);}}b.containerWidth=g;b.containerHeight=e;}}}else{if(b!=null&&(b!="null"&&b!="undefined")){e=b.chartHeight;
g=b.chartWidth;if(b.container){b.setSize(g,e,false);}b.containerWidth=g;b.containerHeight=e;}}});};}(Highcharts));(function(e,f){if(!e){return;}var h=e.Chart.prototype,g=e.Legend.prototype;e.extend(h,{legendSetVisibility:function(p){var o=this;var d=o.legend,s,q,n;var a=o.options.legend,r,b;if(a.enabled==p){return;
}a.enabled=p;if(!p){g.destroy.call(d);s=d.allItems;if(s){for(q=0,n=s.length;q<n;++q){s[q].legendItem=f;}}d.group={};}h.render.call(o);if(!a.floating){r=o.scroller;if(r&&r.render){b=o.xAxis[0].getExtremes();r.render(b.min,b.max);}}jQuery(".highcharts-legend-item rect").attr("height","6").attr("y","7");
jQuery(".highcharts-legend-item rect").attr("width","6").attr("x","10");},legendHide:function(a){this.legendSetVisibility(false);},legendShow:function(a){this.legendSetVisibility(true);},legendToggle:function(a){jQuery(".highcharts-legend-item rect").attr("height","6").attr("y","7");jQuery(".highcharts-legend-item rect").attr("width","6").attr("x","10");
if(Ext.isEmpty(this.options)){jQuery(".highcharts-legend").show();}else{this.legendSetVisibility(this.options.legend.enabled^true);}}});}(Highcharts));