sonarr-repo-only/packages/TelerikMvcExtensions.2011.2.../content/Scripts/2011.2.712/telerik.chart.min.js

1 line
52 KiB
JavaScript

(function(){var aE=jQuery,U=document,v=aE.telerik,a7=v.Class,I=v.Component,aF=v.DataSource,ae=v.template,O=function(){return v.formatString.apply(v,arguments)},aJ=aE.proxy;var at="above",S=1,a4="bar",ag=0.7,ax=1.5,h=0.4,a0="below",aN="#000",a="bottom",aZ="center",aj="change",aV="circle",R="column",a1=3,aa="dataBound",K=400,aP=6,ac=600,s="glass",a9="height",r="horizontal",aq="left",u="line",aL=6,d="square",x="none",ao="object",au="outside",l="right",ar="12px Verdana, sans-serif",bc="16px Verdana, sans-serif",aC="square",ad="http://www.w3.org/2000/svg",ap="top",F="triangle",V="undefined",aB="vertical",q="width",Z="#fff",ah="x",ai="y",aH=0.2;var a6=I.extend({init:function(be,bf){var Y=this,X=bf?bf.theme:"";I.fn.init.call(Y,be);Y.options=a2(Y.options,X?a6.Themes[X]||a6.Themes[X.toLowerCase()]:{},bf);Y.bind([aa],Y.options);if(Y.options.dataSource){Y._initDataSource()}Y.refresh()},options:{chartArea:{},title:{visible:true},legend:{visible:true},valueAxis:{type:"Numeric"},categoryAxis:{categories:[]},seriesColors:["#d7df23","#adc32b","#799b28","#4c7520"],seriesDefaults:{type:R,data:[],bar:{gap:ax,spacing:h},column:{gap:ax,spacing:h}},series:[]},types:{},refresh:function(){var X=this;X._applyDefaults();if(X.options.dataSource){X.dataSource.read()}else{X._redraw()}},_redraw:function(){var Y=this,be=Y.options,bf=new a8(be.chartArea);if(be.title&&be.title.visible&&be.title.text){bf.children.push(new an(be.title))}if(be.legend.visible){var X=a2({},be.legend,{series:be.series});bf.children.push(new c(X))}bf.children.push(new m(Y.options));Y._model=bf;bf.reflow();bf.getView().renderTo(Y.element[0])},_applyDefaults:function(){var bi=this,Y=bi.element,be=bi.options,bg=be.series,bj,bm=be.seriesColors,bf=be.chartArea,X=be.seriesDefaults,bk=a2({},be.seriesDefaults);delete bk.bar;delete bk.column;delete bk.line;for(var bh=0,bl=bg.length;bh<bl;bh++){bj=bg[bh].type||be.seriesDefaults.type;bg[bh]=a2({color:bm[bh%bm.length]},bk,be.seriesDefaults[bj],bg[bh])}be.categoryAxis=a2({},be.axisDefaults,be.categoryAxis);if(!bf.width){bf.width=Y.width()||ac}if(!bf.height){bf.height=Y.height()||K}},_initDataSource:function(){var X=this;X.dataSource=aF.create(X.options.dataSource).bind(aj,aJ(X._onDataChanged,X))},_onDataChanged:function(){var be=this,bk=be.options,bh=bk.series,bi=bk.categoryAxis,bj=be.dataSource.view();for(var bo=0,bl=bj.length;bo<bl;bo++){var Y=bj[bo];if(bi.field){var bg=Y[bi.field];if(bo===0){bi.categories=[bg]}else{bi.categories.push(bg)}}for(var bn=0,bf=bh.length;bn<bf;bn++){var bm=bh[bn],X=Y[bm.field];if(bm.field){if(bo===0){bm.data=[X]}else{bm.data.push(X)}}}}be.trigger(aa);be._redraw()}});a6.Themes={};var aW=a7.extend({init:function(be,bf,bg,X){var Y=this;Y.x1=be||0;Y.x2=bg||0;Y.y1=bf||0;Y.y2=X||0},width:function(){return this.x2-this.x1},height:function(){return this.y2-this.y1},translate:function(Y,X){var be=this;be.x1+=Y;be.x2+=Y;be.y1+=X;be.y2+=X;return be},move:function(bf,bg){var X=this,Y=X.height(),be=X.width();X.x1=bf;X.y1=bg;X.x2=X.x1+be;X.y2=X.y1+Y;return X},wrap:function(Y){var X=this;X.x1=Math.min(X.x1,Y.x1);X.y1=Math.min(X.y1,Y.y1);X.x2=Math.max(X.x2,Y.x2);X.y2=Math.max(X.y2,Y.y2);return this},snapTo:function(X,Y){var be=this;if(Y==ah||!Y){be.x1=X.x1;be.x2=X.x2}if(Y==ai||!Y){be.y1=X.y1;be.y2=X.y2}return this},alignTo:function(bf,bh){var X=this,Y=X.height(),be=X.width(),bi=bh==ap||bh==a?ai:ah,bg=bi==ai?Y:be;if(bh==ap||bh==aq){X[bi+1]=bf[bi+1]-bg}else{X[bi+1]=bf[bi+2]}X.x2=X.x1+be;X.y2=X.y1+Y;return X},shrink:function(X,Y){var be=this;be.x2-=X;be.y2-=Y;return be},expand:function(X,Y){this.shrink(-X,-Y);return this},pad:function(X){var be=this,Y=z(X);be.x1-=Y.left;be.x2+=Y.right;be.y1-=Y.top;be.y2+=Y.bottom;return be},unpad:function(X){var be=this,Y=z(X);Y.left=-Y.left;Y.top=-Y.top;Y.right=-Y.right;Y.bottom=-Y.bottom;return be.pad(Y)},clone:function(){var X=this;return new aW(X.x1,X.y1,X.x2,X.y2)},center:function(){var X=this;return[X.x1+X.width()/2,X.y1+X.height()/2]}});var o=new aW(0,0,0,0);var J=a7.extend({init:function(Y){var X=this;X.attributes={};X.children=[];X.options=a2({},X.options,Y)},reflow:function(bh){var Y=this,bg=Y.children,X;for(var be=0;be<bg.length;be++){var bf=bg[be];bf.reflow(bh);X=X?X.wrap(bf.box):bf.box.clone()}Y.box=X},getViewElements:function(bh){var be=this,X=[],Y=be.children,bg=Y.length;for(var bf=0;bf<bg;bf++){X.push.apply(X,Y[bf].getViewElements(bh))}return X},translateChildren:function(bf,bg){var X=this,bh=X.children,be=bh.length,Y;for(Y=0;Y<be;Y++){bh[Y].box.translate(bf,bg)}}});var a8=J.extend({init:function(X){var Y=this;J.fn.init.call(Y,X)},options:{width:ac,height:K,background:Z,border:{color:aN,width:0},margin:5,zIndex:-1},reflow:function(){var be=this,Y=new aW(0,0,be.options.width,be.options.height);be.box=Y.unpad(be.options.margin);for(var X=0;X<be.children.length;X++){be.children[X].reflow(Y);Y=T(Y,be.children[X].box)}},getView:function(){var be=this,Y=be.options,X=be.supportsSVG()?new H(Y):new A(Y);[].push.apply(X.children,be.getViewElements(X));return X},getViewElements:function(X){var bg=this,Y=bg.options,bf=Y.border||{},be=bg.box.clone().pad(Y.margin).unpad(bf.width),bh=[X.createRect(be,{stroke:bf.width?bf.color:"",strokeWidth:bf.width,fill:Y.background,zIndex:Y.zIndex})];return bh.concat(J.fn.getViewElements.call(bg,X))},supportsSVG:function(){return U.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")}});var af=J.extend({init:function(Y){var X=this;J.fn.init.call(X,Y)},options:{align:aq,vAlign:ap,margin:{},padding:{},border:{color:aN,width:0},background:"",width:0,height:0,visible:true},reflow:function(bk){var be=this,X,bl,Y=be.options,bh=be.children,bj=z(Y.margin),bg=z(Y.padding),bi=Y.border,bf=bi.width;J.fn.reflow.call(be,bk);if(bh.length===0){X=be.box=new aW(0,0,Y.width,Y.height)}else{X=be.box}bl=X.clone();X.pad(bg).pad(bf).pad(bj);be.align(bk,ah,Y.align);be.align(bk,ai,Y.vAlign);be.paddingBox=X.clone().unpad(bj).unpad(bf);be.translateChildren(X.x1-bl.x1+bj.left+bf+bg.left,X.y1-bl.y1+bj.top+bf+bg.left)},align:function(bg,bk,bj){var Y=this,be=Y.box,bh=bk+1,bi=bk+2,bf=bk===ah?q:a9,X=be[bf]();if(p(bj,[aq,ap])){be[bh]=bg[bh];be[bi]=be[bh]+X}else{if(p(bj,[l,a])){be[bi]=bg[bi];be[bh]=be[bi]-X}else{if(bj==aZ){be[bh]=bg[bh]+(bg[bf]()-X)/2;be[bi]=be[bh]+X}}}},getViewElements:function(Y){var bf=this,bg=bf.options;if(!bg.visible){return[]}var X=bg.border||{},be=[Y.createRect(bf.paddingBox,{stroke:X.width?X.color:"",strokeWidth:X.width,strokeOpacity:bg.opacity,fill:bg.background,fillOpacity:bg.opacity})];return be.concat(J.fn.getViewElements.call(bf,Y))}});var W=J.extend({init:function(X,Y){var be=this;J.fn.init.call(be,Y);be.content=X;be.reflow(o)},options:{font:"10pt Verdana, sans-serif",color:aN,align:aq,vAlign:""},reflow:function(X){var bg=this,bf=bg.options,Y=Q(bg.content,{font:bg.options.font});bg.baseline=Y.baseline;if(bf.align==aq){bg.box=new aW(X.x1,X.y1,X.x1+Y.width,X.y1+Y.height)}else{if(bf.align==l){bg.box=new aW(X.x2-Y.width,X.y1,X.x2,X.y1+Y.height)}else{if(bf.align==aZ){var be=(X.width()-Y.width)/2;bg.box=new aW(M(X.x1+be,a1),X.y1,M(X.x2-be,a1),X.y1+Y.height)}}}if(bf.vAlign==aZ){var be=(X.height()-Y.height)/2;bg.box=new aW(bg.box.x1,X.y1+be,bg.box.x2,X.y2-be)}else{if(bf.vAlign==a){bg.box=new aW(bg.box.x1,X.y2-Y.height,bg.box.x2,X.y2)}else{if(bf.vAlign==ap){bg.box=new aW(bg.box.x1,X.y1,bg.box.x2,X.y1+Y.height)}}}},getViewElements:function(X){var be=this,Y=be.options;return[X.createText(be.content,{x:be.box.x1,y:be.box.y1,baseline:be.baseline,font:Y.font,color:Y.color})]}});var ab=af.extend({init:function(X,Y){var be=this;af.fn.init.call(be,Y);be.children.push(new W(Y.format?O(Y.format,X):X,a2({},be.options,{align:aq,vAlign:ap})));be.reflow(o)}});var E=J.extend({init:function(X,be){var Y=this;J.fn.init.call(Y,be);Y.children.push(new ab(X,Y.options))},options:{font:bc,position:"outsideEnd",margin:2,padding:2,color:aN,background:"",border:{width:0,color:aN},aboveAxis:true,isVertical:false},reflow:function(bf){var bg=this,Y=bg.options,bh=Y.isVertical,be=Y.aboveAxis,bi=bg.children[0],X=bi.box;bi.options.align=bh?aZ:aq;bi.options.vAlign=bh?ap:aZ;if(Y.position=="insideEnd"){if(bh){bi.options.vAlign=ap;if(!be&&X.height()<bf.height()){bi.options.vAlign=a}}else{bi.options.align=be?l:aq}}else{if(Y.position==aZ){bi.options.vAlign=aZ;bi.options.align=aZ}else{if(Y.position=="insideBase"){if(bh){bi.options.vAlign=be?a:ap}else{bi.options.align=be?aq:l}}else{if(Y.position=="outsideEnd"){if(bh){if(be){bf=new aW(bf.x1,bf.y1-X.height(),bf.x2,bf.y1)}else{bf=new aW(bf.x1,bf.y2,bf.x2,bf.y2+X.height())}}else{bi.options.align=aZ;if(be){bf=new aW(bf.x2+X.width(),bf.y1,bf.x2,bf.y2)}else{bf=new aW(bf.x1-X.width(),bf.y1,bf.x1,bf.y2)}}}}}}bi.reflow(bf)}});var an=J.extend({init:function(X){var Y=this;J.fn.init.call(Y,X);Y.create()},options:{text:"",font:bc,color:aN,position:ap,align:aZ,margin:5,padding:5},create:function(){var be=this,Y=be.options,X=a2({},Y,{vAlign:Y.position});be.children.push(new ab(Y.text,X))},reflow:function(Y){var X=this;J.fn.reflow.call(X,Y);X.box.snapTo(Y,ah)}});var c=J.extend({init:function(X){var Y=this;J.fn.init.call(Y,X);Y.createLabels()},options:{position:l,series:[],labels:{font:ar},offsetX:0,offsetY:0,margin:10,padding:5,border:{color:aN,width:0},background:"",zIndex:1},createLabels:function(){var bg=this,bf=bg.options.series;for(var X=0;X<bf.length;X++){var be=bf[X].name,Y=new W(be,bg.options.labels);bg.children.push(Y)}},reflow:function(X){var bf=this,be=bf.options,Y=bf.children.length;if(Y===0){bf.box=X.clone();return}if(be.position=="custom"){bf.customLayout(X);return}if(be.position==ap||be.position==a){bf.horizontalLayout(X)}else{bf.verticalLayout(X)}},getViewElements:function(bg){var bq=this,bm=bq.children,bi=bq.options,bj=bi.series,bk=bq.markerSize(),bo=bg.createGroup({zIndex:bi.zIndex}),Y=bi.border||{},be;[].push.apply(bo.children,J.fn.getViewElements.call(bq,bg));for(var bh=0,bf=bj.length;bh<bf;bh++){var bl=bj[bh].color,X=bm[bh],bp=new aW();be=be?be.wrap(X.box):X.box.clone();bp.x1=X.box.x1-bk*2;bp.x2=bp.x1+bk;if(bi.position==ap||bi.position==a){bp.y1=X.box.y1+bk/2}else{bp.y1=X.box.y1+(X.box.height()-bk)/2}bp.y2=bp.y1+bk;bo.children.push(bg.createRect(bp,{fill:bl,stroke:bl}))}if(bm.length>0){var bn=z(bi.padding);bn.left+=bk*2;be.pad(bn);bo.children.unshift(bg.createRect(be,{stroke:Y.width?Y.color:"",strokeWidth:Y.width,fill:bi.background}))}return[bo]},verticalLayout:function(bn){var bo=this,bk=bo.options,bl=bo.children,bh=bl.length,Y=bl[0].box.clone(),bf,bm,bi=z(bk.margin),be=bo.markerSize()*2;for(var bg=1;bg<bh;bg++){var X=bo.children[bg];X.box.alignTo(bo.children[bg-1].box,a);Y.wrap(X.box)}if(bk.position==aq){bf=bn.x1+be+bi.left;bm=(bn.y2-Y.height())/2;Y.x2+=be+bi.left+bi.right}else{bf=bn.x2-Y.width()-bi.right;bm=(bn.y2-Y.height())/2;Y.translate(bf,bm);Y.x1-=be+bi.left}bo.translateChildren(bf+bk.offsetX,bm+bk.offsetY);var bj=Y.width();Y.x1=Math.max(bn.x1,Y.x1);Y.x2=Y.x1+bj;Y.y1=bn.y1;Y.y2=bn.y2;bo.box=Y},horizontalLayout:function(bl){var bn=this,be=bn.options,Y=bn.children,bg=Y.length,bm=Y[0].box.clone(),bj=bn.markerSize()*3,bh,bk,X=z(be.margin);for(var bf=1;bf<bg;bf++){var bi=bn.children[bf];bi.box.alignTo(bn.children[bf-1].box,l);bm.wrap(bi.box);bi.box.x1=bi.box.x1+bf*bj}if(be.position==ap){bh=(bl.x2-bm.width()-bj)/2;bk=bl.y1+X.top;bm.y2=bl.y1+bm.height()+X.top+X.bottom;bm.y1=bl.y1}else{bh=(bl.x2-bm.width()-bj)/2;bk=bl.y2-bm.height()-X.bottom;bm.y1=bl.y2-bm.height()-X.top-X.bottom;bm.y2=bl.y2}bn.translateChildren(bh+be.offsetX,bk+be.offsetY);bm.x1=bl.x1;bm.x2=bl.x2;bn.box=bm},customLayout:function(bi){var bk=this,Y=bk.options,X=bk.children,bf=X.length,bj=X[0].box.clone(),bh=bk.markerSize()*2;for(var be=1;be<bf;be++){var bg=bk.children[be];bg.box.alignTo(bk.children[be-1].box,a);bj.wrap(bg.box)}bk.translateChildren(Y.offsetX+bh,Y.offsetY);bk.box=bi},markerSize:function(){var Y=this,X=Y.children;if(X.length>0){return X[0].box.height()/2}else{return 0}}});var aA=J.extend({init:function(X){var Y=this;J.fn.init.call(Y,X)},options:{labels:{},line:{width:1,color:aN},majorTickType:au,majorTickSize:4,minorTickType:x,minorTickSize:3,axisCrossingValue:0,minorGridLines:{visible:false,width:1,color:aN},margin:5},renderTicks:function(bf){var bi=this,Y=bi.options,bh=Y.orientation===aB,X=bi.box,be=bi.getMajorTickPositions(),bg=[];if(Y.majorTickType.toLowerCase()===au){bg=bg.concat(aE.map(be,function(bj){return{pos:bj,size:Y.majorTickSize,width:Y.line.width,color:Y.line.color}}))}if(Y.minorTickType.toLowerCase()===au){bg=bg.concat(aE.map(bi.getMinorTickPositions(),function(bj){if(Y.majorTickType!==x){if(!p(bj,be)){return{pos:bj,size:Y.minorTickSize,width:Y.line.width,color:Y.line.color}}}else{return{pos:bj,size:Y.minorTickSize,width:Y.line.width,color:Y.line.color}}}))}return aE.map(bg,function(bj){if(bh){return bf.createLine(X.x2-bj.size,bj.pos,X.x2,bj.pos,{strokeWidth:bj.width,stroke:bj.color})}else{return bf.createLine(bj.pos,X.y1,bj.pos,X.y1+bj.size,{strokeWidth:bj.width,stroke:bj.color})}})},getActualTickSize:function(){var Y=this,be=Y.options,X=0;if(be.majorTickType!=x&&be.minorTickType!=x){X=Math.max(be.majorTickSize,be.minorTickSize)}else{if(be.majorTickType!=x){X=be.majorTickSize}else{if(be.minorTickType!=x){X=be.minorTickSize}}}return X},arrangeLabels:function(bo,bn,be){var bs=this,bq=bs.options,bt=bs.options.orientation===aB,bp=bs.children,Y=bs.getMajorTickPositions(),br=bs.getActualTickSize();for(var bl=0;bl<bp.length;bl++){var X=bp[bl],bj=bt?(bp.length-1-bl):bl,bh=bt?X.box.height():X.box.width(),bf=Y[bj]-(bh/2),bu,bi,bg;if(bt){if(be=="onMinorTicks"){bu=Y[bl],bi=Y[bl+1];bg=bu+(bi-bu)/2;bf=bg-(bh/2)}var bk=bs.box.x2-bq.margin-br;labelBox=new aW(bk-X.box.width(),bf,bk,bf)}else{if(be=="onMinorTicks"){bu=Y[bl],bi=Y[bl+1]}else{bu=bf;bi=bf+bh}var bm=bs.box.y1+br+bq.margin;labelBox=new aW(bu,bm,bi,bm)}X.reflow(labelBox)}}});var aX=aA.extend({init:function(bi,bg,be){var bn=this,bl={min:bn.autoAxisMin(bi,bg),max:bn.autoAxisMax(bi,bg)};aA.fn.init.call(bn,a2(bl,be));be=bn.options;if(!be.majorUnit){be.majorUnit=bn.autoMajorUnit(be.min,be.max)}var bm=bn.getMajorDivisions(),Y=be.min,bk=be.orientation===aB?l:aZ,bj=a2({},be.labels,{align:bk}),bf=be.labels.format;for(var bh=0;bh<bm;bh++){var X=new W(bf?O(bf,Y):Y.toString(),bj);bn.children.push(X);Y=M(Y+be.majorUnit,aP)}},options:{min:0,max:1,orientation:aB,majorGridLines:{visible:true,width:1,color:aN},zIndex:1},reflow:function(bj){var bl=this,be=bl.options,bk=be.orientation===aB,Y=bl.children,bg=bl.getActualTickSize()+be.margin,bh=0,X=0;for(var bf=0;bf<Y.length;bf++){var bi=Y[bf];bh=Math.max(bh,bi.box.width());X=Math.max(X,bi.box.height())}if(bk){bl.box=new aW(bj.x1,bj.y1,bj.x1+bh+bg,bj.y2)}else{bl.box=new aW(bj.x1,bj.y1,bj.x2,bj.y1+X+bg)}bl.arrangeLabels(bh,X)},getViewElements:function(X){var bh=this,Y=bh.options,bf=Y.orientation===aB,bg=J.fn.getViewElements.call(bh,X);var be=bh.getMajorTickPositions();if(Y.line.width>0){if(bf){bg.push(X.createLine(bh.box.x2,be[0],bh.box.x2,be[be.length-1],{strokeWidth:Y.line.width,stroke:Y.line.color,zIndex:Y.zIndex}))}else{bg.push(X.createLine(be[0],bh.box.y1,be[be.length-1],bh.box.y1,{strokeWidth:Y.line.width,stroke:Y.line.color,zIndex:Y.zIndex}))}[].push.apply(bg,bh.renderTicks(X))}return bg},autoMajorUnit:function(bg,bh){var Y=bh-bg;if(Y==0){if(bh==0){return 0.1}Y=Math.abs(bh)}var be=Math.pow(10,Math.floor(Math.log(Y)/Math.log(10))),X=M((Y/be),aP),bf=1;if(X<1.904762){bf=0.2}else{if(X<4.761904){bf=0.5}else{if(X<9.523809){bf=1}else{bf=2}}}return M(be*bf,aP)},autoAxisMax:function(X,bf){if(X==0&&bf==0){return 1}var Y;if(X<=0&&bf<=0){bf=X==bf?0:bf;var be=Math.abs((bf-X)/bf);if(be>aH){return 0}Y=bf-((X-bf)/2)}else{X=X==bf?0:X;Y=bf+0.05*(bf-X)}var bg=this.autoMajorUnit(X,bf);return am(Y,bg)},autoAxisMin:function(Y,bf){if(Y==0&&bf==0){return 0}var be;if(Y>=0&&bf>=0){Y=Y==bf?0:Y;var X=(bf-Y)/bf;if(X>aH){return 0}be=Y-((bf-Y)/2)}else{bf=Y==bf?0:bf;be=Y+0.05*(Y-bf)}var bg=this.autoMajorUnit(Y,bf);return a5(be,bg)},getMajorDivisions:function(){var X=this.options;return Math.round((X.max-X.min)/X.majorUnit)+1},getMinorDevisions:function(){var X=this.options;return((Math.round(X.max-X.min)/X.majorUnit)*5)+1},getTickPositions:function(bg){var bm=this,be=bm.options,bk=be.orientation===aB,bj=bm.getAxisLineBox(),bl=bg,bi=bk?bj.height():bj.width(),X=bi/(bl-1),bf=bj[(bk?ai:ah)+1],Y=[];for(var bh=0;bh<bl;bh++){Y.push(M(bf,a1));bf+=X}return Y},getMajorTickPositions:function(){var X=this;return X.getTickPositions(X.getMajorDivisions())},getMinorTickPositions:function(){var X=this;return X.getTickPositions(X.getMinorDevisions())},getAxisLineBox:function(){var bj=this,Y=bj.options,bi=Y.orientation===aB,bh=bi?"height":"width",X=bj.children,be=bj.box,bf=0,bg=0;if(X.length>1){bf=X[0].box[bh]()/2;bg=X[X.length-1].box[bh]()/2}if(bi){return new aW(be.x2,be.y1+bf,be.x2,be.y2-bg)}else{return new aW(be.x1+bf,be.y1,be.x2-bg,be.y1)}},getSlot:function(bk,bl){var bm=this,bi=bm.options,bn=bi.orientation===aB,Y=bn?ai:ah,X=bm.getAxisLineBox(),bh=X[Y+1],bf=bn?X.height():X.width(),be=bf/(bi.max-bi.min),bk=typeof bk===V?bi.axisCrossingValue:bk,bl=typeof bl===V?bi.axisCrossingValue:bl,bk=Math.max(Math.min(bk,bi.max),bi.min),bl=Math.max(Math.min(bl,bi.max),bi.min),bg,bj,bo=new aW(X.x1,X.y1,X.x1,X.y1);if(bn){bg=bh+be*(bi.max-Math.max(bk,bl));bj=bh+be*(bi.max-Math.min(bk,bl))}else{bg=bh+be*(Math.min(bk,bl)-bi.min);bj=bh+be*(Math.max(bk,bl)-bi.min)}bo[Y+1]=bg;bo[Y+2]=bj;return bo}});var e=aA.extend({init:function(Y){var bh=this;aA.fn.init.call(bh,Y);var Y=bh.options,bf=Y.orientation===aB?l:aZ,bg=a2({},Y.labels,{align:bf});for(var X=0;X<Y.categories.length;X++){var be=Y.categories[X];bh.children.push(new W(be,bg))}},options:{categories:[],orientation:r,majorGridLines:{visible:false,width:1,color:aN},zIndex:1},reflow:function(bj){var bl=this,be=bl.options,bk=be.orientation===aB,Y=bl.children,bg=bl.getActualTickSize()+be.margin,X=0,bh=0;for(var bf=0;bf<Y.length;bf++){var bi=Y[bf];X=Math.max(X,bi.box.height());bh=Math.max(bh,bi.box.width())}if(bk){bl.box=new aW(bj.x1,bj.y1,bj.x1+bh+bg,bj.y2)}else{bl.box=new aW(bj.x1,bj.y1,bj.x2,bj.y1+X+bg)}bl.arrangeLabels(bh,X,"onMinorTicks")},getViewElements:function(X){var Y=this,bf=Y.options,be=bf.orientation===aB,bg=J.fn.getViewElements.call(Y,X);if(bf.line.width>0){if(be){bg.push(X.createLine(Y.box.x2,Y.box.y1,Y.box.x2,Y.box.y2,{strokeWidth:bf.line.width,stroke:bf.line.color,zIndex:bf.zIndex}))}else{bg.push(X.createLine(Y.box.x1,Y.box.y1,Y.box.x2,Y.box.y1,{strokeWidth:bf.line.width,stroke:bf.line.color,zIndex:bf.zIndex}))}[].push.apply(bg,Y.renderTicks(X))}return bg},getTickPositions:function(Y){var bk=this,be=bk.options,bj=be.orientation===aB,X=bj?bk.box.height():bk.box.width(),bh=X/Y,bf=bj?bk.box.y1:bk.box.x1,bi=[];for(var bg=0;bg<Y;bg++){bi.push(M(bf,a1));bf+=bh}bi.push(bj?bk.box.y2:bk.box.x2);return bi},getMajorTickPositions:function(){var X=this;return X.getTickPositions(X.options.categories.length)},getMinorTickPositions:function(){var X=this;return X.getTickPositions(X.options.categories.length*2)},getSlot:function(bk){var bm=this,be=bm.options,bl=be.orientation===aB,Y=bm.children,bf=bm.box,X=bl?bf.height():bf.width(),bj=bl?bf.y1:bf.x1,bg=X/Math.max(1,Y.length),bh=bj+(bk*bg),bi=bh+bg;return bl?new aW(bf.x2,bh,bf.x2,bi):new aW(bh,bf.y1,bi,bf.y1)},getAxisLineBox:function(){var X=this,Y=X.options;return X.getSlot(0).wrap(X.getSlot(Y.categories.length-1))}});var aD=J.extend({init:function(Y){var X=this;J.fn.init.call(X,Y)},options:{isVertical:false,gap:0,spacing:0},reflow:function(bo){var bg=this,bl=bg.options,bn=bl.isVertical,bm=bn?ai:ah,bk=bg.children,bi=bl.gap,X=bl.spacing,bh=bk.length,bj=bh+bi+(X*(bh-1)),be=(bn?bo.height():bo.width())/bj,bp=bo[bm+1]+be*(bi/2);for(var bf=0;bf<bh;bf++){var Y=(bk[bf].box||bo).clone();Y[bm+1]=bp;Y[bm+2]=bp+be;bk[bf].reflow(Y);if(bf<bh-1){bp+=(be*X)}bp+=be}}});var B=J.extend({init:function(X){var Y=this;J.fn.init.call(Y,X)},options:{isVertical:true,isReversed:false},reflow:function(bj){var bm=this,Y=bm.options,bl=Y.isVertical,be=bl?ah:ai,X=bm.children,bf=bm.box=new aW(),bi;if(Y.isReversed){bi=bl?a:aq}else{bi=bl?ap:l}for(var bg=0;bg<X.length;bg++){var bh=X[bg],bk=bh.box.clone();bk.snapTo(bj,be);if(bg>0){bk.alignTo(X[bg-1].box,bi)}else{bf=bm.box=bk.clone()}bh.reflow(bk);bf.wrap(bk)}}});var aR=J.extend({init:function(X){var Y=this;J.fn.init.call(Y,X)},options:{color:Z,border:{width:1},isVertical:true,overlay:s},reflow:function(X){var be=this,bg=be.children;be.box=X;for(var Y=0,bf=bg.length;Y<bf;Y++){bg[Y].reflow(X)}},getViewElements:function(X){var be=this,Y=be.options,bi=Y.isVertical,bg=Y.border.width>0?{stroke:be.getBorderColor(),strokeWidth:Y.border.width}:{},bf=be.box,bh=a2({fill:Y.color,overlay:Y.overlay,normalAngle:bi?0:90,fillOpacity:Y.opacity,strokeOpacity:Y.opacity},bg),bj=[];bj.push(X.createRect(bf,bh));[].push.apply(bj,J.fn.getViewElements.call(be,X));return bj},getBorderColor:function(){var Y=this,bf=Y.options,X=bf.color,be=bf.border.color;if(typeof be===V){be=new aQ(X).brightness(ag).toHex()}return be}});var aM=J.extend({init:function(X,be){var Y=this;J.fn.init.call(Y,be);Y.plotArea=X;Y._seriesMin=Number.MAX_VALUE;Y._seriesMax=-Number.MAX_VALUE;Y._bars=[];Y.render()},options:{series:[],isVertical:true,isStacked:false},render:function(){var X=this,bg=X.options,Y=bg.isStacked,be=[],bf=[];X.traverseDataPoints(function(bh,bi,bk,bl){if(typeof bh!==V){if(Y){var bj=bh>0?be:bf;bj[bi]=bj[bi]?bj[bi]+bh:bh}else{X._seriesMin=Math.min(X._seriesMin,bh);X._seriesMax=Math.max(X._seriesMax,bh)}}X.addValue(bh,bi,bk,bl)});if(Y){X._seriesMin=bb(bf.length?bf:be);X._seriesMax=aU(be.length?be:bf)}},addValue:function(bh,bj,bq,bf){var be=this,bl=be.options,bn=be.children,bp=be.options.isStacked,bk=a2({isVertical:bl.isVertical},bq.labels);if(bp){if(bk.position=="outsideEnd"){bk.position="insideEnd"}}var bo=new aR({color:bq.color,opacity:bq.opacity,border:bq.border,isVertical:bl.isVertical,overlay:bq.overlay});if(bk.visible&&bh){var X=new E(bh,bk);bo.children.push(X)}be._bars.push(bo);var bg=bn[bj];if(!bg){bg=bn[bj]=new aD({isVertical:!bl.isVertical,gap:bl.gap,spacing:bl.spacing})}if(bp){var Y=bg.children[0],bm,bi;if(!Y){Y=new J();bg.children.push(Y);bm=new B({isVertical:bl.isVertical});bi=new B({isVertical:bl.isVertical,isReversed:true});Y.children.push(bm,bi)}else{bm=Y.children[0];bi=Y.children[1]}if(bh>0){bm.children.push(bo)}else{bi.children.push(bo)}}else{bg.children.push(bo)}},valueRange:function(){var X=this;if(X._bars.length){return{min:X._seriesMin,max:X._seriesMax}}return null},categoriesCount:function(){var X=this,bg=X.options.series,bf=0;for(var Y=0,be=bg.length;Y<be;Y++){bf=Math.max(bf,bg[Y].data.length)}return bf},reflow:function(bg){var X=this,be=X.options,bi=be.isVertical,bf=X.plotArea,bj=0,Y=[],bh=X._bars;X.traverseDataPoints(function(bk,br){var bm=bh[bj++];var bp=bf.axisX.getSlot(bi?br:bk);var bo=bf.axisY.getSlot(bi?bk:br);var bt=new aW(bp.x1,bo.y1,bp.x2,bo.y2);var bs=be.isVertical?bf.axisY:bf.axisX,bl=bs.options.axisCrossingValue,bq=bk>=bl;var bn=bm.children[0];if(bn){bn.options.aboveAxis=bq;bn.content=bn.content||bl}bm.box=bt;bm.options.aboveAxis=bq;if(!Y[br]){Y[br]=bi?bp:bo}});X.reflowCategories(Y);X.box=bg},reflowCategories:function(X){var Y=this,bf=Y.children,bg=bf.length,be;for(be=0;be<bg;be++){bf[be].reflow(X[be])}},traverseDataPoints:function(be){var X=this,Y=X.options,bf=Y.series,bi=X.categoriesCount();for(var bk=0;bk<bi;bk++){for(var bj=0;bj<bf.length;bj++){var bg=bf[bj],bh=bg.data[bk];be(bh,bk,bg,bj)}}}});var aG=af.extend({init:function(Y){var X=this;af.fn.init.call(X,Y)},options:{type:aC,align:aZ,vAlign:aZ},getViewElements:function(bf){var bg=this,Y=bg.options,bh=Y.type,X=bg.box,be=af.fn.getViewElements.call(bg,bf)[0],bi=X.width()/2;if(bh===F){be=bf.createPath([[X.x1+bi,X.y1],[X.x1,X.y2],[X.x2,X.y2]],be.options)}else{if(bh===aV){be=bf.createCircle([X.x1+bi,X.y1+X.height()/2],bi,be.options)}}return[be]}});var N=J.extend({init:function(X,Y){var be=this;be.value=X;y.fn.init.call(be,Y);be.render()},options:{aboveAxis:true,isVertical:false,markers:{visible:true,background:aN,size:aL,type:d,border:{width:1},opacity:1},labels:{visible:false,position:at}},render:function(){var X=this,be=X.options,bh=be.markers,bf=be.labels,Y=X.children,bi=bh.background,bg=a2({},bh.border);if(typeof bg.color===V){bg.color=new aQ(bi).brightness(ag).toHex()}Y.push(new aG({visible:bh.visible,type:bh.type,width:bh.size,height:bh.size,background:bi,border:bg,opacity:bh.opacity}));Y.push(new ab(X.value,a2({visible:bf.visible,align:aZ,vAlign:aZ,margin:{left:5,right:5}},bf)))},markerBox:function(){return this.children[0].box},reflow:function(bh){var X=this,Y=X.options,bi=Y.isVertical,bg=Y.aboveAxis,be;X.box=bh;be=bh.clone();if(bi){if(bg){be.x1+=be.width()}else{be.x2-=be.width()}}else{if(bg){be.y1-=be.height()}else{be.y2+=be.height()}}var bf=X.children[0];bf.reflow(be);X.reflowLabel(be)},reflowLabel:function(Y){var X=this,be=X.options,bf=X.children[0],bh=X.children[1],bg=be.labels.position;bg=bg===at?ap:bg;bg=bg===a0?a:bg;bh.reflow(Y);bh.box.alignTo(bf.box,bg);bh.reflow(bh.box)}});var bd=aM.extend({init:function(X,be){var Y=this;Y.seriesPoints=[];aM.fn.init.call(Y,X,be)},addValue:function(bg,bi,bo,bf){var Y=this,bk=Y.options,bm=Y.children,bn=bk.isStacked,bj=Y.seriesPoints[bf];var be=new N(bg,a2({isVertical:!bk.isVertical,markers:{background:bo.color,opacity:bo.opacity}},bo));Y._bars.push(be);if(!bj){Y.seriesPoints[bf]=bj=[]}bj.push(be);if(bn){var X=Y.children[bi],bl,bh;if(!X){X=Y.children[bi]=new J();bl=new B({isVertical:bk.isVertical});bh=new B({isVertical:bk.isVertical,isReversed:true});X.children.push(bl,bh)}else{bl=X.children[0];bh=X.children[1]}if(bg>0){bl.children.push(be)}else{bh.children.push(be)}}else{bm.push(be)}},getViewElements:function(bi){var bh=this,bk=bh.options,bm=aM.fn.getViewElements.call(bh,bi),bl=bk.series,bp,be,X=bh.seriesPoints,bo=X.length,bg,bj,bf,Y,bn,bq=[];for(be=0;be<bo;be++){bg=X[be];bf=bg.length;bp=bl[be];bn=[];for(bj=0;bj<bf;bj++){Y=bg[bj];bn.push(Y.markerBox().center())}bq.push(bi.createPath(bn,{stroke:bp.color,strokeWidth:bp.width,strokeOpacity:bp.opacity,fill:""}))}return bq.concat(bm)},reflowCategories:function(bi){var Y=this,bg=Y.options.isStacked,X=Y.children,bf=X.length,bh,be;for(be=0;be<bf;be++){bh=X[be];bh.reflow(bg?bi[be]:bh.box)}}});var m=J.extend({init:function(X){var Y=this;J.fn.init.call(Y,X);Y.render()},options:{categoryAxis:{},valueAxis:{},series:[],plotArea:{margin:{}},background:"",border:{color:aN,width:0}},render:function(){var bs=this,bo=bs.options,bg=bs.charts=[],bn={min:0,max:1},X=bo.categoryAxis.categories,Y=bo.categoryAxis.orientation===aB,bk,bm=bo.series,bh=bm.length,br,bi=[],bp=[],bf,bq,bl,be;for(bk=0;bk<bh;bk++){br=bm[bk];if(br.type===a4||br.type===R){bi.push(br)}else{if(br.type===u){bp.push(br)}}}if(bi.length>0){be=bi[0];Y=be.type===a4;bf=new aM(this,{series:bi,isVertical:!Y,isStacked:be.stack,gap:be.gap,spacing:be.spacing});bl=Math.max(0,bf.categoriesCount()-X.length);[].push.apply(bo.categoryAxis.categories,new Array(bl));bn=bf.valueRange()||bn;bg.push(bf)}if(bp.length>0){be=bp[0];bq=new bd(this,{isVertical:!Y,isStacked:be.stack,series:bp});bl=Math.max(0,bq.categoriesCount()-X.length);[].push.apply(bo.categoryAxis.categories,new Array(bl));var bj=bq.valueRange()||bn;bn.min=Math.min(bn.min,bj.min);bn.max=Math.max(bn.max,bj.max);bg.push(bq)}[].push.apply(bs.children,bg);bs.createAxes(bn.min,bn.max,Y)},createAxes:function(bg,be,X){var bi=this,Y=bi.options,bh=Y.categoryAxis.categories.length,bf=new e(a2({orientation:X?aB:r,axisCrossingValue:X?bh:0},Y.axesDefaults,Y.categoryAxis)),bj=new aX(bg,be,a2({orientation:X?r:aB},Y.axesDefaults,Y.valueAxis));bi.axisX=X?bj:bf;bi.axisY=X?bf:bj;bi.children.push(bi.axisY);bi.children.push(bi.axisX)},reflow:function(bn){var bo=this,be=bo.charts,bp=bo.axisY,bq=bo.axisX,bi=bo.options.plotArea,bh=z(bi.margin);bo.box=bn.clone();bo.box.unpad(bh);bp.reflow(bo.box);bq.reflow(bo.box);bo.alignAxes();var X=bp.box.clone().wrap(bq.box);var bk=X.height()-bo.box.height();var bl=X.width()-bo.box.width();var bf=bo.box.x1-X.x1;var bm=bo.box.y1-X.y1;bp.reflow(bp.box.translate(bf,bm).shrink(0,bk));bq.reflow(bq.box.translate(bf,bm).shrink(bl,0));bo.alignAxes();for(var bg=0;bg<be.length;bg++){be[bg].reflow(bo.box)}var bj=bq.getAxisLineBox(),Y=bp.getAxisLineBox();bo.box=bj.clone().wrap(Y)},alignAxes:function(){var bg=this,be=bg.axisY,bf=bg.axisX,bi=be.options.axisCrossingValue,X=be.getSlot(bi,bi),bh=bf.options.axisCrossingValue,Y=bf.getSlot(bh,bh);be.reflow(be.box.translate(Y.x1-X.x1,0));bf.reflow(bf.box.translate(0,X.y1-Y.y1))},renderGridLines:function(bh,bl,bg){var bk=bl.options,bm=bk.orientation===aB,bj=bg.getMajorTickPositions(),bf=bl.getSlot(bk.axisCrossingValue),bn=bf[bm?"y1":"x1"],bi=bj[0],be=bj.pop(),X,bo=bl.getMajorTickPositions(),Y=[];if(bk.majorGridLines.visible){Y=aE.map(bo,function(bp){return{pos:bp,options:bk.majorGridLines}})}if(bk.minorGridLines.visible){Y=Y.concat(aE.map(bl.getMinorTickPositions(),function(bp){if(bk.majorGridLines.visible){if(!p(bp,bo)){return{pos:bp,options:bk.minorGridLines}}}else{return{pos:bp,options:bk.minorGridLines}}}))}return aE.map(Y,function(bp){X=bp.pos;if(bn===X){return null}if(bm){return bh.createLine(bi,X,be,X,{strokeWidth:bp.options.width,stroke:bp.options.color})}else{return bh.createLine(X,bi,X,be,{strokeWidth:bp.options.width,stroke:bp.options.color})}})},getViewElements:function(X){var bf=this,bk=bf.options.plotArea,Y=bf.axisY,be=bf.axisX,bi=bf.renderGridLines(X,Y,be),bj=bf.renderGridLines(X,be,Y),bg=J.fn.getViewElements.call(bf,X),bh=bk.border||{},bl=[X.createRect(bf.box,{fill:bk.background,zIndex:-1}),X.createRect(bf.box,{stroke:bh.width?bh.color:"",strokeWidth:bh.width,fill:"",zIndex:0})];return[].concat(bi,bj,bg,bl)}});var y=a7.extend({init:function(Y){var X=this;X.children=[];X.options=a2({},X.options,Y)},render:function(){return this.template(this)},renderContent:function(){var Y="",be=this,bf=be.sortChildren(),X=bf.length;for(var bg=0;bg<X;bg++){Y+=bf[bg].render()}return Y},sortChildren:function(){var be=this,bf=be.children;for(var X=0,Y=bf.length;X<Y;X++){bf[X]._childIndex=X}return bf.slice(0).sort(be.compareChildren)},compareChildren:function(Y,be){var X=Y.options.zIndex||0,bf=be.options.zIndex||0;if(X!==bf){return X-bf}return Y._childIndex-be._childIndex},renderAttr:function(X,Y){return Y?X+"='"+Y+"' ":""}});var G=y.extend({init:function(X){var Y=this;y.fn.init.call(Y,X);Y.definitions={};Y.decorators=[]},renderDefinitions:function(){var X=this,bf=X.definitions,be,Y="";for(be in bf){if(bf.hasOwnProperty(be)){Y+=bf[be].render()}}return Y},decorate:function(bf){var Y=this,be=Y.decorators,X,bg=be.length;for(X=0;X<bg;X++){bf=be[X].decorate(bf)}return bf}});var H=G.extend({init:function(X){var Y=this;G.fn.init.call(Y,X);Y.decorators.push(new aw(Y),new az(Y));Y.template=H.template;if(!Y.template){Y.template=H.template=ba("<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='<#= d.options.width #>px' height='<#= d.options.height #>px' style='position: relative;'><#= d.renderDefinitions() #><#= d.renderContent() #></svg>")}},options:{width:ac,height:K,idPrefix:""},renderTo:function(be){var X=this,Y=X.render();a3(be,Y);X.alignToScreen(be.firstChild)},renderDefinitions:function(){var Y=this,X=G.fn.renderDefinitions.call(Y);return X.length>0?"<defs>"+X+"</defs>":""},createGroup:function(X){return new f(X)},createText:function(X,Y){return new av(X,Y)},createRect:function(X,Y){return this.decorate(new aT([[X.x1,X.y1],[X.x2,X.y1],[X.x2,X.y2],[X.x1,X.y2],[X.x1,X.y1]],Y))},createLine:function(be,bf,bg,X,Y){return new aT([[be,bf],[bg,X]],Y)},createPath:function(Y,X){return new aT(Y,X)},createCircle:function(Y,be,X){return new ay(Y,be,X)},createGradient:function(X){return new P(X)},alignToScreen:function(X){if(X.getScreenCTM){var bf=X.getScreenCTM(),Y=-bf.e%1,bg=-bf.f%1,be=X.style;if(Y!==0||bg!==0){be.left=Y+"px";be.top=bg+"px"}}}});var f=y.extend({init:function(Y){var X=this;y.fn.init.call(X,Y);X.template=f.template;if(!X.template){X.template=f.template=ba("<g><#= d.renderContent() #></g>")}}});var av=y.extend({init:function(X,Y){var be=this;y.fn.init.call(be,Y);be.content=X;be.template=av.template;if(!be.template){be.template=av.template=ba("<text x='<#= Math.round(d.options.x) #>' y='<#= Math.round(d.options.y + d.options.baseline) #>' style='font: <#= d.options.font #>' fill='<#= d.options.color #>'><#= d.content #></text>")}},options:{x:0,y:0,baseline:0,font:bc}});var aT=y.extend({init:function(Y,be){var X=this;y.fn.init.call(X,be);X.template=aT.template;if(!X.template){X.template=aT.template=ba("<path d='<#= d.renderPoints() #>' <#= d.renderStroke() #><#= d.renderStrokeWidth() #>stroke-linecap='square' fill-opacity='<#= d.options.fillOpacity #>' stroke-opacity='<#= d.options.strokeOpacity #>' fill='<#= d.options.fill || \"none\" #>'></path>")}X.points=Y||[]},options:{fill:"",fillOpacity:1,strokeOpacity:1},clone:function(){var X=this;return new aT(X.points,a2({},X.options))},renderPoints:function(){var be=this,X=this.points,bh=X.length,bj=be.options.strokeWidth,bf=bj&&bj%2!==0,bl=bf?j:Math.round,Y=X[0],bk="M"+bl(Y[0])+" "+bl(Y[1]);for(var bg=1;bg<bh;bg++){var bi=X[bg];bk+=" L"+bl(bi[0])+" "+bl(bi[1])}return bk},renderStrokeWidth:function(){var X=this,Y=X.options;return Y.strokeWidth>0?"stroke-width='"+Y.strokeWidth+"' ":""},renderStroke:function(){var X=this,Y=X.options;return Y.stroke?"stroke='"+Y.stroke+"' ":""}});var ay=y.extend({init:function(be,bf,X){var Y=this;y.fn.init.call(Y,X);Y.center=be;Y.radius=bf;Y.template=ay.template;if(!Y.template){Y.template=ay.template=ba("<circle cx='<#= d.center[0] #>' cy='<#= d.center[1] #>' r='<#= d.radius #>' <#= d.renderAttr(\"stroke\", d.options.stroke) #> <#= d.renderAttr(\"stroke-width\", d.options.strokeWidth) #>fill='<#= d.options.fill || \"none\" #>'></circle>")}},options:{fill:""}});var P=y.extend({init:function(Y){var X=this;y.fn.init.call(X,Y);X.template=P.template;X.stopTemplate=P.stopTemplate;if(!X.template){X.template=P.template=ba("<linearGradient id='<#= d.options.id #>' gradientTransform='rotate(<#= d.options.rotation #>)'> <#= d.renderStops() #></linearGradient>");X.stopTemplate=P.stopTemplate=ba("<stop offset='<#= Math.round(d.offset * 100) #>%' style='stop-color:<#= d.color #>;stop-opacity:<#= d.opacity #>' />")}},options:{id:"",rotation:0},renderStops:function(){var bf=this,Y=bf.options.stops,bi=bf.stopTemplate,X,be=Y.length,bh,bg="";for(X=0;X<be;X++){bh=Y[X];bg+=bi(bh)}return bg}});function aw(X){this.view=X}aw.prototype={decorate:function(Y){var bk=this,bf=bk.view,X=Y.options?Y.options.overlay:"",bh=a6.Overlays[X];if(!bh){return Y}var be=bh.fill,bl=Y.options.normalAngle||0,bg=X+bl,bj=bf.createGroup(),bi=Y.clone();bj.children.push(Y,bi);bi.options.fill=a2(be,{id:bg,rotation:bl});return bj}};function az(X){this.view=X}az.prototype={decorate:function(Y){var X=this,be=Y.options;be.fill=X.getPaint(be.fill);for(var bf=0;bf<Y.children.length;bf++){X.decorate(Y.children[bf])}return Y},getPaint:function(bh){var Y=this,X=Y.view,bg=X.definitions,be,bf;if(typeof bh===ao){bf=bh.id;be=bg[bf];if(!be){be=X.createGradient(bh);bg[bf]=be}return"url(#"+be.options.id+")"}else{return bh}}};var A=G.extend({init:function(X){var Y=this;G.fn.init.call(Y,X);Y.decorators.push(new t(Y),new aY(Y));Y.template=A.template;if(!Y.template){Y.template=A.template=ba("<div style='width:<#= d.options.width #>px; height:<#= d.options.height #>px; position: relative;'><#= d.renderContent() #></div>")}},options:{width:ac,height:K},renderTo:function(X){if(U.namespaces){U.namespaces.add("kvml","urn:schemas-microsoft-com:vml","#default#VML")}X.innerHTML=this.render()},createText:function(X,Y){return new aK(X,Y)},createRect:function(X,Y){return this.decorate(new n([[X.x1,X.y1],[X.x2,X.y1],[X.x2,X.y2],[X.x1,X.y2],[X.x1,X.y1]],Y))},createLine:function(be,bf,bg,X,Y){return new n([[be,bf],[bg,X]],Y)},createPath:function(Y,X){return new n(Y,X)},createCircle:function(Y,be,X){return new w(Y,be,X)},createGroup:function(X){return new L(X)},createGradient:function(X){return new D(X)}});var aK=y.extend({init:function(X,Y){var be=this;y.fn.init.call(be,Y);be.content=X||"";be.template=aK.template;if(!be.template){be.template=aK.template=ba("<kvml:textbox style='position: absolute; left: <#= d.options.x #>px; top: <#= d.options.y #>px; font: <#= d.options.font #>; color: <#= d.options.color #>'><#= d.content #></kvml:textbox>")}},options:{x:0,y:0,font:bc,color:aN}});var n=y.extend({init:function(Y,be){var X=this;y.fn.init.call(X,be);X.template=n.template;if(!X.template){X.template=n.template=ba("<kvml:shape style='position:absolute; width:1px; height:1px;' coordorigin='0 0' coordsize='1 1'><kvml:path v='<#= d.renderPoints() #> e' /><#= d.fill.render() + d.stroke.render() #></kvml:shape>")}X.points=Y||[];X.stroke=new ak(X.options);X.fill=new aS(X.options)},options:{fill:""},renderPoints:function(){var X=this.points,bf=X.length,be=X[0],bh="m "+M(be[0])+","+M(be[1]);if(bf>1){bh+=" l";for(var Y=1;Y<bf;Y++){var bg=X[Y];bh+=" "+M(bg[0])+","+M(bg[1]);if(Y<bf-1){bh+=","}}}return bh}});var ak=y.extend({init:function(Y){var X=this;y.fn.init.call(X,Y);X.template=ak.template;if(!X.template){X.template=ak.template=ba('<kvml:stroke on=\'<#= !!d.options.stroke #>\' <#= d.renderAttr("color", d.options.stroke) #><#= d.renderAttr("weight", d.options.strokeWidth) #><#= d.renderAttr("opacity", d.options.strokeOpacity) #> />')}}});var aS=y.extend({init:function(Y){var X=this;y.fn.init.call(X,Y);X.template=aS.template;if(!X.template){X.template=aS.template=ba('<kvml:fill on=\'<#= !!d.options.fill #>\' <#= d.renderAttr("color", d.options.fill) #><#= d.renderAttr("weight", d.options.fillWidth) #><#= d.renderAttr("opacity", d.options.fillOpacity) #> />')}}});var w=y.extend({init:function(be,bf,X){var Y=this;y.fn.init.call(Y,X);Y.center=be;Y.radius=bf;Y.template=w.template;if(!Y.template){Y.template=w.template=ba("<kvml:oval style='position:absolute; width:<#= d.radius * 2 #>px; height:<#= d.radius * 2 #>px; top:<#= d.center[1] - d.radius #>px; left:<#= d.center[0] - d.radius #>px;' strokecolor='<#= d.options.stroke || '' #>' stroked='<#= !!d.options.stroke #>' strokeweight='<#= d.options.strokeWidth || '' #>' fillcolor='<#= d.options.fill #>' filled='<#= !!d.options.fill || d.children.length > 0 #>'></kvml:oval>")}},options:{fill:""}});var L=y.extend({init:function(Y){var X=this;y.fn.init.call(X,Y);X.template=L.template;if(!X.template){X.template=L.template=ba("<div style='position: absolute; white-space: nowrap;'><#= d.renderContent() #></div>")}}});var D=y.extend({init:function(Y){var X=this;y.fn.init.call(X,Y);X.template=D.template;if(!X.template){X.template=D.template=ba("<kvml:fill type='gradient' angle='<#= d.options.rotation #>' colors='<#= d.renderColors() #>' opacity='<#= d.options.opacity #>' />")}},options:{rotation:0,opacity:1},renderColors:function(){var bf=this,Y=bf.options,be=Y.stops,bh,X,bi=be.length,bg=[],bj=Math.round;for(X=0;X<bi;X++){bh=be[X];bg.push(bj(bh.offset*100)+"% "+bh.color)}return bg.join(",")}});function t(X){this.view=X}t.prototype={decorate:function(Y){var be=Y.options,X=be?be.overlay:"",bg=a6.Overlays[X];if(!bg){return Y}var bf=bg.fill,bh=270-be.normalAngle||0,bi=be.fillOpacity;if(typeof bi===V){bi=1}be.overlay="";be.fill=a2({},aI(be.fill,bf),{rotation:bh,opacity:bi});return Y}};function aY(X){this.view=X}aY.prototype={decorate:function(be){var X=this,Y=X.view,bf=be.options,bg=bf.fill;if(typeof bg===ao){be.fill=Y.createGradient(bg)}return be}};function am(Y,X){return M(Math.ceil(Y/X)*X,aP)}function a5(Y,X){return M(Math.floor(Y/X)*X,aP)}function M(X,be){var Y=Math.pow(10,be||0);return Math.round(X*Y)/Y}function Q(bj,Y){var bi=k(Y),bf=bj+bi,be=Q.cache[bf];if(be){return be}var bg=Q.measureBox,bh=Q.baselineMarker.cloneNode(false);if(!bg){bg=Q.measureBox=aE("<div style='position: absolute; top: -4000px; left: -4000px;line-height: normal; visibility: hidden;' />").appendTo(U.body)[0]}for(var bk in Y){bg.style[bk]=Y[bk]}bg.innerHTML=bj;bg.appendChild(bh);var X={width:bg.offsetWidth-S,height:bg.offsetHeight,baseline:bh.offsetTop+S};Q.cache[bf]=X;return X}Q.cache=[];Q.baselineMarker=aE("<div style='display: inline-block; vertical-align: baseline;width: "+S+"px; height: "+S+"px;zoom: 1; *display: inline; overflow: hidden;' />")[0];function k(Y){var be=[];for(var X in Y){be.push(X+Y[X])}return be.sort().join(" ")}function T(bj,bi){if(bj.x1==bi.x1&&bj.y1==bi.y1&&bj.x2==bi.x2&&bj.y2==bi.y2){return bi}var bf=Math.min(bj.x1,bi.x1);var bg=Math.max(bj.x1,bi.x1);var bh=Math.min(bj.x2,bi.x2);var bk=Math.max(bj.x2,bi.x2);var bl=Math.min(bj.y1,bi.y1);var bm=Math.max(bj.y1,bi.y1);var X=Math.min(bj.y2,bi.y2);var Y=Math.max(bj.y2,bi.y2);var be=[];be[0]=new aW(bg,bl,bh,bm);be[1]=new aW(bf,bm,bg,X);be[2]=new aW(bh,bm,bk,X);be[3]=new aW(bg,X,bh,Y);if(bj.x1==bf&&bj.y1==bl||bi.x1==bf&&bi.y1==bl){be[4]=new aW(bf,bl,bg,bm);be[5]=new aW(bh,X,bk,Y)}else{be[4]=new aW(bh,bl,bk,bm);be[5]=new aW(bf,X,bg,Y)}return aE.grep(be,function(bn){return bn.height()>0&&bn.width()>0})[0]}function j(X){return Math.round(X)+0.5}function bb(X){return aO(X).min}function aU(X){return aO(X).max}function aO(Y){var bf=Number.MAX_VALUE,bh=-Number.MAX_VALUE;for(var X=0,bg=Y.length;X<bg;X++){var be=Y[X];if(typeof be!==V){bf=Math.min(bf,be);bh=Math.max(bh,be)}}return{min:bf,max:bh}}function z(Y){var X={};if(typeof(Y)==="number"){X[ap]=X[l]=X[a]=X[aq]=Y}else{X[ap]=Y[ap]||0;X[l]=Y[l]||0;X[a]=Y[a]||0;X[aq]=Y[aq]||0}return X}function p(Y,X){return aE.inArray(Y,X)!=-1}function a2(bh){var Y=1,bf=arguments.length,X,bg,be;for(Y=1;Y<bf;Y++){X=arguments[Y];for(bg in X){be=X[bg];if(typeof be===ao&&be!==null&&be.constructor!==Array){if(typeof(bh[bg])===ao){bh[bg]=bh[bg]||{}}else{bh[bg]={}}a2(bh[bg],be)}else{if(typeof be!=="undefined"){bh[bg]=be}}}}return bh}function a3(X,Y){X.innerHTML=Y}(function(){var X="<svg xmlns='"+ad+"'></svg>",be=U.createElement("div"),Y=typeof DOMParser!=V;be.innerHTML=X;if(Y&&be.firstChild.namespaceURI!=ad){a3=function(bi,bj){var bg=new DOMParser(),bf=bg.parseFromString(bj,"text/xml"),bh=U.adoptNode(bf.documentElement);bi.innerHTML="";bi.appendChild(bh)}}})();var aQ=function(X){var bh=this,bg=aQ.formats,Y,bi,bf,be;if(arguments.length===1){X=bh.resolveColor(X);for(i=0;i<bg.length;i++){Y=bg[i].re;bi=bg[i].process;bf=Y.exec(X);if(bf){be=bi(bf);bh.r=be[0];bh.g=be[1];bh.b=be[2]}}}else{bh.r=arguments[0];bh.g=arguments[1];bh.b=arguments[2]}bh.r=bh.normalizeByte(bh.r);bh.g=bh.normalizeByte(bh.g);bh.b=bh.normalizeByte(bh.b)};aQ.prototype={toHex:function(){var X=this,Y=X.padDigit,be=X.r.toString(16);g=X.g.toString(16);b=X.b.toString(16);return"#"+Y(be)+Y(g)+Y(b)},resolveColor:function(X){X=X||aN;if(X.charAt(0)=="#"){X=X.substr(1,6)}X=X.replace(/ /g,"");X=X.toLowerCase();X=aQ.namedColors[X]||X;return X},normalizeByte:function(X){return(X<0||isNaN(X))?0:((X>255)?255:X)},padDigit:function(X){return(X.length===1)?"0"+X:X},brightness:function(X){var Y=this,be=Math.round;Y.r=be(Y.normalizeByte(Y.r*X));Y.g=be(Y.normalizeByte(Y.g*X));Y.b=be(Y.normalizeByte(Y.b*X));return Y}};aQ.formats=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,process:function(X){return[parseInt(X[1],10),parseInt(X[2],10),parseInt(X[3],10)]}},{re:/^(\w{2})(\w{2})(\w{2})$/,process:function(X){return[parseInt(X[1],16),parseInt(X[2],16),parseInt(X[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,process:function(X){return[parseInt(X[1]+X[1],16),parseInt(X[2]+X[2],16),parseInt(X[3]+X[3],16)]}}];aQ.namedColors={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};function C(X,bf,bh){var Y=new aQ(X),be=new aQ(bf),bi=al(Y.r,be.r,bh),bj=al(Y.g,be.g,bh),bg=al(Y.b,be.b,bh);return new aQ(bi,bj,bg).toHex()}function al(X,Y,be){return Math.round(be*Y+(1-be)*X)}function aI(bg,Y){var bj=Y.stops,bf=bj.length,bh=a2({},Y),X,be,bi;bh.stops=[];for(X=0;X<bf;X++){be=bj[X];bi=bh.stops[X]=a2({},bj[X]);bi.color=C(bg,be.color,be.opacity);bi.opacity=0}return bh}a6.Overlays={glass:{fill:{type:"linear",rotation:0,stops:[{offset:0,color:Z,opacity:0},{offset:0.1,color:Z,opacity:0},{offset:0.25,color:Z,opacity:0.4},{offset:0.92,color:Z,opacity:0},{offset:1,color:Z,opacity:0}]}}};function ba(X){return ae(X,{useWithBlock:false,paramName:"d"})}v.scripts.push("telerik.chart.js");v.chart=function(Y,be){var X=this;X.element=Y;v.bind(X.element,{load:be.onLoad});X._chart=new a6(Y,be);X.options=X._chart.options};v.chart.prototype={refresh:function(){var X=this,Y=X._chart;Y.options=X.options;Y.refresh()}};aE.fn.tChart=function(X){return v.create(this,{name:"tChart",init:function(Y,be){return new v.chart(Y,be)},options:X})};aE.fn.tChart.defaults={};a6.Themes={black:{title:{color:Z},legend:{labels:{font:ar,color:Z}},seriesDefaults:{labels:{font:ar,color:Z}},chartArea:{background:"#4f4f4f",border:{color:"#222222",width:1}},seriesColors:["#f9a319","#1edee2","#9eda29","#ffce00","#dd007f"],categoryAxis:{line:{color:Z},labels:{color:Z},majorGridLines:{color:"#854324",visible:true}},valueAxis:{line:{color:Z},labels:{color:Z},majorGridLines:{color:"#854324"}}},"default":{seriesDefaults:{labels:{font:ar}},seriesColors:["#f6921e","#d6de23","#8bc53f","#26a9e0","#9e1f63"],categoryAxis:{majorGridLines:{color:"#aaa",visible:true}},valueAxis:{majorGridLines:{color:"#aaa"}}},forest:{seriesDefaults:{labels:{font:ar}},chartArea:{background:"#d1deb6",border:{color:"#222222",width:1}},seriesColors:["#4d7924","#6dba3a","#efab22","#f05a28","#603813"],categoryAxis:{majorGridLines:{color:"#a7bc75",visible:true}},valueAxis:{majorGridLines:{color:"#a7bc75"}}},hay:{seriesDefaults:{labels:{font:ar}},chartArea:{background:"#ececd8",border:{color:"#bbb99d",width:1}},seriesColors:["#205b02","#61c407","#9cd65f","#bbbe94","#323323"],categoryAxis:{majorGridLines:{color:"#bfbdac",visible:true}},valueAxis:{majorGridLines:{color:"#bfbdac"}}},office2007:{seriesDefaults:{labels:{font:ar}},seriesColors:["#99c62a","#27adcc","#2477c9","#7042b2","#d83636"],categoryAxis:{majorGridLines:{color:"#868686",visible:true}},valueAxis:{majorGridLines:{color:"#868686"}}},office2010black:{title:{color:Z},legend:{labels:{color:Z}},seriesDefaults:{labels:{font:ar,color:Z}},chartArea:{background:"#6f6f6f",border:{color:"#4b4b4b",width:1}},seriesColors:["#99c62a","#27adcc","#2477c9","#7042b2","#d83636"],categoryAxis:{line:{color:Z},labels:{color:Z},majorGridLines:{color:"#999",visible:true}},valueAxis:{line:{color:Z},labels:{color:Z},majorGridLines:{color:"#999"}}},office2010blue:{title:{color:"#384e73"},legend:{labels:{color:"#384e73"}},seriesDefaults:{labels:{font:ar,color:"#384e73"}},chartArea:{border:{color:"#688caf",width:1}},seriesColors:["#99c62a","#27adcc","#2477c9","#7042b2","#d83636"],categoryAxis:{line:{color:"#384e73"},labels:{color:"#384e73"},majorGridLines:{color:"#d1dbe5",visible:true}},valueAxis:{line:{color:"#384e73"},labels:{color:"#384e73"},majorGridLines:{color:"#d1dbe5"}}},office2010silver:{title:{color:"#3b3b3b"},legend:{labels:{font:ar,color:"#3b3b3b"}},seriesDefaults:{labels:{font:ar,color:"#3b3b3b"}},chartArea:{border:{color:"#a4abb2",width:1}},seriesColors:["#99c62a","#27adcc","#2477c9","#7042b2","#d83636"],categoryAxis:{line:{color:"#3b3b3b"},labels:{color:"#3b3b3b"},majorGridLines:{color:"#dbdfe4",visible:true}},valueAxis:{line:{color:"#3b3b3b"},labels:{color:"#3b3b3b"},majorGridLines:{color:"#dbdfe4"}}},outlook:{seriesDefaults:{labels:{font:ar}},chartArea:{background:"#d6e5f3",border:{color:"#688caf",width:1}},seriesColors:["#231f20","#1b75bb","#7da5e0","#f9ec31","#faaf40"],categoryAxis:{majorGridLines:{color:"#7da5e0",visible:true}},valueAxis:{majorGridLines:{color:"#7da5e0"}}},simple:{seriesDefaults:{labels:{font:ar}},chartArea:{border:{color:"#aaaaaa",width:1}},seriesColors:["#231f20","#404041","#58595b","#808184","#929497"],categoryAxis:{majorGridLines:{color:"#d1d1d1",visible:true}},valueAxis:{majorGridLines:{color:"#d1d1d1"}}},sitefinity:{seriesDefaults:{labels:{font:ar}},chartArea:{border:{color:"#aaaaaa",width:1}},seriesColors:["#a2d5e2","#95b979","#f9d67b","#ea9d73","#f19ca8","#d06c6c"],categoryAxis:{line:{color:"#989898"},majorGridLines:{color:"#e2e2e2",visible:true}},valueAxis:{line:{color:"#989898"},majorGridLines:{color:"#e2e2e2"}}},sunset:{title:{color:"#854324"},legend:{labels:{font:ar,color:"#854324"}},seriesDefaults:{labels:{font:ar,color:"#854324"}},chartArea:{background:"#ececd8",border:{color:"#bbb99d",width:1}},seriesColors:["#3f1c12","#ba3b01","#d95a1a","#e7931e","#f9bc12"],categoryAxis:{line:{color:"#854324"},labels:{color:"#854324"},majorGridLines:{color:"#bbb99d",visible:true}},valueAxis:{line:{color:"#854324"},labels:{color:"#854324"},majorGridLines:{color:"#bbb99d"}}},telerik:{seriesDefaults:{labels:{font:ar}},chartArea:{border:{color:"#aaaaaa",width:1}},seriesColors:["#7e7e7e","#cbcbcb","#a2ea8b","#63ac39","#000000"],categoryAxis:{line:{color:"#828282"},majorGridLines:{color:"#c6c6c6",visible:true}},valueAxis:{line:{color:"#828282"},majorGridLines:{color:"#c6c6c6"}}},transparent:{seriesDefaults:{labels:{font:ar},opacity:0.6},chartArea:{background:"",border:{color:"#c5c5c5",width:1}},seriesColors:["#f2f2f2","#4d4d4d","#d4d4d4","#0d0d0d","#999999"],categoryAxis:{line:{color:"#828282"},majorGridLines:{color:"#c5c5c5",visible:true}},valueAxis:{line:{color:"#828282"},majorGridLines:{color:"#c6c6c6"}}},vista:{seriesDefaults:{labels:{font:ar}},chartArea:{border:{color:"#a7bac5",width:1}},seriesColors:["#83abc0","#64d6f4","#3399ff","#03597a","#000000"],categoryAxis:{line:{color:"#333333"},majorGridLines:{color:"#d3d3d3",visible:true}},valueAxis:{line:{color:"#333333"},majorGridLines:{color:"#d3d3d3"}}},web20:{seriesDefaults:{labels:{font:ar}},chartArea:{border:{color:"#829cbf",width:1}},seriesColors:["#0e4302","#64ba36","#a0beea","#3460b9","#2c4072"],categoryAxis:{line:{color:"#4e75b3"},majorGridLines:{color:"#cfd9e7",visible:true}},valueAxis:{line:{color:"#4e75b3"},majorGridLines:{color:"#cfd9e7"}}},webblue:{seriesDefaults:{labels:{font:ar}},chartArea:{border:{color:"#768ca5",width:1}},seriesColors:["#a2b3c7","#76c8e8","#358db0","#426682","#2d3d4f"],categoryAxis:{line:{color:"#426682"},majorGridLines:{color:"#d0d8dd",visible:true}},valueAxis:{line:{color:"#426682"},majorGridLines:{color:"#d0d8dd"}}},windows7:{seriesDefaults:{labels:{font:ar}},chartArea:{border:{color:"#a5b3c5",width:1}},seriesColors:["#a5b3c5","#82afe5","#358db0","#03597a","#152435"],categoryAxis:{majorGridLines:{color:"#dae2e8",visible:true}},valueAxis:{majorGridLines:{color:"#dae2e8"}}}}})();