corrade-nucleus-nucleons – Blame information for rev
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /* |
11 | office | 2 | Highcharts JS v5.0.12 (2017-05-24) |
1 | office | 3 | |
4 | (c) 2009-2016 Torstein Honsi |
||
5 | |||
6 | License: www.highcharts.com/license |
||
7 | */ |
||
11 | office | 8 | (function(v){"object"===typeof module&&module.exports?module.exports=v:v(Highcharts)})(function(v){(function(a){function n(a,c){this.init(a,c)}var r=a.CenteredSeriesMixin,u=a.each,h=a.extend,f=a.merge,k=a.splat;h(n.prototype,{coll:"pane",init:function(a,c){this.chart=c;this.background=[];c.pane.push(this);this.setOptions(a)},setOptions:function(a){this.options=f(this.defaultOptions,this.chart.angular?{background:{}}:void 0,a)},render:function(){var a=this.options,c=this.options.background,e=this.chart.renderer; |
9 | this.group||(this.group=e.g("pane-group").attr({zIndex:a.zIndex||0}).add());this.updateCenter();if(c)for(c=k(c),a=Math.max(c.length,this.background.length||0),e=0;e<a;e++)c[e]&&this.axis?this.renderBackground(f(this.defaultBackgroundOptions,c[e]),e):this.background[e]&&(this.background[e]=this.background[e].destroy(),this.background.splice(e,1))},renderBackground:function(a,c){var e="animate";this.background[c]||(this.background[c]=this.chart.renderer.path().add(this.group),e="attr");this.background[c][e]({d:this.axis.getPlotBandPath(a.from, |
||
10 | a.to,a)}).attr({"class":"highcharts-pane "+(a.className||"")})},defaultOptions:{center:["50%","50%"],size:"85%",startAngle:0},defaultBackgroundOptions:{shape:"circle",from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"},updateCenter:function(a){this.center=(a||this.axis||{}).center=r.getCenter.call(this)},update:function(a,c){f(!0,this.options,a);this.setOptions(this.options);this.render();u(this.chart.axes,function(e){e.pane===this&&(e.pane=null,e.update({},c))},this)}}); |
||
11 | a.Pane=n})(v);(function(a){var n=a.each,r=a.extend,u=a.map,h=a.merge,f=a.noop,k=a.pick,p=a.pInt,c=a.wrap,e,g,l=a.Axis.prototype;a=a.Tick.prototype;e={getOffset:f,redraw:function(){this.isDirty=!1},render:function(){this.isDirty=!1},setScale:f,setCategories:f,setTitle:f};g={defaultRadialGaugeOptions:{labels:{align:"center",x:0,y:null},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0}, |
||
12 | zIndex:2},defaultRadialXOptions:{gridLineWidth:1,labels:{align:null,distance:15,x:0,y:null},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},defaultRadialYOptions:{gridLineInterpolation:"circle",labels:{align:"right",x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}},setOptions:function(b){b=this.options=h(this.defaultOptions,this.defaultRadialOptions,b);b.plotBands||(b.plotBands=[])},getOffset:function(){l.getOffset.call(this);this.chart.axisOffset[this.side]=0},getLinePath:function(b, |
||
13 | d){b=this.center;var c=this.chart,e=k(d,b[2]/2-this.offset);this.isCircular||void 0!==d?d=this.chart.renderer.symbols.arc(this.left+b[0],this.top+b[1],e,e,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0}):(d=this.postTranslate(this.angleRad,e),d=["M",b[0]+c.plotLeft,b[1]+c.plotTop,"L",d.x,d.y]);return d},setAxisTranslation:function(){l.setAxisTranslation.call(this);this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):this.center[2]/ |
||
14 | 2/(this.max-this.min||1),this.minPixelPadding=this.isXAxis?this.transA*this.minPointOffset:0)},beforeSetTickPositions:function(){if(this.autoConnect=this.isCircular&&void 0===k(this.userMax,this.options.max)&&this.endAngleRad-this.startAngleRad===2*Math.PI)this.max+=this.categories&&1||this.pointRange||this.closestPointRange||0},setAxisSize:function(){l.setAxisSize.call(this);this.isRadial&&(this.pane.updateCenter(this),this.isCircular&&(this.sector=this.endAngleRad-this.startAngleRad),this.len=this.width= |
||
15 | this.height=this.center[2]*k(this.sector,1)/2)},getPosition:function(b,d){return this.postTranslate(this.isCircular?this.translate(b):this.angleRad,k(this.isCircular?d:this.translate(b),this.center[2]/2)-this.offset)},postTranslate:function(b,d){var c=this.chart,e=this.center;b=this.startAngleRad+b;return{x:c.plotLeft+e[0]+Math.cos(b)*d,y:c.plotTop+e[1]+Math.sin(b)*d}},getPlotBandPath:function(b,d,c){var e=this.center,q=this.startAngleRad,a=e[2]/2,g=[k(c.outerRadius,"100%"),c.innerRadius,k(c.thickness, |
||
16 | 10)],l=Math.min(this.offset,0),f=/%$/,y,h=this.isCircular;"polygon"===this.options.gridLineInterpolation?e=this.getPlotLinePath(b).concat(this.getPlotLinePath(d,!0)):(b=Math.max(b,this.min),d=Math.min(d,this.max),h||(g[0]=this.translate(b),g[1]=this.translate(d)),g=u(g,function(b){f.test(b)&&(b=p(b,10)*a/100);return b}),"circle"!==c.shape&&h?(b=q+this.translate(b),d=q+this.translate(d)):(b=-Math.PI/2,d=1.5*Math.PI,y=!0),g[0]-=l,g[2]-=l,e=this.chart.renderer.symbols.arc(this.left+e[0],this.top+e[1], |
||
17 | g[0],g[0],{start:Math.min(b,d),end:Math.max(b,d),innerR:k(g[1],g[0]-g[2]),open:y}));return e},getPlotLinePath:function(b,c){var e=this,d=e.center,g=e.chart,a=e.getPosition(b),l,p,f;e.isCircular?f=["M",d[0]+g.plotLeft,d[1]+g.plotTop,"L",a.x,a.y]:"circle"===e.options.gridLineInterpolation?(b=e.translate(b))&&(f=e.getLinePath(0,b)):(n(g.xAxis,function(b){b.pane===e.pane&&(l=b)}),f=[],b=e.translate(b),d=l.tickPositions,l.autoConnect&&(d=d.concat([d[0]])),c&&(d=[].concat(d).reverse()),n(d,function(e,d){p= |
||
18 | l.getPosition(e,b);f.push(d?"L":"M",p.x,p.y)}));return f},getTitlePosition:function(){var b=this.center,e=this.chart,c=this.options.title;return{x:e.plotLeft+b[0]+(c.x||0),y:e.plotTop+b[1]-{high:.5,middle:.25,low:0}[c.align]*b[2]+(c.y||0)}}};c(l,"init",function(b,c,a){var d=c.angular,q=c.polar,l=a.isX,f=d&&l,p,F=c.options,y=this.pane=c.pane[a.pane||0],n=y.options;if(d){if(r(this,f?e:g),p=!l)this.defaultRadialOptions=this.defaultRadialGaugeOptions}else q&&(r(this,g),this.defaultRadialOptions=(p=l)? |
||
19 | this.defaultRadialXOptions:h(this.defaultYAxisOptions,this.defaultRadialYOptions));d||q?(this.isRadial=!0,c.inverted=!1,F.chart.zoomType=null):this.isRadial=!1;p&&(y.axis=this);b.call(this,c,a);f||!d&&!q||(b=this.options,this.angleRad=(b.angle||0)*Math.PI/180,this.startAngleRad=(n.startAngle-90)*Math.PI/180,this.endAngleRad=(k(n.endAngle,n.startAngle+360)-90)*Math.PI/180,this.offset=b.offset||0,this.isCircular=p)});c(l,"autoLabelAlign",function(b){if(!this.isRadial)return b.apply(this,[].slice.call(arguments, |
||
20 | 1))});c(a,"getPosition",function(b,c,e,g,a){var d=this.axis;return d.getPosition?d.getPosition(e):b.call(this,c,e,g,a)});c(a,"getLabelPosition",function(b,c,e,g,a,l,p,f,h){var d=this.axis,q=l.y,m=20,t=l.align,x=(d.translate(this.pos)+d.startAngleRad+Math.PI/2)/Math.PI*180%360;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/2+k(l.distance,-25)),"auto"===l.rotation?g.attr({rotation:x}):null===q&&(q=d.chart.renderer.fontMetrics(g.styles.fontSize).b-g.getBBox().height/2),null===t&&(d.isCircular?(this.label.getBBox().width> |
||
21 | d.len*d.tickInterval/(d.max-d.min)&&(m=0),t=x>m&&x<180-m?"left":x>180+m&&x<360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/2+g),c=["M",c,e,"L",b.x,b.y]):c=b.call(this,c,e,g,a,l,p);return c})})(v);(function(a){var n=a.each,r=a.noop,u=a.pick,h=a.Series,f=a.seriesType,k=a.seriesTypes;f("arearange","area",{marker:null,threshold:null,360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return>180-m?"left":x> |
||
1 | office | 22 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/tooltip:{pointFormat:'\x3cspan class\x3d"highcharts-color-{series.colorIndex}"\x3e\u25cf\x3c/span\x3e {series.name}: \x3cb\x3e{point.low}\x3c/b\x3e - \x3cb\x3e{point.high}\x3c/b\x3e\x3cbr/\x3e'},trackByArea:!0,dataLabels:{align:null,verticalAlign:null,xLow:0,xHigh:0,yLow:0,yHigh:0},states:{hover:{halo:!1}}},{pointArrayMap:["low","high"],dataLabelCollections:["dataLabel","dataLabelUpper"],toYData:function(a){return[a.low,a.high]},pointValKey:"low",deferTranslatePolar:!0,highToXY:function(a){var c=360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return>180-m?"left":x> |
11 | office | 23 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/this.chart,e=this.xAxis.postTranslate(a.rectPlotX,this.yAxis.len-a.plotHigh);a.plotHighX=e.x-c.plotLeft;a.plotHigh=e.y-c.plotTop},translate:function(){var a=this,c=a.yAxis,e=!!a.modifyValue;k.area.prototype.translate.apply(a);n(a.points,function(g){var l=g.low,b=g.high,d=g.plotY;null===b||null===l?g.isNull=!0:(g.plotLow=d,g.plotHigh=c.translate(e?a.modifyValue(b,g):b,0,1,0,1),e&&(g.yBottom=g.plotHigh))});this.chart.polar&&n(this.points,function(c){a.highToXY(c)})},getGraphPath:function(a){var c=[],360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return>180-m?"left":x> |
24 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/e=[],g,l=k.area.prototype.getGraphPath,b,d,q;q=this.options;var t=this.chart.polar&&!1!==q.connectEnds,m=q.connectNulls,f=q.step;a=a||this.points;for(g=a.length;g--;)b=a[g],b.isNull||t||m||a[g+1]&&!a[g+1].isNull||e.push({plotX:b.plotX,plotY:b.plotY,doCurve:!1}),d={polarPlotY:b.polarPlotY,rectPlotX:b.rectPlotX,yBottom:b.yBottom,plotX:u(b.plotHighX,b.plotX),plotY:b.plotHigh,isNull:b.isNull},e.push(d),c.push(d),b.isNull||t||m||a[g-1]&&!a[g-1].isNull||e.push({plotX:b.plotX,plotY:b.plotY,doCurve:!1});360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return>180-m?"left":x> |
||
25 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/a=l.call(this,a);f&&(!0===f&&(f="left"),q.step={left:"right",center:"center",right:"left"}[f]);c=l.call(this,c);e=l.call(this,e);q.step=f;q=[].concat(a,c);this.chart.polar||"M"!==e[0]||(e[0]="L");this.graphPath=q;this.areaPath=this.areaPath.concat(a,e);q.isArea=!0;q.xMap=a.xMap;this.areaPath.xMap=a.xMap;return q},drawDataLabels:function(){var a=this.data,c=a.length,e,g=[],l=h.prototype,b=this.options.dataLabels,d=b.align,q=b.verticalAlign,t=b.inside,m,f,w=this.chart.inverted;if(b.enabled||this._hasPointLabels){for(e=360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return>180-m?"left":x> |
||
26 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/c;e--;)if(m=a[e])f=t?m.plotHigh<m.plotLow:m.plotHigh>m.plotLow,m.y=m.high,m._plotY=m.plotY,m.plotY=m.plotHigh,g[e]=m.dataLabel,m.dataLabel=m.dataLabelUpper,m.below=f,w?d||(b.align=f?"right":"left"):q||(b.verticalAlign=f?"top":"bottom"),b.x=b.xHigh,b.y=b.yHigh;l.drawDataLabels&&l.drawDataLabels.apply(this,arguments);for(e=c;e--;)if(m=a[e])f=t?m.plotHigh<m.plotLow:m.plotHigh>m.plotLow,m.dataLabelUpper=m.dataLabel,m.dataLabel=g[e],m.y=m.low,m.plotY=m._plotY,m.below=!f,w?d||(b.align=f?"left":"right"):360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return>180-m?"left":x> |
||
27 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/q||(b.verticalAlign=f?"bottom":"top"),b.x=b.xLow,b.y=b.yLow;l.drawDataLabels&&l.drawDataLabels.apply(this,arguments)}b.align=d;b.verticalAlign=q},alignDataLabel:function(){k.column.prototype.alignDataLabel.apply(this,arguments)},setStackedPoints:r,getSymbol:r,drawPoints:r})})(v);(function(a){var n=a.seriesType;n("areasplinerange","arearange",null,{getPointSpline:a.seriesTypes.spline.prototype.getPointSpline})})(v);(function(a){var n=a.defaultPlotOptions,r=a.each,u=a.merge,h=a.noop,f=a.pick,k=a.seriesType,360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return>180-m?"left":x> |
||
28 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/p=a.seriesTypes.column.prototype;k("columnrange","arearange",u(n.column,n.arearange,{lineWidth:1,pointRange:null}),{translate:function(){var c=this,e=c.yAxis,a=c.xAxis,l=a.startAngleRad,b,d=c.chart,q=c.xAxis.isRadial,t;p.translate.apply(c);r(c.points,function(g){var m=g.shapeArgs,w=c.options.minPointLength,h,k;g.plotHigh=t=e.translate(g.high,0,1,0,1);g.plotLow=g.plotY;k=t;h=f(g.rectPlotY,g.plotY)-t;Math.abs(h)<w?(w-=h,h+=w,k-=w/2):0>h&&(h*=-1,k-=h);q?(b=g.barX+l,g.shapeType="path",g.shapeArgs={d:c.polarArc(k+360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return>180-m?"left":x> |
||
29 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/h,k,b,b+g.pointWidth)}):(m.height=h,m.y=k,g.tooltipPos=d.inverted?[e.len+e.pos-d.plotLeft-k-h/2,a.len+a.pos-d.plotTop-m.x-m.width/2,h]:[a.left-d.plotLeft+m.x+m.width/2,e.pos-d.plotTop+k+h/2,h])})},directTouch:!0,trackerGroups:["group","dataLabelsGroup"],drawGraph:h,crispCol:p.crispCol,drawPoints:p.drawPoints,drawTracker:p.drawTracker,getColumnMetrics:p.getColumnMetrics,animate:function(){return p.animate.apply(this,arguments)},polarArc:function(){return p.polarArc.apply(this,arguments)},pointAttribs:p.pointAttribs})})(v);360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return>180-m?"left":x> |
||
30 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/(function(a){var n=a.each,r=a.isNumber,u=a.merge,h=a.pick,f=a.pInt,k=a.Series,p=a.seriesType,c=a.TrackerMixin;p("gauge","line",{dataLabels:{enabled:!0,defer:!1,y:15,borderRadius:3,crop:!1,verticalAlign:"top",zIndex:2},dial:{},pivot:{},tooltip:{headerFormat:""},showInLegend:!1},{angular:!0,directTouch:!0,drawGraph:a.noop,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],translate:function(){var c=this.yAxis,a=this.options,l=c.center;this.generatePoints();n(this.points,360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return>180-m?"left":x> |
||
31 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/function(b){var d=u(a.dial,b.dial),e=f(h(d.radius,80))*l[2]/200,g=f(h(d.baseLength,70))*e/100,m=f(h(d.rearLength,10))*e/100,k=d.baseWidth||3,w=d.topWidth||1,p=a.overshoot,n=c.startAngleRad+c.translate(b.y,null,null,null,!0);r(p)?(p=p/180*Math.PI,n=Math.max(c.startAngleRad-p,Math.min(c.endAngleRad+p,n))):!1===a.wrap&&(n=Math.max(c.startAngleRad,Math.min(c.endAngleRad,n)));n=180*n/Math.PI;b.shapeType="path";b.shapeArgs={d:d.path||["M",-m,-k/2,"L",g,-k/2,e,-w/2,e,w/2,g,k/2,-m,k/2,"z"],translateX:l[0],360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return>180-m?"left":x> |
||
32 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/translateY:l[1],rotation:n};b.plotX=l[0];b.plotY=l[1]})},drawPoints:function(){var c=this,a=c.yAxis.center,l=c.pivot,b=c.options,d=b.pivot,q=c.chart.renderer;n(c.points,function(d){var e=d.graphic,a=d.shapeArgs,g=a.d;u(b.dial,d.dial);e?(e.animate(a),a.d=g):d.graphic=q[d.shapeType](a).attr({rotation:a.rotation,zIndex:1}).addClass("highcharts-dial").add(c.group)});l?l.animate({translateX:a[0],translateY:a[1]}):c.pivot=q.circle(0,0,h(d.radius,5)).attr({zIndex:2}).addClass("highcharts-pivot").translate(a[0],360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return>180-m?"left":x> |
||
33 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/a[1]).add(c.group)},animate:function(c){var e=this;c||(n(e.points,function(c){var b=c.graphic;b&&(b.attr({rotation:180*e.yAxis.startAngleRad/Math.PI}),b.animate({rotation:c.shapeArgs.rotation},e.options.animation))}),e.animate=null)},render:function(){this.group=this.plotGroup("group","series",this.visible?"visible":"hidden",this.options.zIndex,this.chart.seriesGroup);k.prototype.render.call(this);this.group.clip(this.chart.clipRect)},setData:function(c,a){k.prototype.setData.call(this,c,!1);this.processData();360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return>180-m?"left":x> |
||
34 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/this.generatePoints();h(a,!0)&&this.chart.redraw()},drawTracker:c&&c.drawTrackerPoint},{setState:function(c){this.state=c}})})(v);(function(a){var n=a.each,r=a.noop,u=a.seriesType,h=a.seriesTypes;u("boxplot","column",{threshold:null,tooltip:{pointFormat:'\x3cspan class\x3d"highcharts-color-{point.colorIndex}"\x3e\u25cf\x3c/span\x3e \x3cb\x3e {series.name}\x3c/b\x3e\x3cbr/\x3eMaximum: {point.high}\x3cbr/\x3eUpper quartile: {point.q3}\x3cbr/\x3eMedian: {point.median}\x3cbr/\x3eLower quartile: {point.q1}\x3cbr/\x3eMinimum: {point.low}\x3cbr/\x3e'},360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return>180-m?"left":x> |
||
35 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/whiskerLength:"50%"},{pointArrayMap:["low","q1","median","q3","high"],toYData:function(a){return[a.low,a.q1,a.median,a.q3,a.high]},pointValKey:"high",drawDataLabels:r,translate:function(){var a=this.yAxis,k=this.pointArrayMap;h.column.prototype.translate.apply(this);n(this.points,function(f){n(k,function(c){null!==f[c]&&(f[c+"Plot"]=a.translate(f[c],0,1,0,1))})})},drawPoints:function(){var a=this,h=a.chart.renderer,p,c,e,g,l,b,d=0,q,t,m,x,w=!1!==a.doQuartiles,r,u=a.options.whiskerLength;n(a.points,360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return>180-m?"left":x> |
||
36 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/function(f){var k=f.graphic,n=k?"animate":"attr",E=f.shapeArgs;void 0!==f.plotY&&(q=E.width,t=Math.floor(E.x),m=t+q,x=Math.round(q/2),p=Math.floor(w?f.q1Plot:f.lowPlot),c=Math.floor(w?f.q3Plot:f.lowPlot),e=Math.floor(f.highPlot),g=Math.floor(f.lowPlot),k||(f.graphic=k=h.g("point").add(a.group),f.stem=h.path().addClass("highcharts-boxplot-stem").add(k),u&&(f.whiskers=h.path().addClass("highcharts-boxplot-whisker").add(k)),w&&(f.box=h.path(void 0).addClass("highcharts-boxplot-box").add(k)),f.medianShape=360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return>180-m?"left":x> |
||
37 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/h.path(void 0).addClass("highcharts-boxplot-median").add(k)),b=f.stem.strokeWidth()%2/2,d=t+x+b,f.stem[n]({d:["M",d,c,"L",d,e,"M",d,p,"L",d,g]}),w&&(b=f.box.strokeWidth()%2/2,p=Math.floor(p)+b,c=Math.floor(c)+b,t+=b,m+=b,f.box[n]({d:["M",t,c,"L",t,p,"L",m,p,"L",m,c,"L",t,c,"z"]})),u&&(b=f.whiskers.strokeWidth()%2/2,e+=b,g+=b,r=/%$/.test(u)?x*parseFloat(u)/100:u/2,f.whiskers[n]({d:["M",d-r,e,"L",d+r,e,"M",d-r,g,"L",d+r,g]})),l=Math.round(f.medianPlot),b=f.medianShape.strokeWidth()%2/2,l+=b,f.medianShape[n]({d:["M",360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return>180-m?"left":x> |
||
38 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/t,l,"L",m,l]}))})},setStackedPoints:r})})(v);(function(a){var n=a.each,r=a.noop,u=a.seriesType,h=a.seriesTypes;u("errorbar","boxplot",{grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'\x3cspan style\x3d"color:{point.color}"\x3e\u25cf\x3c/span\x3e {series.name}: \x3cb\x3e{point.low}\x3c/b\x3e - \x3cb\x3e{point.high}\x3c/b\x3e\x3cbr/\x3e'},whiskerWidth:null},{type:"errorbar",pointArrayMap:["low","high"],toYData:function(a){return[a.low,a.high]},pointValKey:"high",doQuartiles:!1,drawDataLabels:h.arearange?360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return>180-m?"left":x> |
||
39 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/function(){var a=this.pointValKey;h.arearange.prototype.drawDataLabels.call(this);n(this.data,function(f){f.y=f[a]})}:r,getColumnMetrics:function(){return this.linkedParent&&this.linkedParent.columnMetrics||h.column.prototype.getColumnMetrics.call(this)}})})(v);(function(a){var n=a.correctFloat,r=a.isNumber,u=a.pick,h=a.Point,f=a.Series,k=a.seriesType,p=a.seriesTypes;k("waterfall","column",{dataLabels:{inside:!0}},{pointValKey:"y",translate:function(){var c=this.options,a=this.yAxis,g,l,b,d,f,t,m,360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return>180-m?"left":x> |
||
40 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/h,w,k,r=u(c.minPointLength,5),v=r/2,A=c.threshold,B=c.stacking,z;p.column.prototype.translate.apply(this);h=w=A;l=this.points;g=0;for(c=l.length;g |
||
41 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/ |
||
42 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/ |
||
43 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/ |
||
44 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/ |
||
45 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/ |
||
46 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/ |
||
47 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/ |
||
48 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/ |
||
49 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/ |
||
50 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/ |
||
51 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/ |
||
52 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/ |
||
53 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/ |
||
54 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/ |
||
55 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/ |
||
56 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/ |
||
57 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/ |
||
58 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/ |
||
59 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/ |
||
60 | <180-m?"left":x><360-m?"right":"center"):t="center",g.attr({align:t})),b.x+=l.x,b.y+=q):b=b.call(this,c,e,g,a,l,p,f,h);return b});c(a,"getMarkPath",function(b,c,e,g,a,l,p){var d=this.axis;d.isRadial?(b=d.getPosition(this.pos,d.center[2]/ |