Hacked By AnonymousFox

Current Path : C:/AppServ/www/financial/stacked/code/es5/modules/
Upload File :
Current File : C:/AppServ/www/financial/stacked/code/es5/modules/vector.js

!/**
 * Highcharts JS v12.1.2 (2025-01-09)
 * @module highcharts/modules/vector
 * @requires highcharts
 *
 * Vector plot series module
 *
 * (c) 2010-2024 Torstein Honsi
 *
 * License: www.highcharts.com/license
 */function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("highcharts"),require("highcharts").SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/modules/vector",[["highcharts/highcharts"],["highcharts/highcharts","SeriesRegistry"]],r):"object"==typeof exports?exports["highcharts/modules/vector"]=r(require("highcharts"),require("highcharts").SeriesRegistry):t.Highcharts=r(t.Highcharts,t.Highcharts.SeriesRegistry)}(this,function(t,r){return function(){"use strict";var e,o={512:function(t){t.exports=r},944:function(r){r.exports=t}},i={};function n(t){var r=i[t];if(void 0!==r)return r.exports;var e=i[t]={exports:{}};return o[t](e,e.exports,n),e.exports}n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,{a:r}),r},n.d=function(t,r){for(var e in r)n.o(r,e)&&!n.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:r[e]})},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)};var s={};n.d(s,{default:function(){return O}});var a=n(944),h=n.n(a),c=n(512),p=n.n(c),u={lineWidth:2,marker:void 0,rotationOrigin:"center",states:{hover:{lineWidthPlus:1}},tooltip:{pointFormat:"<b>[{point.x}, {point.y}]</b><br/>Length: <b>{point.length}</b><br/>Direction: <b>{point.direction}\xb0</b><br/>"},vectorLength:20},l=(e=function(t,r){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)r.hasOwnProperty(e)&&(t[e]=r[e])})(t,r)},function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}),d=h().animObject,f=p().series,g=p().seriesTypes.scatter,y=h().arrayMax,v=h().extend,b=h().merge,m=h().pick,x=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return l(r,t),r.prototype.animate=function(t){t?this.markerGroup.attr({opacity:.01}):this.markerGroup.animate({opacity:1},d(this.options.animation))},r.prototype.arrow=function(t){var r=t.length/this.lengthMax*this.options.vectorLength/20,e={start:10*r,center:0,end:-10*r}[this.options.rotationOrigin]||0;return[["M",0,7*r+e],["L",-1.5*r,7*r+e],["L",0,10*r+e],["L",1.5*r,7*r+e],["L",0,7*r+e],["L",0,-10*r+e]]},r.prototype.drawPoints=function(){for(var t=this.chart,r=0,e=this.points;r<e.length;r++){var o=e[r],i=o.plotX,n=o.plotY;!1===this.options.clip||t.isInsidePlot(i,n,{inverted:t.inverted})?(o.graphic||(o.graphic=this.chart.renderer.path().add(this.markerGroup).addClass("highcharts-point highcharts-color-"+m(o.colorIndex,o.series.colorIndex))),o.graphic.attr({d:this.arrow(o),translateX:i,translateY:n,rotation:o.direction}),this.chart.styledMode||o.graphic.attr(this.pointAttribs(o))):o.graphic&&(o.graphic=o.graphic.destroy())}},r.prototype.pointAttribs=function(t,r){var e=this.options,o=(null==t?void 0:t.color)||this.color,i=this.options.lineWidth;return r&&(o=e.states[r].color||o,i=(e.states[r].lineWidth||i)+(e.states[r].lineWidthPlus||0)),{stroke:o,"stroke-width":i}},r.prototype.translate=function(){f.prototype.translate.call(this),this.lengthMax=y(this.getColumn("length"))},r.defaultOptions=b(g.defaultOptions,u),r}(g);v(x.prototype,{drawGraph:h().noop,getSymbol:h().noop,markerAttribs:h().noop,parallelArrays:["x","y","length","direction"],pointArrayMap:["y","length","direction"]}),p().registerSeriesType("vector",x);var O=h();return s.default}()});

Hacked By AnonymousFox1.0, Coded By AnonymousFox