diff --git a/css/statbate.css b/css/statbate.css index cabcc32..b7345d1 100644 --- a/css/statbate.css +++ b/css/statbate.css @@ -77,15 +77,22 @@ a:active { } .content_info { - border-bottom: 1px solid #dee2e6; - padding-top: 12px; - padding-bottom: 12px; - display: flex; - grid-gap: 12px; + display: flex; + grid-gap: 12px; +} + +.content_activity { + flex: 1; + min-height: 123px; + position: relative; + border-radius: 4px; + overflow: hidden; + background: #efefef; + box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 2px 1px -1px rgba(0, 0, 0, 0.12), 0 1px 3px 0 rgba(0, 0, 0, 0.2); } .online { - width: 465px; + min-width: 465px; padding: 4px; background: #efefef; border-radius: 4px; @@ -529,6 +536,11 @@ input[type="search"]::-webkit-search-cancel-button { @media (max-width: 690px) { + + .content_info { + flex-direction: column-reverse; + } + .content_center { flex-direction: column-reverse; grid-gap: 12px; @@ -575,6 +587,7 @@ input[type="search"]::-webkit-search-cancel-button { .header_mobile_nav { margin-left: 12px; margin-right: 12px; + border-radius: 4px; } } diff --git a/js/highcharts-more.js b/js/highcharts-more.js new file mode 100644 index 0000000..cd02938 --- /dev/null +++ b/js/highcharts-more.js @@ -0,0 +1,200 @@ +/* + Highcharts JS v10.2.0 (2022-07-05) + + (c) 2009-2021 Torstein Honsi + + License: www.highcharts.com/license +*/ +(function(f){"object"===typeof module&&module.exports?(f["default"]=f,module.exports=f):"function"===typeof define&&define.amd?define("highcharts/highcharts-more",["highcharts"],function(A){f(A);f.Highcharts=A;return f}):f("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(f){function A(f,b,e,a){f.hasOwnProperty(b)||(f[b]=a.apply(null,e),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:b,module:f[b]}})))}f=f?f._modules:{};A(f, +"Extensions/Pane.js",[f["Core/Chart/Chart.js"],f["Series/CenteredUtilities.js"],f["Core/Globals.js"],f["Core/Pointer.js"],f["Core/Utilities.js"]],function(f,b,e,a,d){function p(c,t,h){return Math.sqrt(Math.pow(c-h[0],2)+Math.pow(t-h[1],2))<=h[2]/2}var l=d.addEvent,k=d.extend,y=d.merge,B=d.pick,c=d.splat;f.prototype.collectionsWithUpdate.push("pane");d=function(){function g(c,h){this.options=this.chart=this.center=this.background=void 0;this.coll="pane";this.defaultOptions={center:["50%","50%"],size:"85%", +innerSize:"0%",startAngle:0};this.defaultBackgroundOptions={shape:"circle",borderWidth:1,borderColor:"#cccccc",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#ffffff"],[1,"#e6e6e6"]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"};this.init(c,h)}g.prototype.init=function(c,h){this.chart=h;this.background=[];h.pane.push(this);this.setOptions(c)};g.prototype.setOptions=function(c){this.options=y(this.defaultOptions,this.chart.angular?{background:{}}:void 0, +c)};g.prototype.render=function(){var g=this.options,h=this.options.background,z=this.chart.renderer;this.group||(this.group=z.g("pane-group").attr({zIndex:g.zIndex||0}).add());this.updateCenter();if(h)for(h=c(h),g=Math.max(h.length,this.background.length||0),z=0;z\u25cf {series.name}: {point.low} - {point.high}
'},trackByArea:!0,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}};a=function(a){function b(){var c=null!==a&&a.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;c.lowerStateMarkerGraphic=void 0;c.xAxis=void 0;return c}d(b,a);b.prototype.toYData=function(c){return[c.low,c.high]};b.prototype.highToXY=function(c){var a= +this.chart,C=this.xAxis.postTranslate(c.rectPlotX||0,this.yAxis.len-c.plotHigh);c.plotHighX=C.x-a.plotLeft;c.plotHigh=C.y-a.plotTop;c.plotLowX=c.plotX};b.prototype.translate=function(){var c=this,a=c.yAxis;k.translate.apply(c);c.points.forEach(function(C){var g=C.high,r=C.plotY;C.isNull?C.plotY=null:(C.plotLow=r,C.plotHigh=a.translate(c.dataModify?c.dataModify.modifyValue(g):g,0,1,0,1),c.dataModify&&(C.yBottom=C.plotHigh))});this.chart.polar&&this.points.forEach(function(a){c.highToXY(a);a.tooltipPos= +[(a.plotHighX+a.plotLowX)/2,(a.plotHigh+a.plotLow)/2]})};b.prototype.getGraphPath=function(c){var a=[],g=[],h=k.getGraphPath,r=this.options,q=this.chart.polar,v=q&&!1!==r.connectEnds,b=r.connectNulls,d,z=r.step;c=c||this.points;for(d=c.length;d--;){var e=c[d];var n=q?{plotX:e.rectPlotX,plotY:e.yBottom,doCurve:!1}:{plotX:e.plotX,plotY:e.plotY,doCurve:!1};e.isNull||v||b||c[d+1]&&!c[d+1].isNull||g.push(n);var m={polarPlotY:e.polarPlotY,rectPlotX:e.rectPlotX,yBottom:e.yBottom,plotX:t(e.plotHighX,e.plotX), +plotY:e.plotHigh,isNull:e.isNull};g.push(m);a.push(m);e.isNull||v||b||c[d-1]&&!c[d-1].isNull||g.push(n)}c=h.call(this,c);z&&(!0===z&&(z="left"),r.step={left:"right",center:"center",right:"left"}[z]);a=h.call(this,a);g=h.call(this,g);r.step=z;r=[].concat(c,a);!this.chart.polar&&g[0]&&"M"===g[0][0]&&(g[0]=["L",g[0][1],g[0][2]]);this.graphPath=r;this.areaPath=c.concat(g);r.isArea=!0;r.xMap=c.xMap;this.areaPath.xMap=c.xMap;return r};b.prototype.drawDataLabels=function(){var a=this.points,h=a.length,C= +[],b=this.options.dataLabels,r=this.chart.inverted,q,v;if(b){if(g(b)){var d=b[0]||{enabled:!1};var z=b[1]||{enabled:!1}}else d=c({},b),d.x=b.xHigh,d.y=b.yHigh,z=c({},b),z.x=b.xLow,z.y=b.yLow;if(d.enabled||this._hasPointLabels){for(q=h;q--;)if(v=a[q]){var t=d.inside?v.plotHighv.plotLow;v.y=v.high;v._plotY=v.plotY;v.plotY=v.plotHigh;C[q]=v.dataLabel;v.dataLabel=v.dataLabelUpper;v.below=t;r?d.align||(d.align=t?"right":"left"):d.verticalAlign||(d.verticalAlign=t?"top":"bottom")}this.options.dataLabels= +d;k.drawDataLabels&&k.drawDataLabels.apply(this,arguments);for(q=h;q--;)if(v=a[q])v.dataLabelUpper=v.dataLabel,v.dataLabel=C[q],delete v.dataLabels,v.y=v.low,v.plotY=v._plotY}if(z.enabled||this._hasPointLabels){for(q=h;q--;)if(v=a[q])t=z.inside?v.plotHighv.plotLow,v.below=!t,r?z.align||(z.align=t?"left":"right"):z.verticalAlign||(z.verticalAlign=t?"bottom":"top");this.options.dataLabels=z;k.drawDataLabels&&k.drawDataLabels.apply(this,arguments)}if(d.enabled)for(q=h;q--;)if(v= +a[q])v.dataLabels=[v.dataLabelUpper,v.dataLabel].filter(function(c){return!!c});this.options.dataLabels=b}};b.prototype.alignDataLabel=function(){y.alignDataLabel.apply(this,arguments)};b.prototype.drawPoints=function(){var a=this.points.length,g;k.drawPoints.apply(this,arguments);for(g=0;g\u25cf {series.name}
Maximum: {point.high}
Upper quartile: {point.q3}
Median: {point.median}
Lower quartile: {point.q1}
Minimum: {point.low}
'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2});return b}(f);p(a.prototype,{pointArrayMap:["low","q1", +"median","q3","high"],pointValKey:"high",drawDataLabels:b,setStackedPoints:b});e.registerSeriesType("boxplot",a);"";return a});A(f,"Series/Bubble/BubbleLegendDefaults.js",[],function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:"#000000"},x:0,y:0},maxSize:60,minSize:10, +legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}});A(f,"Series/Bubble/BubbleLegendItem.js",[f["Core/Color/Color.js"],f["Core/FormatUtilities.js"],f["Core/Globals.js"],f["Core/Utilities.js"]],function(f,b,e,a){var d=f.parse,p=e.noop,l=a.arrayMax,k=a.arrayMin,y=a.isNumber,B=a.merge,c=a.pick,g=a.stableSort;"";return function(){function a(c,a){this.options=this.symbols=this.visible=this.selected=this.ranges= +this.movementX=this.maxLabel=this.legendSymbol=this.legendItemWidth=this.legendItemHeight=this.legendItem=this.legendGroup=this.legend=this.fontMetrics=this.chart=void 0;this.setState=p;this.init(c,a)}a.prototype.init=function(c,a){this.options=c;this.visible=!0;this.chart=a.chart;this.legend=a};a.prototype.addToLegend=function(c){c.splice(this.options.legendIndex,0,this)};a.prototype.drawLegendSymbol=function(a){var h=this.chart,b=this.options,d=c(a.options.itemDistance,20),e=b.ranges,k=b.connectorDistance; +this.fontMetrics=h.renderer.fontMetrics(b.labels.style.fontSize);e&&e.length&&y(e[0].value)?(g(e,function(c,a){return a.value-c.value}),this.ranges=e,this.setOptions(),this.render(),a=this.getMaxLabelSize(),e=this.ranges[0].radius,h=2*e,k=k-e+a.width,k=0=a&&this.renderRange(c)},this);this.legendSymbol.add(this.legendItem);this.legendItem.add(this.legendGroup);this.hideOverlappingLabels()};a.prototype.renderRange=function(c){var a=this.options,g=a.labels,b=this.chart,h=b.series[a.seriesIndex],d=b.renderer,e=this.symbols;b=e.labels;var k=c.center,r=Math.abs(c.radius),q=a.connectorDistance|| +0,v=g.align,f=a.connectorWidth,H=this.ranges[0].radius||0,t=k-r-a.borderWidth/2+f/2,l=this.fontMetrics;l=l.f/2-(l.h-l.f)/2;var n=d.styledMode;q=this.legend.options.rtl||"left"===v?-q:q;"center"===v&&(q=0,a.connectorDistance=0,c.labelAttribs.align="center");v=t+a.labels.y;var m=H+q+a.labels.x;e.bubbleItems.push(d.circle(H,k+((t%1?1:.5)-(f%2?0:.5)),r).attr(n?{}:c.bubbleAttribs).addClass((n?"highcharts-color-"+h.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(a.className||"")).add(this.legendSymbol)); +e.connectors.push(d.path(d.crispLine([["M",H,t],["L",H+q,t]],a.connectorWidth)).attr(n?{}:c.connectorAttribs).addClass((n?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(a.connectorClassName||"")).add(this.legendSymbol));c=d.text(this.formatLabel(c),m,v+l).attr(n?{}:c.labelAttribs).css(n?{}:g.style).addClass("highcharts-bubble-legend-labels "+(a.labels.className||"")).add(this.legendSymbol);b.push(c);c.placed=!0;c.alignAttr={x:m,y:v+l}};a.prototype.getMaxLabelSize= +function(){var c,a;this.symbols.labels.forEach(function(g){a=g.getBBox(!0);c=c?a.width>c.width?a:c:a});return c||{}};a.prototype.formatLabel=function(c){var a=this.options,g=a.labels.formatter;a=a.labels.format;var d=this.chart.numberFormatter;return a?b.format(a,c):g?g.call(c):d(c.value,1)};a.prototype.hideOverlappingLabels=function(){var c=this.chart,a=this.symbols;!this.options.labels.allowOverlap&&a&&(c.hideOverlappingLabels(a.labels),a.labels.forEach(function(c,g){c.newOpacity?c.newOpacity!== +c.oldOpacity&&a.connectors[g].show():a.connectors[g].hide()}))};a.prototype.getRanges=function(){var a=this.legend.bubbleLegend,g=a.options.ranges,b,d=Number.MAX_VALUE,e=-Number.MAX_VALUE;a.chart.series.forEach(function(a){a.isBubble&&!a.ignoreSeries&&(b=a.zData.filter(y),b.length&&(d=c(a.options.zMin,Math.min(d,Math.max(k(b),!1===a.options.displayNegative?a.options.zThreshold:-Number.MAX_VALUE))),e=c(a.options.zMax,Math.max(e,l(b)))))});var f=d===e?[{value:e}]:[{value:d},{value:(d+e)/2},{value:e, +autoRanges:!0}];g.length&&g[0].radius&&f.reverse();f.forEach(function(c,a){g&&g[a]&&(f[a]=B(g[a],c))});return f};a.prototype.predictBubbleSizes=function(){var c=this.chart,a=this.fontMetrics,g=c.legend.options,b=g.floating,d=(g="horizontal"===g.layout)?c.legend.lastLineHeight:0,e=c.plotSizeX,k=c.plotSizeY,D=c.series[this.options.seriesIndex],r=D.getPxExtremes();c=Math.ceil(r.minPxSize);r=Math.ceil(r.maxPxSize);var q=Math.min(k,e);D=D.options.maxSize;if(b||!/%$/.test(D))a=r;else if(D=parseFloat(D), +a=(q+d-a.h/2)*D/100/(D/100+1),g&&k-a>=e||!g&&e-a>=k)a=r;return[c,Math.ceil(a)]};a.prototype.updateRanges=function(c,a){var g=this.legend.options.bubbleLegend;g.minSize=c;g.maxSize=a;g.ranges=this.getRanges()};a.prototype.correctSizes=function(){var c=this.legend,a=this.chart.series[this.options.seriesIndex].getPxExtremes();1d.height&&(d.height=c[r].itemHeight);d.step=b}return a}function h(c){var a=this.bubbleLegend,d=this.options,h=d.bubbleLegend,r=g(this.chart);a&&a.ranges&&a.ranges.length&&(h.ranges.length&&(h.autoRanges=!!h.ranges[0].autoRanges),this.destroyItem(a)); +0<=r&&d.enabled&&h.enabled&&(h.seriesIndex=r,this.bubbleLegend=new b(h,this),this.bubbleLegend.addToLegend(c.allItems))}function z(){var c=this.chart,a=this.visible,b=this.chart.legend;b&&b.bubbleLegend&&(this.visible=!a,this.ignoreSeries=a,c=0<=g(c),b.bubbleLegend.visible!==c&&(b.update({bubbleLegend:{enabled:c}}),b.bubbleLegend.visible=c),this.visible=a)}function y(c,a){var g=c.options.rtl,b,r,d,h=0;c.allItems.forEach(function(c,q){b=c.legendGroup.translateX;r=c._legendItemPos[1];if((d=c.movementX)|| +g&&c.ranges)d=g?b-c.options.maxSize/2:b+d,c.legendGroup.attr({translateX:d});q>a[h].step&&h++;c.legendGroup.attr({translateY:Math.round(r+a[h].height/2)});c._legendItemPos[1]=r+a[h].height/2})}var B=[];a.compose=function(a,g,b){-1===B.indexOf(a)&&(B.push(a),d({legend:{bubbleLegend:f}}),k(a.prototype,"drawChartBox",c));-1===B.indexOf(g)&&(B.push(g),p(g,"afterGetAllItems",h));-1===B.indexOf(b)&&(B.push(b),p(b,"legendItemClick",z))}})(y||(y={}));return y});A(f,"Series/Bubble/BubblePoint.js",[f["Core/Series/Point.js"], +f["Core/Series/SeriesRegistry.js"],f["Core/Utilities.js"]],function(f,b,e){var a=this&&this.__extends||function(){var a=function(b,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d])};return a(b,d)};return function(b,d){function e(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(e.prototype=d.prototype,new e)}}();e=e.extend;b=function(b){function d(){var a=null!==b&&b.apply(this,arguments)|| +this;a.options=void 0;a.series=void 0;return a}a(d,b);d.prototype.haloPath=function(a){return f.prototype.haloPath.call(this,0===a?0:(this.marker?this.marker.radius||0:0)+a)};return d}(b.seriesTypes.scatter.prototype.pointClass);e(b.prototype,{ttBelow:!1});return b});A(f,"Series/Bubble/BubbleSeries.js",[f["Core/Axis/Axis.js"],f["Series/Bubble/BubbleLegendComposition.js"],f["Series/Bubble/BubblePoint.js"],f["Core/Color/Color.js"],f["Core/Globals.js"],f["Core/Series/Series.js"],f["Core/Series/SeriesRegistry.js"], +f["Core/Utilities.js"]],function(f,b,e,a,d,p,l,k){var y=this&&this.__extends||function(){var c=function(a,r){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,a){c.__proto__=a}||function(c,a){for(var r in a)a.hasOwnProperty(r)&&(c[r]=a[r])};return c(a,r)};return function(a,r){function b(){this.constructor=a}c(a,r);a.prototype=null===r?Object.create(r):(b.prototype=r.prototype,new b)}}(),B=a.parse;a=d.noop;var c=l.seriesTypes;d=c.column;var g=c.scatter;c=k.addEvent;var t=k.arrayMax, +h=k.arrayMin,z=k.clamp,J=k.extend,I=k.isNumber,K=k.merge,E=k.pick;k=function(c){function a(){var a=null!==c&&c.apply(this,arguments)||this;a.data=void 0;a.maxPxSize=void 0;a.minPxSize=void 0;a.options=void 0;a.points=void 0;a.radii=void 0;a.yData=void 0;a.zData=void 0;return a}y(a,c);a.prototype.animate=function(a){!a&&this.points.length=b/2?(d.marker=J(d.marker,{radius:h,width:2*h,height:2*h}),d.dlBox= +{x:d.plotX-h,y:d.plotY-h,width:2*h,height:2*h}):(d.shapeArgs=d.dlBox=void 0,d.plotY=0,d.marker={width:0,height:0})}};a.prototype.getPxExtremes=function(){var a=Math.min(this.chart.plotWidth,this.chart.plotHeight),c=function(c){if("string"===typeof c){var b=/%$/.test(c);c=parseInt(c,10)}return b?a*c/100:c},b=c(E(this.options.minSize,8));c=Math.max(c(E(this.options.maxSize,"20%")),b);return{minPxSize:b,maxPxSize:c}};a.prototype.getZExtremes=function(){var c=this.options,a=(this.zData||[]).filter(I); +if(a.length){var b=E(c.zMin,z(h(a),!1===c.displayNegative?c.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE));c=E(c.zMax,t(a));if(I(b)&&I(c))return{zMin:b,zMax:c}}};a.compose=b.compose;a.defaultOptions=K(g.defaultOptions,{dataLabels:{formatter:function(){var c=this.series.chart.numberFormatter,a=this.point.z;return I(a)?c(a,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8, +maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"});return a}(g);J(k.prototype,{alignDataLabel:d.prototype.alignDataLabel,applyZones:a,bubblePadding:!0,buildKDTree:a,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:e,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"});c(k,"updatedData",function(c){delete c.target.chart.bubbleZExtremes}); +f.prototype.beforePadding=function(){var c=this,a=this.len,b=this.chart,g=0,d=a,h=this.isXAxis,e=h?"xData":"yData",k=this.min,f=this.max-k,n=a/f,m;this.series.forEach(function(a){if(a.bubblePadding&&(a.visible||!b.options.chart.ignoreHiddenSeries)){m=c.allowZoomOutside=!0;var r=a[e];h&&((a.onPoint||a).getRadii(0,0,a),a.onPoint&&(a.radii=a.onPoint.radii));if(0q&&(q*=-1,l-=q);e&&a.polar?(k=v.barX+d,v.shapeType="arc",v.shapeArgs= +a.polar.arc(l+q,l,k,k+v.pointWidth)):(n.height=q,n.y=l,m=n.x,m=void 0===m?0:m,n=n.width,n=void 0===n?0:n,v.tooltipPos=h.inverted?[c.len+c.pos-h.plotLeft-l-q/2,b.len+b.pos-h.plotTop-m-n/2,q]:[b.left-h.plotLeft+m+n/2,c.pos-h.plotTop+l+q/2,q])})};b.prototype.pointAttribs=function(){return y.pointAttribs.apply(this,arguments)};b.prototype.translate3dPoints=function(){return y.translate3dPoints.apply(this,arguments)};b.prototype.translate3dShapes=function(){return y.translate3dShapes.apply(this,arguments)}; +b.defaultOptions=c(k.defaultOptions,l.defaultOptions,t);return b}(l);p(a.prototype,{directTouch:!0,pointClass:f,trackerGroups:["group","dataLabelsGroup"],adjustForMissingColumns:y.adjustForMissingColumns,animate:y.animate,crispCol:y.crispCol,drawGraph:b,drawPoints:y.drawPoints,getSymbol:b,drawTracker:y.drawTracker,getColumnMetrics:y.getColumnMetrics});e.registerSeriesType("columnrange",a);"";return a});A(f,"Series/ColumnPyramid/ColumnPyramidSeries.js",[f["Series/Column/ColumnSeries.js"],f["Core/Series/SeriesRegistry.js"], +f["Core/Utilities.js"]],function(f,b,e){var a=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return a(b,c)};return function(b,c){function d(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),d=f.prototype,p=e.clamp,l=e.merge,k=e.pick;e=function(b){function e(){var a=null!==b&&b.apply(this,arguments)|| +this;a.data=void 0;a.options=void 0;a.points=void 0;return a}a(e,b);e.prototype.translate=function(){var a=this,b=a.chart,e=a.options,h=a.dense=2>a.closestPointRange*a.xAxis.transA;h=a.borderWidth=k(e.borderWidth,h?0:1);var f=a.yAxis,l=e.threshold,B=a.translatedThreshold=f.getThreshold(l),y=k(e.minPointLength,5),E=a.getColumnMetrics(),C=E.width,D=a.barW=Math.max(C,1+2*h),r=a.pointXOffset=E.offset;b.inverted&&(B-=.5);e.pointPadding&&(D=Math.ceil(D));d.translate.apply(a);a.points.forEach(function(c){var d= +k(c.yBottom,B),g=999+Math.abs(d),h=p(c.plotY,-g,f.len+g);g=c.plotX+r;var q=D/2,t=Math.min(h,d);d=Math.max(h,d)-t;var n;c.barX=g;c.pointWidth=C;c.tooltipPos=b.inverted?[f.len+f.pos-b.plotLeft-h,a.xAxis.len-g-q,d]:[g+q,h+f.pos-b.plotTop,d];h=l+(c.total||c.y);"percent"===e.stacking&&(h=l+(0>c.y)?-100:100);h=f.toPixels(h,!0);var m=(n=b.plotHeight-h-(b.plotHeight-B))?q*(t-h)/n:0;var z=n?q*(t+d-h)/n:0;n=g-m+q;m=g+m+q;var u=g+z+q;z=g-z+q;var w=t-y;var x=t+d;0>c.y&&(w=t,x=t+d+y);b.inverted&&(u=f.width-t, +n=h-(f.width-B),m=q*(h-u)/n,z=q*(h-(u-d))/n,n=g+q+m,m=n-2*m,u=g-z+q,z=g+z+q,w=t,x=t+d-y,0>c.y&&(x=t+d+y));c.shapeType="path";c.shapeArgs={x:n,y:w,width:m-n,height:d,d:[["M",n,w],["L",m,w],["L",u,x],["L",z,x],["Z"]]}})};e.defaultOptions=l(f.defaultOptions,{});return e}(f);b.registerSeriesType("columnpyramid",e);"";return e});A(f,"Series/ErrorBar/ErrorBarSeries.js",[f["Series/BoxPlot/BoxPlotSeries.js"],f["Series/Column/ColumnSeries.js"],f["Core/Series/SeriesRegistry.js"],f["Core/Utilities.js"]],function(f, +b,e,a){var d=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return a(b,c)};return function(b,c){function d(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),p=e.seriesTypes.arearange,l=a.merge;a=a.extend;var k=function(a){function e(){var c=null!==a&&a.apply(this,arguments)||this;c.data=void 0; +c.options=void 0;c.points=void 0;return c}d(e,a);e.prototype.getColumnMetrics=function(){return this.linkedParent&&this.linkedParent.columnMetrics||b.prototype.getColumnMetrics.call(this)};e.prototype.drawDataLabels=function(){var a=this.pointValKey;p&&(p.prototype.drawDataLabels.call(this),this.data.forEach(function(c){c.y=c[a]}))};e.prototype.toYData=function(a){return[a.low,a.high]};e.defaultOptions=l(f.defaultOptions,{color:"#000000",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'\u25cf {series.name}: {point.low} - {point.high}
'}, +whiskerWidth:null});return e}(f);a(k.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1});e.registerSeriesType("errorbar",k);"";return k});A(f,"Series/Gauge/GaugePoint.js",[f["Core/Series/SeriesRegistry.js"]],function(f){var b=this&&this.__extends||function(){var b=function(a,d){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d])};return b(a,d)};return function(a,d){function e(){this.constructor= +a}b(a,d);a.prototype=null===d?Object.create(d):(e.prototype=d.prototype,new e)}}();return function(e){function a(){var a=null!==e&&e.apply(this,arguments)||this;a.options=void 0;a.series=void 0;a.shapeArgs=void 0;return a}b(a,e);a.prototype.setState=function(a){this.state=a};return a}(f.series.prototype.pointClass)});A(f,"Series/Gauge/GaugeSeries.js",[f["Series/Gauge/GaugePoint.js"],f["Core/Globals.js"],f["Core/Series/SeriesRegistry.js"],f["Core/Utilities.js"]],function(f,b,e,a){var d=this&&this.__extends|| +function(){var a=function(c,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return a(c,b)};return function(c,b){function d(){this.constructor=c}a(c,b);c.prototype=null===b?Object.create(b):(d.prototype=b.prototype,new d)}}();b=b.noop;var p=e.series,l=e.seriesTypes.column,k=a.clamp,y=a.isNumber,B=a.extend,c=a.merge,g=a.pick,t=a.pInt;a=function(a){function b(){var c=null!==a&&a.apply(this,arguments)|| +this;c.data=void 0;c.points=void 0;c.options=void 0;c.yAxis=void 0;return c}d(b,a);b.prototype.translate=function(){var a=this.yAxis,b=this.options,d=a.center;this.generatePoints();this.points.forEach(function(g){var h=c(b.dial,g.dial),e=t(h.radius)*d[2]/200,r=t(h.baseLength)*e/100,f=t(h.rearLength)*e/100,v=h.baseWidth,l=h.topWidth,p=b.overshoot,z=a.startAngleRad+a.translate(g.y,void 0,void 0,void 0,!0);if(y(p)||!1===b.wrap)p=y(p)?p/180*Math.PI:0,z=k(z,a.startAngleRad-p,a.endAngleRad+p);z=180*z/Math.PI; +g.shapeType="path";g.shapeArgs={d:h.path||[["M",-f,-v/2],["L",r,-v/2],["L",e,-l/2],["L",e,l/2],["L",r,v/2],["L",-f,v/2],["Z"]],translateX:d[0],translateY:d[1],rotation:z};g.plotX=d[0];g.plotY=d[1]})};b.prototype.drawPoints=function(){var a=this,b=a.chart,d=a.yAxis.center,g=a.pivot,h=a.options,e=h.pivot,r=b.renderer;a.points.forEach(function(d){var g=d.graphic,e=d.shapeArgs,f=e.d,q=c(h.dial,d.dial);g?(g.animate(e),e.d=f):d.graphic=r[d.shapeType](e).attr({rotation:e.rotation,zIndex:1}).addClass("highcharts-dial").add(a.group); +if(!b.styledMode)d.graphic[g?"animate":"attr"]({stroke:q.borderColor,"stroke-width":q.borderWidth,fill:q.backgroundColor})});g?g.animate({translateX:d[0],translateY:d[1]}):e&&(a.pivot=r.circle(0,0,e.radius).attr({zIndex:2}).addClass("highcharts-pivot").translate(d[0],d[1]).add(a.group),b.styledMode||a.pivot.attr({fill:e.backgroundColor,stroke:e.borderColor,"stroke-width":e.borderWidth}))};b.prototype.animate=function(a){var c=this;a||c.points.forEach(function(a){var b=a.graphic;b&&(b.attr({rotation:180* +c.yAxis.startAngleRad/Math.PI}),b.animate({rotation:a.shapeArgs.rotation},c.options.animation))})};b.prototype.render=function(){this.group=this.plotGroup("group","series",this.visible?"inherit":"hidden",this.options.zIndex,this.chart.seriesGroup);p.prototype.render.call(this);this.group.clip(this.chart.clipRect)};b.prototype.setData=function(a,c){p.prototype.setData.call(this,a,!1);this.processData();this.generatePoints();g(c,!0)&&this.chart.redraw()};b.prototype.hasData=function(){return!!this.points.length}; +b.defaultOptions=c(p.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2},dial:{backgroundColor:"#000000",baseLength:"70%",baseWidth:3,borderColor:"#cccccc",borderWidth:0,radius:"80%",rearLength:"10%",topWidth:1},pivot:{radius:5,borderWidth:0,borderColor:"#cccccc",backgroundColor:"#000000"},tooltip:{headerFormat:""},showInLegend:!1});return b}(p);B(a.prototype,{angular:!0,directTouch:!0,drawGraph:b,drawTracker:l.prototype.drawTracker, +fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:f,trackerGroups:["group","dataLabelsGroup"]});e.registerSeriesType("gauge",a);"";return a});A(f,"Series/PackedBubble/PackedBubblePoint.js",[f["Core/Chart/Chart.js"],f["Core/Series/Point.js"],f["Core/Series/SeriesRegistry.js"]],function(f,b,e){var a=this&&this.__extends||function(){var a=function(b,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d])}; +return a(b,d)};return function(b,d){function e(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(e.prototype=d.prototype,new e)}}();return function(d){function e(){var a=null!==d&&d.apply(this,arguments)||this;a.degree=NaN;a.mass=NaN;a.radius=NaN;a.options=void 0;a.series=void 0;a.value=null;return a}a(e,d);e.prototype.destroy=function(){this.series.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes);return b.prototype.destroy.apply(this,arguments)}; +e.prototype.firePointEvent=function(){var a=this.series.options;if(this.isParentNode&&a.parentNode){var d=a.allowPointSelect;a.allowPointSelect=a.parentNode.allowPointSelect;b.prototype.firePointEvent.apply(this,arguments);a.allowPointSelect=d}else b.prototype.firePointEvent.apply(this,arguments)};e.prototype.select=function(){var a=this.series.chart;this.isParentNode?(a.getSelectedPoints=a.getSelectedParentNodes,b.prototype.select.apply(this,arguments),a.getSelectedPoints=f.prototype.getSelectedPoints): +b.prototype.select.apply(this,arguments)};return e}(e.seriesTypes.bubble.prototype.pointClass)});A(f,"Series/Networkgraph/DraggableNodes.js",[f["Core/Chart/Chart.js"],f["Core/Globals.js"],f["Core/Utilities.js"]],function(f,b,e){var a=e.addEvent;b.dragNodesMixin={onMouseDown:function(a,b){b=this.chart.pointer.normalize(b);a.fixedPosition={chartX:b.chartX,chartY:b.chartY,plotX:a.plotX,plotY:a.plotY};a.inDragMode=!0},onMouseMove:function(a,b){if(a.fixedPosition&&a.inDragMode){var d=this.chart,e=d.pointer.normalize(b); +b=a.fixedPosition.chartX-e.chartX;e=a.fixedPosition.chartY-e.chartY;var f=void 0,p=void 0,c=d.graphLayoutsLookup;if(5b?1:0)},barycenter:function(){var b=this.options.gravitationalConstant,e=this.barycenter.xFactor,a=this.barycenter.yFactor;e=(e-(this.box.left+this.box.width)/2)*b;a=(a-(this.box.top+this.box.height)/2)*b;this.nodes.forEach(function(b){b.fixedPosition|| +(b.plotX-=e/b.mass/b.degree,b.plotY-=a/b.mass/b.degree)})},repulsive:function(b,e,a){e=e*this.diffTemperature/b.mass/b.degree;b.fixedPosition||(b.plotX+=a.x*e,b.plotY+=a.y*e)},attractive:function(b,e,a){var d=b.getMass(),f=-a.x*e*this.diffTemperature;e=-a.y*e*this.diffTemperature;b.fromNode.fixedPosition||(b.fromNode.plotX-=f*d.fromNode/b.fromNode.degree,b.fromNode.plotY-=e*d.fromNode/b.fromNode.degree);b.toNode.fixedPosition||(b.toNode.plotX+=f*d.toNode/b.toNode.degree,b.toNode.plotY+=e*d.toNode/ +b.toNode.degree)},integrate:function(b,e){var a=-b.options.friction,d=b.options.maxSpeed,f=(e.plotX+e.dispX-e.prevX)*a;a*=e.plotY+e.dispY-e.prevY;var l=Math.abs,k=l(f)/(f||1);l=l(a)/(a||1);f=k*Math.min(d,Math.abs(f));a=l*Math.min(d,Math.abs(a));e.prevX=e.plotX+e.dispX;e.prevY=e.plotY+e.dispY;e.plotX+=f;e.plotY+=a;e.temperature=b.vectorLength({x:f,y:a})},getK:function(b){return Math.pow(b.box.width*b.box.height/b.nodes.length,.5)}},euler:{attractiveForceFunction:function(b,e){return b*b/e},repulsiveForceFunction:function(b, +e){return e*e/b},barycenter:function(){var b=this.options.gravitationalConstant,e=this.barycenter.xFactor,a=this.barycenter.yFactor;this.nodes.forEach(function(d){if(!d.fixedPosition){var f=d.getDegree();f*=1+f/2;d.dispX+=(e-d.plotX)*b*f/d.degree;d.dispY+=(a-d.plotY)*b*f/d.degree}})},repulsive:function(b,e,a,d){b.dispX+=a.x/d*e/b.degree;b.dispY+=a.y/d*e/b.degree},attractive:function(b,e,a,d){var f=b.getMass(),l=a.x/d*e;e*=a.y/d;b.fromNode.fixedPosition||(b.fromNode.dispX-=l*f.fromNode/b.fromNode.degree, +b.fromNode.dispY-=e*f.fromNode/b.fromNode.degree);b.toNode.fixedPosition||(b.toNode.dispX+=l*f.toNode/b.toNode.degree,b.toNode.dispY+=e*f.toNode/b.toNode.degree)},integrate:function(b,e){e.dispX+=e.dispX*b.options.friction;e.dispY+=e.dispY*b.options.friction;var a=e.temperature=b.vectorLength({x:e.dispX,y:e.dispY});0!==a&&(e.plotX+=e.dispX/a*Math.min(Math.abs(e.dispX),b.temperature),e.plotY+=e.dispY/a*Math.min(Math.abs(e.dispY),b.temperature))},getK:function(b){return Math.pow(b.box.width*b.box.height/ +b.nodes.length,.3)}}}});A(f,"Series/Networkgraph/QuadTree.js",[f["Core/Globals.js"],f["Core/Utilities.js"]],function(f,b){b=b.extend;var e=f.QuadTreeNode=function(a){this.box=a;this.boxSize=Math.min(a.width,a.height);this.nodes=[];this.body=this.isInternal=!1;this.isEmpty=!0};b(e.prototype,{insert:function(a,b){this.isInternal?this.nodes[this.getBoxPosition(a)].insert(a,b-1):(this.isEmpty=!1,this.body?b?(this.isInternal=!0,this.divideBox(),!0!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body, +b-1),this.body=!0),this.nodes[this.getBoxPosition(a)].insert(a,b-1)):(b=new e({top:a.plotX,left:a.plotY,width:.1,height:.1}),b.body=a,b.isInternal=!1,this.nodes.push(b)):(this.isInternal=!1,this.body=a))},updateMassAndCenter:function(){var a=0,b=0,e=0;this.isInternal?(this.nodes.forEach(function(d){d.isEmpty||(a+=d.mass,b+=d.plotX*d.mass,e+=d.plotY*d.mass)}),b/=a,e/=a):this.body&&(a=this.body.mass,b=this.body.plotX,e=this.body.plotY);this.mass=a;this.plotX=b;this.plotY=e},divideBox:function(){var a= +this.box.width/2,b=this.box.height/2;this.nodes[0]=new e({left:this.box.left,top:this.box.top,width:a,height:b});this.nodes[1]=new e({left:this.box.left+a,top:this.box.top,width:a,height:b});this.nodes[2]=new e({left:this.box.left+a,top:this.box.top+b,width:a,height:b});this.nodes[3]=new e({left:this.box.left,top:this.box.top+b,width:a,height:b})},getBoxPosition:function(a){var b=a.plotYMath.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature}, +getSystemTemperature:function(){return this.nodes.reduce(function(a,b){return a+b.temperature},0)},vectorLength:function(a){return Math.sqrt(a.x*a.x+a.y*a.y)},getDistR:function(a,b){a=this.getDistXY(a,b);return this.vectorLength(a)},getDistXY:function(a,b){var c=a.plotX-b.plotX;a=a.plotY-b.plotY;return{x:c,y:a,absX:Math.abs(c),absY:Math.abs(a)}}});b(f,"predraw",function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach(function(a){a.stop()})});b(f,"render",function(){function a(a){a.maxIterations--&& +isFinite(a.temperature)&&!a.isStable()&&!a.enableSimulation&&(a.beforeStep&&a.beforeStep(),a.step(),e=!1,b=!0)}var b=!1;if(this.graphLayoutsLookup){d(!1,this);for(this.graphLayoutsLookup.forEach(function(a){a.start()});!e;){var e=!0;this.graphLayoutsLookup.forEach(a)}b&&this.series.forEach(function(a){a&&a.layout&&a.render()})}});b(f,"beforePrint",function(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach(function(a){a.updateSimulation(!1)}),this.redraw())});b(f,"afterPrint",function(){this.graphLayoutsLookup&& +this.graphLayoutsLookup.forEach(function(a){a.updateSimulation()});this.redraw()})});A(f,"Series/PackedBubble/PackedBubbleComposition.js",[f["Core/Chart/Chart.js"],f["Core/Globals.js"],f["Core/Utilities.js"]],function(f,b,e){var a=b.layouts["reingold-fruchterman"],d=e.addEvent,p=e.extendClass,l=e.pick;f.prototype.getSelectedParentNodes=function(){var a=[];this.series.forEach(function(b){b.parentNode&&b.parentNode.selected&&a.push(b.parentNode)});return a};b.networkgraphIntegrations.packedbubble={repulsiveForceFunction:function(a, +b,d,c){return Math.min(a,(d.marker.radius+c.marker.radius)/2)},barycenter:function(){var a=this,b=a.options.gravitationalConstant,d=a.box,c=a.nodes,e,f;c.forEach(function(g){a.options.splitSeries&&!g.isParentNode?(e=g.series.parentNode.plotX,f=g.series.parentNode.plotY):(e=d.width/2,f=d.height/2);g.fixedPosition||(g.plotX-=(g.plotX-e)*b/(g.mass*Math.sqrt(c.length)),g.plotY-=(g.plotY-f)*b/(g.mass*Math.sqrt(c.length)))})},repulsive:function(a,b,d,c){var e=b*this.diffTemperature/a.mass/a.degree;b=d.x* +e;d=d.y*e;a.fixedPosition||(a.plotX+=b,a.plotY+=d);c.fixedPosition||(c.plotX-=b,c.plotY-=d)},integrate:b.networkgraphIntegrations.verlet.integrate,getK:b.noop};b.layouts.packedbubble=p(a,{beforeStep:function(){this.options.marker&&this.series.forEach(function(a){a&&a.calculateParentRadius()})},isStable:function(){var a=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&.00001>a||0>=this.temperature},setCircularPositions:function(){var a= +this,b=a.box,d=a.nodes,c=2*Math.PI/(d.length+1),e,f,h=a.options.initialPositionRadius;d.forEach(function(d,g){a.options.splitSeries&&!d.isParentNode?(e=d.series.parentNode.plotX,f=d.series.parentNode.plotY):(e=b.width/2,f=b.height/2);d.plotX=d.prevX=l(d.plotX,e+h*Math.cos(d.index||g*c));d.plotY=d.prevY=l(d.plotY,f+h*Math.sin(d.index||g*c));d.dispX=0;d.dispY=0})},repulsiveForces:function(){var a=this,b,d,c,e=a.options.bubblePadding;a.nodes.forEach(function(f){f.degree=f.mass;f.neighbours=0;a.nodes.forEach(function(g){b= +0;f===g||f.fixedPosition||!a.options.seriesInteraction&&f.series!==g.series||(c=a.getDistXY(f,g),d=a.vectorLength(c)-(f.marker.radius+g.marker.radius+e),0>d&&(f.degree+=.01,f.neighbours++,b=a.repulsiveForce(-d/Math.sqrt(f.neighbours),a.k,f,g)),a.force("repulsive",f,b*g.mass,c,g,d))})})},applyLimitBox:function(b){if(this.options.splitSeries&&!b.isParentNode&&this.options.parentNodeLimit){var d=this.getDistXY(b,b.series.parentNode);var e=b.series.parentNodeRadius-b.marker.radius-this.vectorLength(d); +0>e&&e>-2*b.marker.radius&&(b.plotX-=.01*d.x,b.plotY-=.01*d.y)}a.prototype.applyLimitBox.apply(this,arguments)}});d(f,"beforeRedraw",function(){this.allDataPoints&&delete this.allDataPoints})});A(f,"Series/PackedBubble/PackedBubbleSeries.js",[f["Core/Color/Color.js"],f["Core/Globals.js"],f["Series/PackedBubble/PackedBubblePoint.js"],f["Core/Series/SeriesRegistry.js"],f["Core/Utilities.js"]],function(f,b,e,a,d){var p=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof +Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,c)};return function(b,c){function d(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),l=f.parse,k=a.series,y=a.seriesTypes.bubble,B=d.addEvent,c=d.clamp,g=d.defined,t=d.extend,h=d.fireEvent,z=d.isArray,J=d.isNumber,A=d.merge,I=d.pick,E=b.dragNodesMixin;f=function(a){function d(){var b=null!==a&&a.apply(this,arguments)||this;b.chart=void 0; +b.data=void 0;b.layout=void 0;b.options=void 0;b.points=void 0;b.xData=void 0;return b}p(d,a);d.prototype.accumulateAllPoints=function(a){var b=a.chart,c=[],d,e;for(d=0;dd&&(d=a),aMath.sqrt(c*c+d*d)-Math.abs(a[2]+b[2])};d.prototype.createParentNodes=function(){var a=this,b=a.chart,c=a.parentNodeLayout,d,e=a.parentNode,f=a.pointClass,g=a.layout.options,h={radius:a.parentNodeRadius,lineColor:a.color,fillColor:l(a.color).brighten(.4).get()};g.parentNodeOptions&&(h=A(g.parentNodeOptions.marker||{},h));a.parentNodeMass=0;a.points.forEach(function(b){a.parentNodeMass+=Math.PI*Math.pow(b.marker.radius,2)});a.calculateParentRadius();c.nodes.forEach(function(b){b.seriesIndex=== +a.index&&(d=!0)});c.setArea(0,0,b.plotWidth,b.plotHeight);d||(e||(e=(new f).init(this,{mass:a.parentNodeRadius/2,marker:h,dataLabels:{inside:!1},states:{normal:{marker:h},hover:{marker:h}},dataLabelOnNull:!0,degree:a.parentNodeRadius,isParentNode:!0,seriesIndex:a.index})),a.parentNode&&(e.plotX=a.parentNode.plotX,e.plotY=a.parentNode.plotY),a.parentNode=e,c.addElementsToCollection([a],c.series),c.addElementsToCollection([e],c.nodes))};d.prototype.deferLayout=function(){var a=this.options.layoutAlgorithm; +this.visible&&(this.addLayout(),a.splitSeries&&this.addSeriesLayout())};d.prototype.destroy=function(){this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach(function(a){a.removeElementFromCollection(this,a.series)},this);this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy()));k.prototype.destroy.apply(this,arguments)}; +d.prototype.drawDataLabels=function(){var a=this.options.dataLabels.textPath,b=this.points;k.prototype.drawDataLabels.apply(this,arguments);this.parentNode&&(this.parentNode.formatPrefix="parentNode",this.points=[this.parentNode],this.options.dataLabels.textPath=this.options.dataLabels.parentNodeTextPath,k.prototype.drawDataLabels.apply(this,arguments),this.points=b,this.options.dataLabels.textPath=a)};d.prototype.drawGraph=function(){if(this.layout&&this.layout.options.splitSeries){var a=this.chart; +var b=this.layout.options.parentNodeOptions.marker;var c={fill:b.fillColor||l(this.color).brighten(.4).get(),opacity:b.fillOpacity,stroke:b.lineColor||this.color,"stroke-width":I(b.lineWidth,this.options.lineWidth)};this.parentNodesGroup||(this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,a.seriesGroup),this.group.attr({zIndex:2}));this.calculateParentRadius();b=A({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius, +width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},c);this.parentNode.graphic||(this.graph=this.parentNode.graphic=a.renderer.symbol(c.symbol).add(this.parentNodesGroup));this.parentNode.graphic.attr(b)}};d.prototype.drawTracker=function(){var b=this.parentNode;a.prototype.drawTracker.call(this);if(b){var c=z(b.dataLabels)?b.dataLabels:b.dataLabel?[b.dataLabel]:[];b.graphic&&(b.graphic.element.point=b);c.forEach(function(a){a.div?a.div.point=b:a.element.point=b})}};d.prototype.getPointRadius= +function(){var a=this,b=a.chart,d=a.options,e=d.useSimulation,f=Math.min(b.plotWidth,b.plotHeight),g={},h=[],n=b.allDataPoints,m,k,u,w;["minSize","maxSize"].forEach(function(a){var b=parseInt(d[a],10),c=/%$/.test(d[a]);g[a]=c?f*b/100:b*Math.sqrt(n.length)});b.minRadius=m=g.minSize/Math.sqrt(n.length);b.maxRadius=k=g.maxSize/Math.sqrt(n.length);var x=e?a.calculateZExtremes():[m,k];(n||[]).forEach(function(b,d){u=e?c(b[2],x[0],x[1]):b[2];w=a.getRadius(x[0],x[1],m,k,u);0===w&&(w=null);n[d][2]=w;h.push(w)}); +a.radii=h};d.prototype.init=function(){k.prototype.init.apply(this,arguments);this.eventsToUnbind.push(B(this,"updatedData",function(){this.chart.series.forEach(function(a){a.type===this.type&&(a.isDirty=!0)},this)}));return this};d.prototype.onMouseUp=function(a){if(a.fixedPosition&&!a.removed){var b,c,d=this.layout,e=this.parentNodeLayout;e&&d.options.dragBetweenSeries&&e.nodes.forEach(function(e){a&&a.marker&&e!==a.series.parentNode&&(b=d.getDistXY(a,e),c=d.vectorLength(b)-e.marker.radius-a.marker.radius, +0>c&&(e.series.addPoint(A(a.options,{plotX:a.plotX,plotY:a.plotY}),!1),d.removeElementFromCollection(a,d.nodes),a.remove()))});E.onMouseUp.apply(this,arguments)}};d.prototype.placeBubbles=function(a){var b=this.checkOverlap,c=this.positionBubble,d=[],e=1,f=0,g=0;var h=[];var m;a=a.sort(function(a,b){return b[2]-a[2]});if(a.length){d.push([[0,0,a[0][2],a[0][3],a[0][4]]]);if(1a[1]-b[1]?0:Math.PI)+f+e*(0>(a[0]-b[0])*(a[1]-b[1])?1:-1);return[b[0]+(b[2]+c[2])*Math.sin(a),b[1]-(b[2]+c[2])*Math.cos(a),c[2],c[3],c[4]]};d.prototype.render=function(){var a=[]; +k.prototype.render.apply(this,arguments);this.options.dataLabels.allowOverlap||(this.data.forEach(function(b){z(b.dataLabels)&&b.dataLabels.forEach(function(b){a.push(b)})}),this.options.useSimulation&&this.chart.hideOverlappingLabels(a))};d.prototype.resizeRadius=function(){var a=this.chart,b=a.rawPositions,c=Math.min,d=Math.max,e=a.plotLeft,f=a.plotTop,g=a.plotHeight,h=a.plotWidth,m,k,u;var w=m=Number.POSITIVE_INFINITY;var x=k=Number.NEGATIVE_INFINITY;for(u=0;uu.height&&(u.y+=u.height,u.height*=-1);m.plotY=u.y=Math.round(u.y|| +0)-this.borderWidth%2/2;u.height=Math.max(Math.round(u.height||0),.001);m.yBottom=u.y+u.height;u.height<=c&&!m.isNull?(u.height=c,u.y-=d,m.plotY=u.y,m.minPointLengthOffset=0>m.y?-d:d):(m.isNull&&(u.width=0),m.minPointLengthOffset=0);x=m.plotY+(m.negative?u.height:0);m.below&&(m.plotY+=u.height);m.tooltipPos&&(this.chart.inverted?m.tooltipPos[0]=b.len-x:m.tooltipPos[1]=x);m.isInside=this.isPointInside(m)}}};b.prototype.processData=function(b){var c=this.options,d=this.yData,e=c.data,f=d.length,g=c.threshold|| +0,h,k,l,n,m;for(m=k=h=l=n=0;ml.y&&!g||0n.indexOf(g)&&(w=!0);c[g]||(c[g]={});n=c[g];for(var x=0;x-Math.PI/2&&u-Math.PI&&0>u||u>Math.PI?-10:10)}return h}function I(a){var b=this,c=this.pane.center,d=this.chart,e=d.inverted,f=a.reverse,g=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{},m=g.innerRadius||"0%",n=g.outerRadius||"100%", +k=c[0]+d.plotLeft,w=c[1]+d.plotTop,u=this.height,l=a.isCrosshair;g=c[3]/2;var x=a.value,p;var r=this.getPosition(x);var q=r.x;r=r.y;l&&(r=this.getCrosshairPosition(a,k,w),x=r[0],q=r[1],r=r[2]);if(this.isCircular)x=Math.sqrt(Math.pow(q-k,2)+Math.pow(r-w,2)),f="string"===typeof m?h(m,1):m/x,d="string"===typeof n?h(n,1):n/x,c&&g&&(g/=x,fx||x>u)&&(x=0),"circle"===this.options.gridLineInterpolation)c= +this.getLinePath(0,x,g);else if(c=[],d[e?"yAxis":"xAxis"].forEach(function(a){a.pane===b.pane&&(p=a)}),p)for(k=p.tickPositions,p.autoConnect&&(k=k.concat([k[0]])),f&&(k=k.slice().reverse()),x&&(x+=g),w=0;wa?0:a,this.center[2]/2)-this.offset)}function G(){var a=this.center,b=this.chart,c=this.options.title; +return{x:b.plotLeft+a[0]+(c.x||0),y:b.plotTop+a[1]-{high:.5,middle:.25,low:0}[c.align]*a[2]+(c.y||0)}}function J(a){a.beforeSetTickPositions=b;a.createLabelCollector=e;a.getCrosshairPosition=D;a.getLinePath=r;a.getOffset=q;a.getPlotBandPath=v;a.getPlotLinePath=I;a.getPosition=H;a.getTitlePosition=G;a.postTranslate=P;a.setAxisSize=V;a.setAxisTranslation=W;a.setOptions=U}function n(){var a=this.chart,b=this.options,c=this.pane,d=c&&c.options;a.angular&&this.isXAxis||!c||!a.angular&&!a.polar||(this.angleRad= +(b.angle||0)*Math.PI/180,this.startAngleRad=(d.startAngle-90)*Math.PI/180,this.endAngleRad=(t(d.endAngle,d.startAngle+360)-90)*Math.PI/180,this.offset=b.offset||0)}function m(a){this.isRadial&&(a.align=void 0,a.preventDefault())}function F(){if(this.chart&&this.chart.labelCollectors){var a=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;0<=a&&this.chart.labelCollectors.splice(a,1)}}function u(a){var b=this.chart,c=b.inverted,d=b.angular,e=b.polar,m=this.isXAxis,h=this.coll, +n=d&&m,k=b.options;a=a.userOptions.pane||0;a=this.pane=b.pane&&b.pane[a];var w;if("colorAxis"===h)this.isRadial=!1;else{if(d){if(n?(this.isHidden=!0,this.createLabelCollector=A,this.getOffset=p,this.render=this.redraw=Q,this.setTitle=this.setCategories=this.setScale=p):J(this),w=!m)this.defaultPolarOptions=T}else e&&(J(this),this.defaultPolarOptions=(w=this.horiz)?S:g("xAxis"===h?f.defaultXAxisOptions:f.defaultYAxisOptions,X),c&&"yAxis"===h&&(this.defaultPolarOptions.stackLabels=f.defaultYAxisOptions.stackLabels, +this.defaultPolarOptions.reversedStacks=!0));d||e?(this.isRadial=!0,k.chart.zoomType=null,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&b.labelCollectors.push(this.labelCollector)):this.isRadial=!1;a&&w&&(a.axis=this);this.isCircular=w}}function w(){this.isRadial&&this.beforeSetTickPositions()}function x(a){var b=this.label;if(b){var c=this.axis,d=b.getBBox(),e=c.options.labels,f=(c.translate(this.pos)+c.startAngleRad+Math.PI/2)/Math.PI*180%360,g=Math.round(f), +m=y(e.y)?0:.3*-d.height,n=e.y,k=20,w=e.align,u="end",x=0>g?g+360:g,l=x,p=0,r=0;if(c.isRadial){var q=c.getPosition(this.pos,c.center[2]/2+h(t(e.distance,-25),c.center[2]/2,-c.center[2]/2));"auto"===e.rotation?b.attr({rotation:f}):y(n)||(n=c.chart.renderer.fontMetrics(b.styles&&b.styles.fontSize).b-d.height/2);y(w)||(c.isCircular?(d.width>c.len*c.tickInterval/(c.max-c.min)&&(k=0),w=f>k&&f<180-k?"left":f>180+k&&f<360-k?"right":"center"):w="center",b.attr({align:w}));if("auto"===w&&2===c.tickPositions.length&& +c.isCircular){90x?x=180-x:270=x&&(x=540-x);180=l&&(l=360-l);if(c.pane.options.startAngle===g||c.pane.options.startAngle===g+360||c.pane.options.startAngle===g-360)u="start";w=-90<=g&&90>=g||-360<=g&&-270>=g||270<=g&&360>=g?"start"===u?"right":"left":"start"===u?"left":"right";70l&&(w="center");15>x||180<=x&&195>x?p=.3*d.height:15<=x&&35>=x?p="start"===u?0:.75*d.height:195<=x&&215>=x?p="start"===u?.75*d.height:0:35=x?p="start"===u?.25*-d.height:d.height:215=x&&(p="start"===u?d.height:.25*-d.height);15>l?r="start"===u?.15*-d.height:.15*d.height:165=l&&(r="start"===u?.15*d.height:.15*-d.height);b.attr({align:w});b.translate(r,p+m)}a.pos.x=q.x+(e.x||0);a.pos.y=q.y+(n||0)}}}function O(a){this.axis.getPosition&&B(a.pos,this.axis.getPosition(this.pos))}function P(a,b){var c=this.chart,d=this.center;a=this.startAngleRad+a;return{x:c.plotLeft+d[0]+Math.cos(a)*b,y:c.plotTop+d[1]+Math.sin(a)*b}}function Q(){this.isDirty=!1}function V(){this.constructor.prototype.setAxisSize.call(this); +if(this.isRadial){this.pane.updateCenter(this);var a=this.center=this.pane.center.slice();if(this.isCircular)this.sector=this.endAngleRad-this.startAngleRad;else{var b=this.postTranslate(this.angleRad,a[3]/2);a[0]=b.x-this.chart.plotLeft;a[1]=b.y-this.chart.plotTop}this.len=this.width=this.height=(a[2]-a[3])*t(this.sector,1)/2}}function W(){this.constructor.prototype.setAxisTranslation.call(this);this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1): +(this.center[2]-this.center[3])/2/(this.max-this.min||1),this.minPixelPadding=this.isXAxis?this.transA*this.minPointOffset:0)}function U(a){a=this.options=g(this.constructor.defaultOptions,this.defaultPolarOptions,d[this.coll],a);a.plotBands||(a.plotBands=[]);c(this,"afterSetOptions")}function R(a,b,c,d,e,f,g){var m=this.axis;m.isRadial?(a=m.getPosition(this.pos,m.center[2]/2+d),b=["M",b,c,"L",a.x,a.y]):b=a.call(this,b,c,d,e,f,g);return b}var M=[],S={gridLineWidth:1,labels:{align:void 0,distance:15, +x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},T={labels:{align:"center",x:0,y:void 0},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},X={gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}};a.compose=function(a,b){-1===M.indexOf(a)&& +(M.push(a),l(a,"afterInit",n),l(a,"autoLabelAlign",m),l(a,"destroy",F),l(a,"init",u),l(a,"initialAxisTranslation",w));-1===M.indexOf(b)&&(M.push(b),l(b,"afterGetLabelPosition",x),l(b,"afterGetPosition",O),z(b.prototype,"getMarkPath",R));return a}})(A||(A={}));return A});A(f,"Series/PolarComposition.js",[f["Core/Animation/AnimationUtilities.js"],f["Core/Globals.js"],f["Extensions/Pane.js"],f["Core/Axis/RadialAxis.js"],f["Core/Utilities.js"]],function(f,b,e,a,d){function p(a,b,c,d){var e=d?1:0;var f= +0<=b&&b<=a.length-1?b:0>b?a.length-1+b:0;b=0>f-1?a.length-(1+e):f-1;var g=a[b];e=a[f+1>a.length-1?e:f+1];var m=g.plotY;var h=e.plotX;var k=e.plotY;e=a[f].plotX;f=a[f].plotY;g=(1.5*e+g.plotX)/2.5;m=(1.5*f+m)/2.5;h=(1.5*e+h)/2.5;var n=(1.5*f+k)/2.5;k=Math.sqrt(Math.pow(g-e,2)+Math.pow(m-f,2));var u=Math.sqrt(Math.pow(h-e,2)+Math.pow(n-f,2));g=Math.atan2(m-f,g-e);n=Math.PI/2+(g+Math.atan2(n-f,h-e))/2;Math.abs(g-n)>Math.PI/2&&(n-=Math.PI);g=e+Math.cos(n)*k;m=f+Math.sin(n)*k;h=e+Math.cos(Math.PI+n)*u; +n=f+Math.sin(Math.PI+n)*u;e={rightContX:h,rightContY:n,leftContX:g,leftContY:m,plotX:e,plotY:f};c&&(e.prevPointCont=p(a,b,!1,d));return e}function l(){(this.pane||[]).forEach(function(a){a.render()})}function k(){var a=this;this.pane||(this.pane=[]);this.options.pane=v(this.options.pane);this.options.pane.forEach(function(b){new e(b,a)},this)}function y(){var a=this.chart;a.polar&&(this.polar=new N(this),a.inverted&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0)))}function B(){if(this.chart.polar&& +this.xAxis){var a=this.chart;(this.kdByAngle=a.tooltip&&a.tooltip.shared)?this.searchPoint=this.polar.searchPointByAngle:this.options.findNearestPointBy="xy";if(!this.preventPostTranslate)for(var c=this.points,d=c.length,e=void 0;d--;)e=c[d],this.polar.toXY(e),!a.hasParallelCoordinates&&!this.yAxis.reversed&&e.ya?"left":200a?"right":"center"),null===d.verticalAlign&&(d.verticalAlign=45> +a||315a?"top":"middle")),Object.getPrototypeOf(Object.getPrototypeOf(this)).alignDataLabel.call(this,b,c,d,e,f),this.isRadialBar&&b.shapeArgs&&b.shapeArgs.start===b.shapeArgs.end?c.hide():c.show()):a.call(this,b,c,d,e,f)}function t(a){var b=this.options,c=b.stacking,e=this.chart,f=this.xAxis,g=this.yAxis,h=g.reversed,k=g.center,n=f.startAngleRad,l=f.endAngleRad-n,p=0,q=0,t=0;this.preventPostTranslate=!0;a.call(this);if(f.isRadial){a=this.points;f=a.length;var v=g.translate(g.min); +var z=g.translate(g.max);b=b.threshold||0;e.inverted&&r(b)&&(p=g.translate(b),C(p)&&(0>p?p=0:p>l&&(p=l),this.translatedThreshold=p+n));for(;f--;){b=a[f];var y=b.barX;var B=b.x;var A=b.y;b.shapeType="arc";if(e.inverted){b.plotY=g.translate(A);c&&g.stacking?(A=g.stacking.stacks[(0>A?"-":"")+this.stackKey],this.visible&&A&&A[B]&&!b.isNull&&(t=A[B].points[this.getStackIndicator(void 0,B,this.index).key],q=g.translate(t[0]),t=g.translate(t[1]),C(q)&&(q=d.clamp(q,0,l)))):(q=p,t=b.plotY);q>t&&(t=[q,q=t][0]); +if(!h)if(qz)t=z;else{if(tz)q=t=0}else if(t>v)t=v;else if(qv||tg.max&&(q=t=h?l:0);q+=n;t+=n;k&&(b.barX=y+=k[3]/2);B=Math.max(y,0);A=Math.max(y+b.pointWidth,0);b.shapeArgs={x:k&&k[0],y:k&&k[1],r:A,innerR:B,start:q,end:t};b.opacity=q===t?0:void 0;b.plotY=(C(this.translatedThreshold)&&(qk[1])}}}function h(a,b){var c=this;if(this.chart.polar){b=b||this.points;for(var d=0;db&&(b=h),0>a&&(a=h));return{x:f[0],y:f[1],r:b,innerR:a,start:c,end:d}};b.prototype.searchPointByAngle=function(a){var b=this.series,c=b.chart,d=b.xAxis.pane.center;return b.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(a.chartX- +d[0]-c.plotLeft,a.chartY-d[1]-c.plotTop)})};b.prototype.toXY=function(a){var b=this.series,c=b.chart,d=b.xAxis,e=b.yAxis,f=a.plotX,g=c.inverted,h=a.y,k=a.plotY,l=g?f:e.len-k;g&&b&&!b.isRadialBar&&(a.plotY=k=r(h)?e.translate(h):0);a.rectPlotX=f;a.rectPlotY=k;e.center&&(l+=e.center[3]/2);r(k)&&(e=g?e.postTranslate(k,l):d.postTranslate(f,l),a.plotX=a.polarPlotX=e.x-c.plotLeft,a.plotY=a.polarPlotY=e.y-c.plotTop);b.kdByAngle?(b=(f/Math.PI*180+d.pane.options.startAngle)%360,0>b&&(b+=360),a.clientX=b):a.clientX= +a.plotX};return b}();return N});A(f,"masters/highcharts-more.src.js",[f["Core/Globals.js"],f["Core/Series/SeriesRegistry.js"],f["Series/Bubble/BubbleSeries.js"],f["Series/PolarComposition.js"]],function(f,b,e,a){e.compose(f.Chart,f.Legend,f.Series);a.compose(f.Axis,f.Chart,f.Pointer,f.Series,f.Tick,b.seriesTypes.areasplinerange,b.seriesTypes.column,b.seriesTypes.line,b.seriesTypes.spline)})}); diff --git a/js/solid-gauge.js b/js/solid-gauge.js new file mode 100644 index 0000000..cc930c8 --- /dev/null +++ b/js/solid-gauge.js @@ -0,0 +1,18 @@ +/* + Highcharts JS v10.2.0 (2022-07-05) + + Solid angular gauge module + + (c) 2010-2021 Torstein Honsi + + License: www.highcharts.com/license +*/ +(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/solid-gauge",["highcharts","highcharts/highcharts-more"],function(f){a(f);a.Highcharts=f;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function f(a,e,l,c){a.hasOwnProperty(e)||(a[e]=c.apply(null,l),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:a[e]}})))} +a=a?a._modules:{};f(a,"Core/Axis/SolidGaugeAxis.js",[a["Core/Color/Color.js"],a["Core/Utilities.js"]],function(a,e){var l=a.parse,c=e.extend,k=e.merge,m;(function(a){var b={initDataClasses:function(a){var c=this.chart,n,p=0,g=this.options;this.dataClasses=n=[];a.dataClasses.forEach(function(b,d){b=k(b);n.push(b);b.color||("category"===g.dataClassColor?(d=c.options.colors,b.color=d[p++],p===d.length&&(p=0)):b.color=l(g.minColor).tweenTo(l(g.maxColor),d/(a.dataClasses.length-1)))})},initStops:function(a){this.stops= +a.stops||[[0,this.options.minColor],[1,this.options.maxColor]];this.stops.forEach(function(a){a.color=l(a[1])})},toColor:function(a,c){var b=this.stops,l=this.dataClasses,g;if(l)for(g=l.length;g--;){var e=l[g];var d=e.from;b=e.to;if(("undefined"===typeof d||a>=d)&&("undefined"===typeof b||a<=b)){var k=e.color;c&&(c.dataClass=g);break}}else{this.logarithmic&&(a=this.val2lin(a));a=1-(this.max-a)/(this.max-this.min);for(g=b.length;g--&&!(a>b[g][0]););d=b[g]||b[g+1];b=b[g+1]||d;a=1-(b[0]-a)/(b[0]-d[0]|| +1);k=d.color.tweenTo(b.color,a)}return k}};a.init=function(a){c(a,b)}})(m||(m={}));return m});f(a,"Series/SolidGauge/SolidGaugeComposition.js",[a["Core/Renderer/SVG/SVGRenderer.js"]],function(a){a=a.prototype;var e=a.symbols.arc;a.symbols.arc=function(a,c,k,m,b){a=e(a,c,k,m,b);b&&b.rounded&&(k=((b.r||k)-(b.innerR||0))/2,c=a[0],b=a[2],"M"===c[0]&&"L"===b[0]&&(c=["A",k,k,0,1,1,c[1],c[2]],a[2]=["A",k,k,0,1,1,b[1],b[2]],a[4]=c));return a}});f(a,"Series/SolidGauge/SolidGaugeSeries.js",[a["Core/Legend/LegendSymbol.js"], +a["Core/Series/SeriesRegistry.js"],a["Core/Axis/SolidGaugeAxis.js"],a["Core/Utilities.js"]],function(a,e,l,c){var k=this&&this.__extends||function(){var a=function(b,h){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var h in b)b.hasOwnProperty(h)&&(a[h]=b[h])};return a(b,h)};return function(b,h){function c(){this.constructor=b}a(b,h);b.prototype=null===h?Object.create(h):(c.prototype=h.prototype,new c)}}(),m=e.seriesTypes,b=m.gauge,f=m.pie.prototype, +p=c.clamp,u=c.extend,n=c.isNumber,w=c.merge,g=c.pick,v=c.pInt,d={colorByPoint:!0,dataLabels:{y:0}};c=function(a){function c(){var b=null!==a&&a.apply(this,arguments)||this;b.data=void 0;b.points=void 0;b.options=void 0;b.axis=void 0;b.yAxis=void 0;b.startAngleRad=void 0;b.thresholdAngleRad=void 0;return b}k(c,a);c.prototype.translate=function(){var a=this.yAxis;l.init(a);!a.dataClasses&&a.options.dataClasses&&a.initDataClasses(a.options);a.initStops(a.options);b.prototype.translate.call(this)};c.prototype.drawPoints= +function(){var a=this,b=a.yAxis,c=b.center,e=a.options,k=a.chart.renderer,d=e.overshoot,l=n(d)?d/180*Math.PI:0,f;n(e.threshold)&&(f=b.startAngleRad+b.translate(e.threshold,void 0,void 0,void 0,!0));this.thresholdAngleRad=g(f,b.startAngleRad);a.points.forEach(function(d){if(!d.isNull){var h=d.graphic,f=b.startAngleRad+b.translate(d.y,void 0,void 0,void 0,!0),m=v(g(d.options.radius,e.radius,100))*c[2]/200,q=v(g(d.options.innerRadius,e.innerRadius,60))*c[2]/200,r=b.toColor(d.y,d),t=Math.min(b.startAngleRad, +b.endAngleRad),n=Math.max(b.startAngleRad,b.endAngleRad);"none"===r&&(r=d.color||a.color||"none");"none"!==r&&(d.color=r);f=p(f,t-l,n+l);!1===e.wrap&&(f=p(f,t,n));t=Math.min(f,a.thresholdAngleRad);f=Math.max(f,a.thresholdAngleRad);f-t>2*Math.PI&&(f=t+2*Math.PI);d.shapeArgs=q={x:c[0],y:c[1],r:m,innerR:q,start:t,end:f,rounded:e.rounded};d.startR=m;h?(m=q.d,h.animate(u({fill:r},q)),m&&(q.d=m)):d.graphic=h=k.arc(q).attr({fill:r,"sweep-flag":0}).add(a.group);a.chart.styledMode||("square"!==e.linecap&& +h.attr({"stroke-linecap":"round","stroke-linejoin":"round"}),h.attr({stroke:e.borderColor||"none","stroke-width":e.borderWidth||0}));h&&h.addClass(d.getClassName(),!0)}})};c.prototype.animate=function(a){a||(this.startAngleRad=this.thresholdAngleRad,f.animate.call(this,a))};c.defaultOptions=w(b.defaultOptions,d);return c}(b);u(c.prototype,{drawLegendSymbol:a.drawRectangle});e.registerSeriesType("solidgauge",c);"";return c});f(a,"masters/modules/solid-gauge.src.js",[],function(){})}); diff --git a/list.html b/list.html index b21256f..7f003b8 100644 --- a/list.html +++ b/list.html @@ -1,4 +1,69 @@ - + + + + + + + + + + + + + + + diff --git a/search.html b/search.html new file mode 100644 index 0000000..759706b --- /dev/null +++ b/search.html @@ -0,0 +1,106 @@ + + + + Statbate + + + + + + + + + + + + + + + + +
+ + + + + +
+
+ +
+
+ + + +
+
+
+
+ + + + +
+ + + + + test + + + + +
+ + + + + + +
+ + + + + + + + + + + +