添加项目文件。
This commit is contained in:
1 parent
05e131ca4e
commit
514d6f5255
1162 files changed
+81255
No files matched your search
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(){var t=window,e=document,n=t.MooTools.version.substring(0,3),r="1.2"===n||"1.1"===n,a=r||"1.3"===n,i=t.$extend||function(){return Object.append.apply(Object,arguments)};t.HighchartsAdapter={init:function(t){var e=Fx.prototype,n=e.start,r=Fx.Morph.prototype,a=r.compute;e.start=function(e,r){var a=this.element;return e.d&&(this.paths=t.init(a,a.d,this.toD)),n.apply(this,arguments),this},r.compute=function(e,n,r){var i=this.paths;return i?void this.element.attr("d",t.step(i[0],i[1],r,this.toD)):a.apply(this,arguments)}},adapterRun:function(t,e){if("width"===e||"height"===e)return parseInt($(t).getStyle(e),10)},getScript:function(t,n){var r=e.getElementsByTagName("head")[0],a=e.createElement("script");a.type="text/javascript",a.src=t,a.onload=n,r.appendChild(a)},animate:function(e,n,r){var a=e.attr,o=r&&r.complete;a&&!e.setStyle&&(e.getStyle=e.attr,e.setStyle=function(){var t=arguments;this.attr.call(this,t[0],t[1][0])},e.$family=function(){return!0}),t.HighchartsAdapter.stop(e),r=new Fx.Morph(a?e:$(e),i({transition:Fx.Transitions.Quad.easeInOut},r)),a&&(r.element=e),n.d&&(r.toD=n.d),o&&r.addEvent("complete",o),r.start(n),e.fx=r},each:function(t,e){return r?$each(t,e):Array.each(t,e)},map:function(t,e){return t.map(e)},grep:function(t,e){return t.filter(e)},inArray:function(t,e,n){return e?e.indexOf(t,n):-1},offset:function(t){return t=t.getPosition(),{left:t.x,top:t.y}},extendWithEvents:function(t){t.addEvent||(t.nodeName?$(t):i(t,new Events))},addEvent:function(e,n,r){"string"==typeof n&&("unload"===n&&(n="beforeunload"),t.HighchartsAdapter.extendWithEvents(e),e.addEvent(n,r))},removeEvent:function(t,e,n){"string"!=typeof t&&t.addEvent&&(e?("unload"===e&&(e="beforeunload"),n?t.removeEvent(e,n):t.removeEvents&&t.removeEvents(e)):t.removeEvents())},fireEvent:function(t,e,n,r){e={type:e,target:t},e=a?new Event(e):new DOMEvent(e),e=i(e,n),!e.target&&e.event&&(e.target=e.event.target),e.preventDefault=function(){r=null},t.fireEvent&&t.fireEvent(e.type,e),r&&r(e)},washMouseEvent:function(t){return t.page&&(t.pageX=t.page.x,t.pageY=t.page.y),t},stop:function(t){t.fx&&t.fx.cancel()}}}();
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(){var t=window,e=document,n=t.MooTools.version.substring(0,3),r="1.2"===n||"1.1"===n,a=r||"1.3"===n,o=t.$extend||function(){return Object.append.apply(Object,arguments)};t.HighchartsAdapter={init:function(t){var e=Fx.prototype,n=e.start,r=Fx.Morph.prototype,a=r.compute;e.start=function(e,r){var a=this,o=a.element;return e.d&&(a.paths=t.init(o,o.d,a.toD)),n.apply(a,arguments),this},r.compute=function(e,n,r){var o=this,i=o.paths;return i?void o.element.attr("d",t.step(i[0],i[1],r,o.toD)):a.apply(o,arguments)}},adapterRun:function(t,e){if("width"===e||"height"===e)return parseInt($(t).getStyle(e),10)},getScript:function(t,n){var r=e.getElementsByTagName("head")[0],a=e.createElement("script");a.type="text/javascript",a.src=t,a.onload=n,r.appendChild(a)},animate:function(e,n,r){var a,i=e.attr,p=r&&r.complete;i&&!e.setStyle&&(e.getStyle=e.attr,e.setStyle=function(){var t=arguments;this.attr.call(this,t[0],t[1][0])},e.$family=function(){return!0}),t.HighchartsAdapter.stop(e),a=new Fx.Morph(i?e:$(e),o({transition:Fx.Transitions.Quad.easeInOut},r)),i&&(a.element=e),n.d&&(a.toD=n.d),p&&a.addEvent("complete",p),a.start(n),e.fx=a},each:function(t,e){return r?$each(t,e):Array.each(t,e)},map:function(t,e){return t.map(e)},grep:function(t,e){return t.filter(e)},inArray:function(t,e,n){return e?e.indexOf(t,n):-1},offset:function(t){var e=t.getPosition();return{left:e.x,top:e.y}},extendWithEvents:function(t){t.addEvent||(t.nodeName?t=$(t):o(t,new Events))},addEvent:function(e,n,r){"string"==typeof n&&("unload"===n&&(n="beforeunload"),t.HighchartsAdapter.extendWithEvents(e),e.addEvent(n,r))},removeEvent:function(t,e,n){"string"!=typeof t&&t.addEvent&&(e?("unload"===e&&(e="beforeunload"),n?t.removeEvent(e,n):t.removeEvents&&t.removeEvents(e)):t.removeEvents())},fireEvent:function(t,e,n,r){var i={type:e,target:t};e=a?new Event(i):new DOMEvent(i),e=o(e,n),!e.target&&e.event&&(e.target=e.event.target),e.preventDefault=function(){r=null},t.fireEvent&&t.fireEvent(e.type,e),r&&r(e)},washMouseEvent:function(t){return t.page&&(t.pageX=t.page.x,t.pageY=t.page.y),t},stop:function(t){t.fx&&t.fx.cancel()}}}();
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;var HighchartsAdapter=function(){var t="undefined"!=typeof Effect;return{init:function(e){t&&(Effect.HighchartsTransition=Class.create(Effect.Base,{initialize:function(t,i,n,h){var a;this.element=t,this.key=i,a=t.attr?t.attr(i):$(t).getStyle(i),"d"===i&&(this.paths=e.init(t,t.d,n),this.toD=n,a=0,n=1),this.start(Object.extend(h||{},{from:a,to:n,attribute:i}))},setup:function(){HighchartsAdapter._extend(this.element),this.element._highchart_animation||(this.element._highchart_animation={}),this.element._highchart_animation[this.key]=this},update:function(t){var i=this.paths,n=this.element;i&&(t=e.step(i[0],i[1],t,this.toD)),n.attr?n.element&&n.attr(this.options.attribute,t):(i={},i[this.options.attribute]=t,$(n).setStyle(i))},finish:function(){this.element&&this.element._highchart_animation&&delete this.element._highchart_animation[this.key]}}))},adapterRun:function(t,e){return parseInt($(t).getStyle(e),10)},getScript:function(t,e){var i=$$("head")[0];i&&i.appendChild(new Element("script",{type:"text/javascript",src:t}).observe("load",e))},addNS:function(t){var e=/^(?:click|mouse(?:down|up|over|move|out))$/;return/^(?:load|unload|abort|error|select|change|submit|reset|focus|blur|resize|scroll)$/.test(t)||e.test(t)?t:"h:"+t},addEvent:function(t,e,i){t.addEventListener||t.attachEvent?Event.observe($(t),HighchartsAdapter.addNS(e),i):(HighchartsAdapter._extend(t),t._highcharts_observe(e,i))},animate:function(e,i,n){var h,n=n||{};if(n.delay=0,n.duration=(n.duration||500)/1e3,n.afterFinish=n.complete,t)for(h in i)new Effect.HighchartsTransition($(e),h,i[h],n);else{if(e.attr)for(h in i)e.attr(h,i[h]);n.complete&&n.complete()}e.attr||$(e).setStyle(i)},stop:function(t){var e;if(t._highcharts_extended&&t._highchart_animation)for(e in t._highchart_animation)t._highchart_animation[e].cancel()},each:function(t,e){$A(t).each(e)},inArray:function(t,e,i){return e?e.indexOf(t,i):-1},offset:function(t){return $(t).cumulativeOffset()},fireEvent:function(t,e,i,n){t.fire?t.fire(HighchartsAdapter.addNS(e),i):t._highcharts_extended&&(i=i||{},t._highcharts_fire(e,i)),i&&i.defaultPrevented&&(n=null),n&&n(i)},removeEvent:function(t,e,i){$(t).stopObserving&&(e&&(e=HighchartsAdapter.addNS(e)),$(t).stopObserving(e,i)),window===t?Event.stopObserving(t,e,i):(HighchartsAdapter._extend(t),t._highcharts_stop_observing(e,i))},washMouseEvent:function(t){return t},grep:function(t,e){return t.findAll(e)},map:function(t,e){return t.map(e)},_extend:function(t){t._highcharts_extended||Object.extend(t,{_highchart_events:{},_highchart_animation:null,_highcharts_extended:!0,_highcharts_observe:function(t,e){this._highchart_events[t]=[this._highchart_events[t],e].compact().flatten()},_highcharts_stop_observing:function(t,e){t?e?this._highchart_events[t]=[this._highchart_events[t]].compact().flatten().without(e):delete this._highchart_events[t]:this._highchart_events={}},_highcharts_fire:function(t,e){var i=this;(this._highchart_events[t]||[]).each(function(t){e.stopped||(e.preventDefault=function(){e.defaultPrevented=!0},e.target=i,t.bind(this)(e)===!1&&e.preventDefault())}.bind(this))}})}}}();
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;var HighchartsAdapter=function(){var t="undefined"!=typeof Effect;return{init:function(e){t&&(Effect.HighchartsTransition=Class.create(Effect.Base,{initialize:function(t,i,n,h){var a,r;this.element=t,this.key=i,a=t.attr?t.attr(i):$(t).getStyle(i),"d"===i&&(this.paths=e.init(t,t.d,n),this.toD=n,a=0,n=1),r=Object.extend(h||{},{from:a,to:n,attribute:i}),this.start(r)},setup:function(){HighchartsAdapter._extend(this.element),this.element._highchart_animation||(this.element._highchart_animation={}),this.element._highchart_animation[this.key]=this},update:function(t){var i,n=this.paths,h=this.element;n&&(t=e.step(n[0],n[1],t,this.toD)),h.attr?h.element&&h.attr(this.options.attribute,t):(i={},i[this.options.attribute]=t,$(h).setStyle(i))},finish:function(){this.element&&this.element._highchart_animation&&delete this.element._highchart_animation[this.key]}}))},adapterRun:function(t,e){return parseInt($(t).getStyle(e),10)},getScript:function(t,e){var i=$$("head")[0];i&&i.appendChild(new Element("script",{type:"text/javascript",src:t}).observe("load",e))},addNS:function(t){var e=/^(?:load|unload|abort|error|select|change|submit|reset|focus|blur|resize|scroll)$/,i=/^(?:click|mouse(?:down|up|over|move|out))$/;return e.test(t)||i.test(t)?t:"h:"+t},addEvent:function(t,e,i){t.addEventListener||t.attachEvent?Event.observe($(t),HighchartsAdapter.addNS(e),i):(HighchartsAdapter._extend(t),t._highcharts_observe(e,i))},animate:function(e,i,n){var h,a;if(n=n||{},n.delay=0,n.duration=(n.duration||500)/1e3,n.afterFinish=n.complete,t)for(h in i)a=new Effect.HighchartsTransition($(e),h,i[h],n);else{if(e.attr)for(h in i)e.attr(h,i[h]);n.complete&&n.complete()}e.attr||$(e).setStyle(i)},stop:function(t){var e;if(t._highcharts_extended&&t._highchart_animation)for(e in t._highchart_animation)t._highchart_animation[e].cancel()},each:function(t,e){$A(t).each(e)},inArray:function(t,e,i){return e?e.indexOf(t,i):-1},offset:function(t){return $(t).cumulativeOffset()},fireEvent:function(t,e,i,n){t.fire?t.fire(HighchartsAdapter.addNS(e),i):t._highcharts_extended&&(i=i||{},t._highcharts_fire(e,i)),i&&i.defaultPrevented&&(n=null),n&&n(i)},removeEvent:function(t,e,i){$(t).stopObserving&&(e&&(e=HighchartsAdapter.addNS(e)),$(t).stopObserving(e,i)),window===t?Event.stopObserving(t,e,i):(HighchartsAdapter._extend(t),t._highcharts_stop_observing(e,i))},washMouseEvent:function(t){return t},grep:function(t,e){return t.findAll(e)},map:function(t,e){return t.map(e)},_extend:function(t){t._highcharts_extended||Object.extend(t,{_highchart_events:{},_highchart_animation:null,_highcharts_extended:!0,_highcharts_observe:function(t,e){this._highchart_events[t]=[this._highchart_events[t],e].compact().flatten()},_highcharts_stop_observing:function(t,e){t?e?this._highchart_events[t]=[this._highchart_events[t]].compact().flatten().without(e):delete this._highchart_events[t]:this._highchart_events={}},_highcharts_fire:function(t,e){var i=this;(this._highchart_events[t]||[]).each(function(t){e.stopped||(e.preventDefault=function(){e.defaultPrevented=!0},e.target=i,t.bind(this)(e)===!1&&e.preventDefault())}.bind(this))}})}}}();
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;var HighchartsAdapter=function(){function t(t){function n(t,e,n){t.removeEventListener(e,n,!1)}function i(t,e,n){n=t.HCProxiedMethods[n.toString()],t.detachEvent("on"+e,n)}function r(t,e){var r,s,a,o,h=t.HCEvents;if(t.removeEventListener)r=n;else{if(!t.attachEvent)return;r=i}e?(s={},s[e]=!0):s=h;for(o in s)if(h[o])for(a=h[o].length;a--;)r(t,o,h[o][a])}return t.HCExtended||Highcharts.extend(t,{HCExtended:!0,HCEvents:{},bind:function(t,n){var i,r=this,s=this.HCEvents;r.addEventListener?r.addEventListener(t,n,!1):r.attachEvent&&(i=function(t){n.call(r,t)},r.HCProxiedMethods||(r.HCProxiedMethods={}),r.HCProxiedMethods[n.toString()]=i,r.attachEvent("on"+t,i)),s[t]===e&&(s[t]=[]),s[t].push(n)},unbind:function(t,e){var s,a;t?(s=this.HCEvents[t]||[],e?(a=HighchartsAdapter.inArray(e,s),a>-1&&(s.splice(a,1),this.HCEvents[t]=s),this.removeEventListener?n(this,t,e):this.attachEvent&&i(this,t,e)):(r(this,t),this.HCEvents[t]=[])):(r(this),this.HCEvents={})},trigger:function(t,e){var n,i,r,s=this.HCEvents[t]||[],a=s.length;for(i=function(){e.defaultPrevented=!0},n=0;n<a&&(r=s[n],!e.stopped);n++)e.preventDefault=i,e.target=this,e.type=t,r.call(this,e)===!1&&e.preventDefault()}}),t}var e,n,i,r=document,s=[],a=[];return Math.easeInOutSine=function(t,e,n,i){return-n/2*(Math.cos(Math.PI*t/i)-1)+e},{init:function(t){r.defaultView||(this._getStyle=function(t,e){var n;return t.style[e]?t.style[e]:("opacity"===e&&(e="filter"),n=t.currentStyle[e.replace(/\-(\w)/g,function(t,e){return e.toUpperCase()})],"filter"===e&&(n=n.replace(/alpha\(opacity=([0-9]+)\)/,function(t,e){return e/100})),""===n?1:n)},this.adapterRun=function(t,e){var n={width:"clientWidth",height:"clientHeight"}[e];if(n)return t.style.zoom=1,t[n]-2*parseInt(HighchartsAdapter._getStyle(t,"padding"),10)}),Array.prototype.forEach||(this.each=function(t,e){for(var n=0,i=t.length;n<i;n++)if(e.call(t[n],t[n],n,t)===!1)return n}),Array.prototype.indexOf||(this.inArray=function(t,e){var n,i=0;if(e)for(n=e.length;i<n;i++)if(e[i]===t)return i;return-1}),Array.prototype.filter||(this.grep=function(t,e){for(var n=[],i=0,r=t.length;i<r;i++)e(t[i],i)&&n.push(t[i]);return n}),i=function(t,e,n){this.options=e,this.elem=t,this.prop=n},i.prototype={update:function(){var e;e=this.paths;var n=this.elem,i=n.element;e&&i?n.attr("d",t.step(e[0],e[1],this.now,this.toD)):n.attr?i&&n.attr(this.prop,this.now):(e={},e[n]=this.now+this.unit,Highcharts.css(n,e)),this.options.step&&this.options.step.call(this.elem,this.now,this)},custom:function(t,e,i){var r,s=this,o=function(t){return s.step(t)};this.startTime=+new Date,this.start=t,this.end=e,this.unit=i,this.now=this.start,this.pos=this.state=0,o.elem=this.elem,o()&&1===a.push(o)&&(n=setInterval(function(){for(r=0;r<a.length;r++)a[r]()||a.splice(r--,1);a.length||clearInterval(n)},13))},step:function(t){var e,n=+new Date;e=this.options;var i;if(this.elem.stopAnimation)e=!1;else if(t||n>=e.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),t=this.options.curAnim[this.prop]=!0;for(i in e.curAnim)e.curAnim[i]!==!0&&(t=!1);t&&e.complete&&e.complete.call(this.elem),e=!1}else i=n-this.startTime,this.state=i/e.duration,this.pos=e.easing(i,0,1,e.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0;return e}},this.animate=function(e,n,r){var s,a,o,h,u="";e.stopAnimation=!1,"object"==typeof r&&null!==r||(s=arguments,r={duration:s[2],easing:s[3],complete:s[4]}),"number"!=typeof r.duration&&(r.duration=400),r.easing=Math[r.easing]||Math.easeInOutSine,r.curAnim=Highcharts.extend({},n);for(h in n)o=new i(e,r,h),a=null,"d"===h?(o.paths=t.init(e,e.d,n.d),o.toD=n.d,s=0,a=1):e.attr?s=e.attr(h):(s=parseFloat(HighchartsAdapter._getStyle(e,h))||0,"opacity"!==h&&(u="px")),a||(a=parseFloat(n[h])),o.custom(s,a,u)}},_getStyle:function(t,e){return window.getComputedStyle(t).getPropertyValue(e)},getScript:function(t,e){var n=r.getElementsByTagName("head")[0],i=r.createElement("script");i.type="text/javascript",i.src=t,i.onload=e,n.appendChild(i)},inArray:function(t,e){return e.indexOf?e.indexOf(t):s.indexOf.call(e,t)},adapterRun:function(t,e){return parseInt(HighchartsAdapter._getStyle(t,e),10)},grep:function(t,e){return s.filter.call(t,e)},map:function(t,e){for(var n=[],i=0,r=t.length;i<r;i++)n[i]=e.call(t[i],t[i],i,t);return n},offset:function(t){for(var e=0,n=0;t;)e+=t.offsetLeft,n+=t.offsetTop,t=t.offsetParent;return{left:e,top:n}},addEvent:function(e,n,i){t(e).bind(n,i)},removeEvent:function(e,n,i){t(e).unbind(n,i)},fireEvent:function(t,e,n,i){var s;r.createEvent&&(t.dispatchEvent||t.fireEvent)?(s=r.createEvent("Events"),s.initEvent(e,!0,!0),s.target=t,Highcharts.extend(s,n),t.dispatchEvent?t.dispatchEvent(s):t.fireEvent(e,s)):t.HCExtended===!0&&(n=n||{},t.trigger(e,n)),n&&n.defaultPrevented&&(i=null),i&&i(n)},washMouseEvent:function(t){return t},stop:function(t){t.stopAnimation=!0},each:function(t,e){return Array.prototype.forEach.call(t,e)}}}();
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;var HighchartsAdapter=function(){function t(t){function n(t,e,n){t.removeEventListener(e,n,!1)}function i(t,e,n){n=t.HCProxiedMethods[n.toString()],t.detachEvent("on"+e,n)}function r(t,e){var r,s,a,o,h=t.HCEvents;if(t.removeEventListener)r=n;else{if(!t.attachEvent)return;r=i}e?(s={},s[e]=!0):s=h;for(o in s)if(h[o])for(a=h[o].length;a--;)r(t,o,h[o][a])}return t.HCExtended||Highcharts.extend(t,{HCExtended:!0,HCEvents:{},bind:function(t,n){var i,r=this,s=this.HCEvents;r.addEventListener?r.addEventListener(t,n,!1):r.attachEvent&&(i=function(t){n.call(r,t)},r.HCProxiedMethods||(r.HCProxiedMethods={}),r.HCProxiedMethods[n.toString()]=i,r.attachEvent("on"+t,i)),s[t]===e&&(s[t]=[]),s[t].push(n)},unbind:function(t,e){var s,a;t?(s=this.HCEvents[t]||[],e?(a=HighchartsAdapter.inArray(e,s),a>-1&&(s.splice(a,1),this.HCEvents[t]=s),this.removeEventListener?n(this,t,e):this.attachEvent&&i(this,t,e)):(r(this,t),this.HCEvents[t]=[])):(r(this),this.HCEvents={})},trigger:function(t,e){var n,i,r,s=this.HCEvents[t]||[],a=this,o=s.length;for(i=function(){e.defaultPrevented=!0},n=0;n<o;n++){if(r=s[n],e.stopped)return;e.preventDefault=i,e.target=a,e.type=t,r.call(this,e)===!1&&e.preventDefault()}}}),t}var e,n,i,r=document,s=[],a=[];return Math.easeInOutSine=function(t,e,n,i){return-n/2*(Math.cos(Math.PI*t/i)-1)+e},{init:function(t){r.defaultView||(this._getStyle=function(t,e){var n;return t.style[e]?t.style[e]:("opacity"===e&&(e="filter"),n=t.currentStyle[e.replace(/\-(\w)/g,function(t,e){return e.toUpperCase()})],"filter"===e&&(n=n.replace(/alpha\(opacity=([0-9]+)\)/,function(t,e){return e/100})),""===n?1:n)},this.adapterRun=function(t,e){var n={width:"clientWidth",height:"clientHeight"}[e];if(n)return t.style.zoom=1,t[n]-2*parseInt(HighchartsAdapter._getStyle(t,"padding"),10)}),Array.prototype.forEach||(this.each=function(t,e){for(var n=0,i=t.length;n<i;n++)if(e.call(t[n],t[n],n,t)===!1)return n}),Array.prototype.indexOf||(this.inArray=function(t,e){var n,i=0;if(e)for(n=e.length;i<n;i++)if(e[i]===t)return i;return-1}),Array.prototype.filter||(this.grep=function(t,e){for(var n=[],i=0,r=t.length;i<r;i++)e(t[i],i)&&n.push(t[i]);return n}),i=function(t,e,n){this.options=e,this.elem=t,this.prop=n},i.prototype={update:function(){var e,n=this.paths,i=this.elem,r=i.element;n&&r?i.attr("d",t.step(n[0],n[1],this.now,this.toD)):i.attr?r&&i.attr(this.prop,this.now):(e={},e[i]=this.now+this.unit,Highcharts.css(i,e)),this.options.step&&this.options.step.call(this.elem,this.now,this)},custom:function(t,e,i){var r,s=this,o=function(t){return s.step(t)};this.startTime=+new Date,this.start=t,this.end=e,this.unit=i,this.now=this.start,this.pos=this.state=0,o.elem=this.elem,o()&&1===a.push(o)&&(n=setInterval(function(){for(r=0;r<a.length;r++)a[r]()||a.splice(r--,1);a.length||clearInterval(n)},13))},step:function(t){var e,n,i,r=+new Date,s=this.options;if(this.elem.stopAnimation)e=!1;else if(t||r>=s.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0,n=!0;for(i in s.curAnim)s.curAnim[i]!==!0&&(n=!1);n&&s.complete&&s.complete.call(this.elem),e=!1}else{var a=r-this.startTime;this.state=a/s.duration,this.pos=s.easing(a,0,1,s.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0}return e}},this.animate=function(e,n,r){var s,a,o,h,u,c="";e.stopAnimation=!1,"object"==typeof r&&null!==r||(h=arguments,r={duration:h[2],easing:h[3],complete:h[4]}),"number"!=typeof r.duration&&(r.duration=400),r.easing=Math[r.easing]||Math.easeInOutSine,r.curAnim=Highcharts.extend({},n);for(u in n)o=new i(e,r,u),a=null,"d"===u?(o.paths=t.init(e,e.d,n.d),o.toD=n.d,s=0,a=1):e.attr?s=e.attr(u):(s=parseFloat(HighchartsAdapter._getStyle(e,u))||0,"opacity"!==u&&(c="px")),a||(a=parseFloat(n[u])),o.custom(s,a,c)}},_getStyle:function(t,e){return window.getComputedStyle(t).getPropertyValue(e)},getScript:function(t,e){var n=r.getElementsByTagName("head")[0],i=r.createElement("script");i.type="text/javascript",i.src=t,i.onload=e,n.appendChild(i)},inArray:function(t,e){return e.indexOf?e.indexOf(t):s.indexOf.call(e,t)},adapterRun:function(t,e){return parseInt(HighchartsAdapter._getStyle(t,e),10)},grep:function(t,e){return s.filter.call(t,e)},map:function(t,e){for(var n=[],i=0,r=t.length;i<r;i++)n[i]=e.call(t[i],t[i],i,t);return n},offset:function(t){for(var e=0,n=0;t;)e+=t.offsetLeft,n+=t.offsetTop,t=t.offsetParent;return{left:e,top:n}},addEvent:function(e,n,i){t(e).bind(n,i)},removeEvent:function(e,n,i){t(e).unbind(n,i)},fireEvent:function(t,e,n,i){var s;r.createEvent&&(t.dispatchEvent||t.fireEvent)?(s=r.createEvent("Events"),s.initEvent(e,!0,!0),s.target=t,Highcharts.extend(s,n),t.dispatchEvent?t.dispatchEvent(s):t.fireEvent(e,s)):t.HCExtended===!0&&(n=n||{},t.trigger(e,n)),n&&n.defaultPrevented&&(i=null),i&&i(n)},washMouseEvent:function(t){return t},stop:function(t){t.stopAnimation=!0},each:function(t,e){return Array.prototype.forEach.call(t,e)}}}();
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(t,i){function a(t,i,a){this.init.call(this,t,i,a)}function e(t,i,a){t.call(this,i,a),this.chart.polar&&(this.closeSegment=function(t){var i=this.xAxis.center;t.push("L",i[0],i[1])},this.closedStacks=!0)}function o(t,i){var a=this.chart,e=this.options.animation,o=this.group,n=this.markerGroup,r=this.xAxis.center,s=a.plotLeft,l=a.plotTop;a.polar?a.renderer.isSVG&&(e===!0&&(e={}),i?(a={translateX:r[0]+s,translateY:r[1]+l,scaleX:.001,scaleY:.001},o.attr(a),n&&(n.attrSetters=o.attrSetters,n.attr(a))):(a={translateX:s,translateY:l,scaleX:1,scaleY:1},o.animate(a,e),n&&n.animate(a,e),this.animate=null)):t.call(this,i)}var n=t.arrayMin,r=t.arrayMax,s=t.each,l=t.extend,h=t.merge,p=t.map,c=t.pick,d=t.pInt,u=t.getOptions().plotOptions,g=t.seriesTypes,f=t.extendClass,m=t.splat,y=t.wrap,x=t.Axis,b=t.Tick,A=t.Series,w=g.column.prototype,P=Math,v=P.round,L=P.floor,M=P.max,k=function(){};l(a.prototype,{init:function(t,i,a){var e=this,o=e.defaultOptions;e.chart=i,i.angular&&(o.background={}),e.options=t=h(o,t),(t=t.background)&&s([].concat(m(t)).reverse(),function(t){var i=t.backgroundColor,t=h(e.defaultBackgroundOptions,t);i&&(t.backgroundColor=i),t.color=t.backgroundColor,a.options.plotBands.unshift(t)})},defaultOptions:{center:["50%","50%"],size:"85%",startAngle:0},defaultBackgroundOptions:{shape:"circle",borderWidth:1,borderColor:"silver",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#FFF"],[1,"#DDD"]]},from:Number.MIN_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"}});var C=x.prototype,b=b.prototype,S={getOffset:k,redraw:function(){this.isDirty=!1},render:function(){this.isDirty=!1},setScale:k,setCategories:k,setTitle:k},R={isRadial:!0,defaultRadialGaugeOptions:{labels:{align:"center",x:0,y:null},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,plotBands:[],tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},defaultRadialXOptions:{gridLineWidth:1,labels:{align:null,distance:15,x:0,y:null},maxPadding:0,minPadding:0,plotBands:[],showLastLabel:!1,tickLength:0},defaultRadialYOptions:{gridLineInterpolation:"circle",labels:{align:"right",x:-3,y:-2},plotBands:[],showLastLabel:!1,title:{x:4,text:null,rotation:90}},setOptions:function(t){this.options=h(this.defaultOptions,this.defaultRadialOptions,t)},getOffset:function(){C.getOffset.call(this),this.chart.axisOffset[this.side]=0},getLinePath:function(t,i){var a=this.center,i=c(i,a[2]/2-this.offset);return this.chart.renderer.symbols.arc(this.left+a[0],this.top+a[1],i,i,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})},setAxisTranslation:function(){C.setAxisTranslation.call(this),this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):this.center[2]/2/(this.max-this.min||1),this.isXAxis)&&(this.minPixelPadding=this.transA*this.minPointOffset+(this.reversed?(this.endAngleRad-this.startAngleRad)/4:0))},beforeSetTickPositions:function(){this.autoConnect&&(this.max+=this.categories&&1||this.pointRange||this.closestPointRange||0)},setAxisSize:function(){C.setAxisSize.call(this),this.isRadial&&(this.center=this.pane.center=g.pie.prototype.getCenter.call(this.pane),this.len=this.width=this.height=this.isCircular?this.center[2]*(this.endAngleRad-this.startAngleRad)/2:this.center[2]/2)},getPosition:function(t,i){return this.isCircular||(i=this.translate(t),t=this.min),this.postTranslate(this.translate(t),c(i,this.center[2]/2)-this.offset)},postTranslate:function(t,i){var a=this.chart,e=this.center,t=this.startAngleRad+t;return{x:a.plotLeft+e[0]+Math.cos(t)*i,y:a.plotTop+e[1]+Math.sin(t)*i}},getPlotBandPath:function(t,i,a){var e,o=this.center,n=this.startAngleRad,r=o[2]/2,s=[c(a.outerRadius,"100%"),a.innerRadius,c(a.thickness,10)],l=/%$/,h=this.isCircular;return"polygon"===this.options.gridLineInterpolation?o=this.getPlotLinePath(t).concat(this.getPlotLinePath(i,!0)):(h||(s[0]=this.translate(t),s[1]=this.translate(i)),s=p(s,function(t){return l.test(t)&&(t=d(t,10)*r/100),t}),"circle"!==a.shape&&h?(t=n+this.translate(t),i=n+this.translate(i)):(t=-Math.PI/2,i=1.5*Math.PI,e=!0),o=this.chart.renderer.symbols.arc(this.left+o[0],this.top+o[1],s[0],s[0],{start:t,end:i,innerR:c(s[1],s[0]-s[2]),open:e})),o},getPlotLinePath:function(t,i){var a,e,o,n=this.center,r=this.chart,l=this.getPosition(t);return this.isCircular?o=["M",n[0]+r.plotLeft,n[1]+r.plotTop,"L",l.x,l.y]:"circle"===this.options.gridLineInterpolation?(t=this.translate(t))&&(o=this.getLinePath(0,t)):(a=r.xAxis[0],o=[],t=this.translate(t),n=a.tickPositions,a.autoConnect&&(n=n.concat([n[0]])),i&&(n=[].concat(n).reverse()),s(n,function(i,n){e=a.getPosition(i,t),o.push(n?"L":"M",e.x,e.y)})),o},getTitlePosition:function(){var t=this.center,i=this.chart,a=this.options.title;return{x:i.plotLeft+t[0]+(a.x||0),y:i.plotTop+t[1]-{high:.5,middle:.25,low:0}[a.align]*t[2]+(a.y||0)}}};y(C,"init",function(t,e,o){var n,r,s,p=e.angular,d=e.polar,u=o.isX,g=p&&u;s=e.opLine truncated
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(t,i){function a(t,i,a){this.init.call(this,t,i,a)}function e(t,i,a){t.call(this,i,a),this.chart.polar&&(this.closeSegment=function(t){var i=this.xAxis.center;t.push("L",i[0],i[1])},this.closedStacks=!0)}function o(t,i){var a,e=this.chart,o=this.options.animation,n=this.group,r=this.markerGroup,s=this.xAxis.center,l=e.plotLeft,h=e.plotTop;e.polar?e.renderer.isSVG&&(o===!0&&(o={}),i?(a={translateX:s[0]+l,translateY:s[1]+h,scaleX:.001,scaleY:.001},n.attr(a),r&&(r.attrSetters=n.attrSetters,r.attr(a))):(a={translateX:l,translateY:h,scaleX:1,scaleY:1},n.animate(a,o),r&&r.animate(a,o),this.animate=null)):t.call(this,i)}var n=t.arrayMin,r=t.arrayMax,s=t.each,l=t.extend,h=t.merge,p=t.map,c=t.pick,d=t.pInt,u=t.getOptions().plotOptions,g=t.seriesTypes,f=t.extendClass,m=t.splat,y=t.wrap,x=t.Axis,b=t.Tick,A=t.Series,w=g.column.prototype,P=Math,v=P.round,L=P.floor,M=P.max,k=function(){};l(a.prototype,{init:function(t,i,a){var e,o=this,n=o.defaultOptions;o.chart=i,i.angular&&(n.background={}),o.options=t=h(n,t),e=t.background,e&&s([].concat(m(e)).reverse(),function(t){var i=t.backgroundColor;t=h(o.defaultBackgroundOptions,t),i&&(t.backgroundColor=i),t.color=t.backgroundColor,a.options.plotBands.unshift(t)})},defaultOptions:{center:["50%","50%"],size:"85%",startAngle:0},defaultBackgroundOptions:{shape:"circle",borderWidth:1,borderColor:"silver",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#FFF"],[1,"#DDD"]]},from:Number.MIN_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"}});var C=x.prototype,S=b.prototype,R={getOffset:k,redraw:function(){this.isDirty=!1},render:function(){this.isDirty=!1},setScale:k,setCategories:k,setTitle:k},X={isRadial:!0,defaultRadialGaugeOptions:{labels:{align:"center",x:0,y:null},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,plotBands:[],tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},defaultRadialXOptions:{gridLineWidth:1,labels:{align:null,distance:15,x:0,y:null},maxPadding:0,minPadding:0,plotBands:[],showLastLabel:!1,tickLength:0},defaultRadialYOptions:{gridLineInterpolation:"circle",labels:{align:"right",x:-3,y:-2},plotBands:[],showLastLabel:!1,title:{x:4,text:null,rotation:90}},setOptions:function(t){this.options=h(this.defaultOptions,this.defaultRadialOptions,t)},getOffset:function(){C.getOffset.call(this),this.chart.axisOffset[this.side]=0},getLinePath:function(t,i){var a=this.center;return i=c(i,a[2]/2-this.offset),this.chart.renderer.symbols.arc(this.left+a[0],this.top+a[1],i,i,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})},setAxisTranslation:function(){C.setAxisTranslation.call(this),this.center&&(this.isCircular?this.transA=(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):this.transA=this.center[2]/2/(this.max-this.min||1),this.isXAxis&&(this.minPixelPadding=this.transA*this.minPointOffset+(this.reversed?(this.endAngleRad-this.startAngleRad)/4:0)))},beforeSetTickPositions:function(){this.autoConnect&&(this.max+=this.categories&&1||this.pointRange||this.closestPointRange||0)},setAxisSize:function(){C.setAxisSize.call(this),this.isRadial&&(this.center=this.pane.center=g.pie.prototype.getCenter.call(this.pane),this.len=this.width=this.height=this.isCircular?this.center[2]*(this.endAngleRad-this.startAngleRad)/2:this.center[2]/2)},getPosition:function(t,i){return this.isCircular||(i=this.translate(t),t=this.min),this.postTranslate(this.translate(t),c(i,this.center[2]/2)-this.offset)},postTranslate:function(t,i){var a=this.chart,e=this.center;return t=this.startAngleRad+t,{x:a.plotLeft+e[0]+Math.cos(t)*i,y:a.plotTop+e[1]+Math.sin(t)*i}},getPlotBandPath:function(t,i,a){var e,o,n,r,s=this.center,l=this.startAngleRad,h=s[2]/2,u=[c(a.outerRadius,"100%"),a.innerRadius,c(a.thickness,10)],g=/%$/,f=this.isCircular;return"polygon"===this.options.gridLineInterpolation?r=this.getPlotLinePath(t).concat(this.getPlotLinePath(i,!0)):(f||(u[0]=this.translate(t),u[1]=this.translate(i)),u=p(u,function(t){return g.test(t)&&(t=d(t,10)*h/100),t}),"circle"!==a.shape&&f?(e=l+this.translate(t),o=l+this.translate(i)):(e=-Math.PI/2,o=1.5*Math.PI,n=!0),r=this.chart.renderer.symbols.arc(this.left+s[0],this.top+s[1],u[0],u[0],{start:e,end:o,innerR:c(u[1],u[0]-u[2]),open:n})),r},getPlotLinePath:function(t,i){var a,e,o,n,r=this,l=r.center,h=r.chart,p=r.getPosition(t);return r.isCircular?n=["M",l[0]+h.plotLeft,l[1]+h.plotTop,"L",p.x,p.y]:"circle"===r.options.gridLineInterpolation?(t=r.translate(t),t&&(n=r.getLinePath(0,t))):(a=h.xAxis[0],n=[],t=r.translate(t),o=a.tickPositions,a.autoConnect&&(o=o.concat([o[0]])),i&&(o=[].concat(o).reverse()),s(o,function(i,o){e=a.getPosition(i,t),n.push(o?"L":"M",e.x,e.y)})),n},getTitlePosition:function(){var t=this.center,i=this.chart,a=this.options.title;return{x:i.plotLeft+t[0]+(a.x||0),y:i.plotTop+t[1]-{high:.5,middle:.25,low:0}[a.align]*t[2]+(a.y||0)}}};y(C,"init",function(t,e,o){var n,r,s,p,d,u,g=this,f=e.angular,y=e.polaLine truncated
|
||||
@@ -0,0 +1,6 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(){function t(t,e){var i;t||(t={});for(i in e)t[i]=e[i];return t}function e(){var t,e=arguments.length,i={},s=function(t,e){var i,n;"object"!=typeof t&&(t={});for(n in e)e.hasOwnProperty(n)&&(i=e[n],t[n]=i&&"object"==typeof i&&"[object Array]"!==Object.prototype.toString.call(i)&&"number"!=typeof i.nodeType?s(t[n]||{},i):e[n]);return t};for(t=0;t<e;t++)i=s(i,arguments[t]);return i}function i(t,e){return parseInt(t,e||10)}function s(t){return"string"==typeof t}function n(t){return"object"==typeof t}function o(t){return"[object Array]"===Object.prototype.toString.call(t)}function r(t){return"number"==typeof t}function a(t){return pt.log(t)/pt.LN10}function h(t){return pt.pow(10,t)}function l(t,e){for(var i=t.length;i--;)if(t[i]===e){t.splice(i,1);break}}function c(t){return t!==V&&null!==t}function d(t,e,i){var o,r;if(s(e))c(i)?t.setAttribute(e,i):t&&t.getAttribute&&(r=t.getAttribute(e));else if(c(e)&&n(e))for(o in e)t.setAttribute(o,e[o]);return r}function p(t){return o(t)?t:[t]}function u(){var t,e,i=arguments,s=i.length;for(t=0;t<s;t++)if(e=i[t],"undefined"!=typeof e&&null!==e)return e}function g(e,i){Lt&&i&&i.opacity!==V&&(i.filter="alpha(opacity="+100*i.opacity+")"),t(e.style,i)}function f(e,i,s,n,o){return e=ct.createElement(e),i&&t(e,i),o&&g(e,{padding:0,border:Et,margin:0}),s&&g(e,s),n&&n.appendChild(e),e}function m(e,i){var s=function(){};return s.prototype=new e,t(s.prototype,i),s}function x(t,e,s,n){var o=U.lang,t=+t||0,r=e===-1?(t.toString().split(".")[1]||"").length:isNaN(e=yt(e))?2:e,e=void 0===s?o.decimalPoint:s,n=void 0===n?o.thousandsSep:n,o=t<0?"-":"",s=String(i(t=yt(t).toFixed(r))),a=s.length>3?s.length%3:0;return o+(a?s.substr(0,a)+n:"")+s.substr(a).replace(/(\d{3})(?=\d)/g,"$1"+n)+(r?e+yt(t-s).toFixed(r).slice(2):"")}function y(t,e){return Array((e||2)+1-String(t).length).join(0)+t}function v(t,e,i){var s=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments);return t.unshift(s),i.apply(this,t)}}function b(t,e){for(var i,s,n,o,r,a="{",h=!1,l=[];(a=t.indexOf(a))!==-1;){if(i=t.slice(0,a),h){for(s=i.split(":"),n=s.shift().split("."),r=n.length,i=e,o=0;o<r;o++)i=i[n[o]];s.length&&(s=s.join(":"),n=/\.([0-9])/,o=U.lang,r=void 0,/f$/.test(s)?(r=(r=s.match(n))?r[1]:-1,i=x(i,r,o.decimalPoint,s.indexOf(",")>-1?o.thousandsSep:"")):i=Z(s,i))}l.push(i),t=t.slice(a+1),a=(h=!h)?"}":"{"}return l.push(t),l.join("")}function k(t){return pt.pow(10,gt(pt.log(t)/pt.LN10))}function w(t,e,i,s){var n,i=u(i,1);for(n=t/i,e||(e=[1,2,2.5,5,10],s&&s.allowDecimals===!1&&(1===i?e=[1,2,5,10]:i<=.1&&(e=[1/i]))),s=0;s<e.length&&(t=e[s],!(n<=(e[s]+(e[s+1]||e[s]))/2));s++);return t*=i}function T(t,e){var i,s=e||[[Nt,[1,2,5,10,20,25,50,100,200,500]],[Ft,[1,2,5,10,15,30]],[Vt,[1,2,5,10,15,30]],[jt,[1,2,3,4,6,8,12]],[_t,[1,2]],[Ut,[1,2]],[Zt,[1,2,3,4,6]],[Kt,null]],n=s[s.length-1],o=q[n[0]],r=n[1];for(i=0;i<s.length&&(n=s[i],o=q[n[0]],r=n[1],!(s[i+1]&&t<=(o*r[r.length-1]+q[s[i+1][0]])/2));i++);return o===q[Kt]&&t<5*o&&(r=[1,2,5]),s=w(t/o,r,n[0]===Kt?k(t/o):1),{unitRange:o,count:s,unitName:n[0]}}function S(e,i,s,n){var o,r=[],a={},h=U.global.useUTC,l=new Date(i),d=e.unitRange,p=e.count;if(c(i)){d>=q[Ft]&&(l.setMilliseconds(0),l.setSeconds(d>=q[Vt]?0:p*gt(l.getSeconds()/p))),d>=q[Vt]&&l[ot](d>=q[jt]?0:p*gt(l[Q]()/p)),d>=q[jt]&&l[rt](d>=q[_t]?0:p*gt(l[tt]()/p)),d>=q[_t]&&l[at](d>=q[Zt]?1:p*gt(l[it]()/p)),d>=q[Zt]&&(l[ht](d>=q[Kt]?0:p*gt(l[st]()/p)),o=l[nt]()),d>=q[Kt]&&(o-=o%p,l[lt](o)),d===q[Ut]&&l[at](l[it]()-l[et]()+u(n,1)),i=1,o=l[nt]();for(var n=l.getTime(),g=l[st](),f=l[it](),m=h?0:(864e5+6e4*l.getTimezoneOffset())%864e5;n<s;)r.push(n),d===q[Kt]?n=J(o+i*p,0):d===q[Zt]?n=J(o,g+i*p):h||d!==q[_t]&&d!==q[Ut]?n+=d*p:n=J(o,g,f+i*p*(d===q[_t]?1:7)),i++;r.push(n),se(ne(r,function(t){return d<=q[jt]&&t%q[_t]===m}),function(t){a[t]=_t})}return r.info=t(e,{higherRanks:a,totalRange:d*p}),r}function L(){this.symbol=this.color=0}function P(t,e){var i,s,n=t.length;for(s=0;s<n;s++)t[s].ss_i=s;for(t.sort(function(t,s){return i=e(t,s),0===i?t.ss_i-s.ss_i:i}),s=0;s<n;s++)delete t[s].ss_i}function A(t){for(var e=t.length,i=t[0];e--;)t[e]<i&&(i=t[e]);return i}function C(t){for(var e=t.length,i=t[0];e--;)t[e]>i&&(i=t[e]);return i}function M(t,e){for(var i in t)t[i]&&t[i]!==e&&t[i].destroy&&t[i].destroy(),delete t[i]}function D(t){_||(_=f(Yt)),t&&_.appendChild(t),_.innerHTML=""}function I(t,e){var i="Highcharts error #"+t+": www.highcharts.com/errors/"+t;if(e)throw i;dt.console&&console.log(i)}function z(t){return parseFloat(t.toPrecision(14))}function B(t,e){K=u(t,e.animation)}function O(){var t=U.global.useUTC,e=t?"getUTC":"get",i=t?"setUTC":"set";J=t?Date.UTC:function(t,e,i,s,n,o){return new Date(t,e,u(i,1),u(s,0),u(n,0),u(o,0)).getTime()},Q=e+"Minutes",tt=e+"Hours",et=e+"Day",it=e+"Date",st=e+"Month",nt=e+"FullYear",ot=i+"Minutes",rt=i+"Hours",at=i+"Date",ht=i+"Month",lt=i+"FullYear"}function H(){}function R(t,e,i,s){this.axis=t,this.pos=e,this.type=i||"",this.isNew=!0,!i&&!s&&this.addLabel()}function X(t,e){this.axis=t,Line truncated
|
||||
o[e]=t,o.htmlUpdateTransform(),!1},o.attr({text:e,x:ut(i),y:ut(s)}).css({position:"absolute",whiteSpace:"nowrap",fontFamily:n.fontFamily,fontSize:n.fontSize}),o.css=o.htmlCss,h.isSVG&&(o.add=function(e){var i,s=h.box.parentNode,n=[];if(e){if(i=e.div,!i){for(;e;)n.push(e),e=e.parentGroup;se(n.reverse(),function(e){var n;i=e.div=e.div||f(Yt,{className:d(e.element,"class")},{position:"absolute",left:(e.translateX||0)+"px",top:(e.translateY||0)+"px"},i||s),n=i.style,t(e.attrSetters,{translateX:function(t){n.left=t+"px"},translateY:function(t){n.top=t+"px"},visibility:function(t,e){n[e]=t}})})}}else i=s;return i.appendChild(a),o.added=!0,o.alignOnAdd&&o.htmlUpdateTransform(),o}),o},fontMetrics:function(t){var t=i(t||11),t=t<24?t+4:ut(1.2*t),e=ut(.8*t);return{h:t,b:e}},label:function(i,s,n,o,r,a,h,l,d){function p(){var t,i;t=P.element.style,x=(void 0===y||void 0===v||L.styles.textAlign)&&P.getBBox(),L.width=(y||x.width||0)+2*C+M,L.height=(v||x.height||0)+2*C,w=C+S.fontMetrics(t&&t.fontSize).b,T&&(m||(t=ut(-A*C),i=l?-w:0,L.box=m=o?S.symbol(o,t,i,L.width,L.height):S.rect(t,i,L.width,L.height,0,I[$t]),m.add(L)),m.isImg||m.attr(e({width:L.width,height:L.height},I)),I=null)}function u(){var t,e=L.styles,e=e&&e.textAlign,i=M+C*(1-A);t=l?0:w,!c(y)||"center"!==e&&"right"!==e||(i+={center:.5,right:1}[e]*(y-x.width)),(i!==P.x||t!==P.y)&&P.attr({x:i,y:t}),P.x=i,P.y=t}function g(t,e){m?m.attr(t,e):I[t]=e}function f(){P.add(L),L.attr({text:i,x:s,y:n}),m&&c(r)&&L.attr({anchorX:r,anchorY:a})}var m,x,y,v,b,k,w,T,S=this,L=S.g(d),P=S.text("",0,0,h).attr({zIndex:1}),A=0,C=3,M=0,D=0,I={},h=L.attrSetters;ae(L,"add",f),h.width=function(t){return y=t,!1},h.height=function(t){return v=t,!1},h.padding=function(t){return c(t)&&t!==C&&(C=t,u()),!1},h.paddingLeft=function(t){return c(t)&&t!==M&&(M=t,u()),!1},h.align=function(t){return A={left:0,center:.5,right:1}[t],!1},h.text=function(t,e){return P.attr(e,t),p(),u(),!1},h[$t]=function(t,e){return T=!0,D=t%2/2,g(e,t),!1},h.stroke=h.fill=h.r=function(t,e){return"fill"===e&&(T=!0),g(e,t),!1},h.anchorX=function(t,e){return r=t,g(e,t+D-b),!1},h.anchorY=function(t,e){return a=t,g(e,t-k),!1},h.x=function(t){return L.x=t,t-=A*((y||x.width)+C),b=ut(t),L.attr("translateX",b),!1},h.y=function(t){return k=L.y=ut(t),L.attr("translateY",k),!1};var z=L.css;return t(L,{css:function(t){if(t){var i={},t=e(t);se("fontSize,fontWeight,fontFamily,color,lineHeight,width,textDecoration,textShadow".split(","),function(e){t[e]!==V&&(i[e]=t[e],delete t[e])}),P.css(i)}return z.call(L,t)},getBBox:function(){return{width:x.width+2*C,height:x.height+2*C,x:x.x-C,y:x.y-C}},shadow:function(t){return m&&m.shadow(t),L},destroy:function(){he(L,"add",f),he(L.element,"mouseenter"),he(L.element,"mouseleave"),P&&(P=P.destroy()),m&&(m=m.destroy()),H.prototype.destroy.call(L),L=S=p=u=g=f=null}})}},j=fe;var me;if(!It&&!Bt){Highcharts.VMLElement=me={init:function(t,e){var i=["<",e,' filled="f" stroked="f"'],s=["position: ","absolute",";"],n=e===Yt;("shape"===e||n)&&s.push("left:0;top:0;width:1px;height:1px;"),s.push("visibility: ",n?"hidden":"visible"),i.push(' style="',s.join(""),'"/>'),e&&(i=n||"span"===e||"img"===e?i.join(""):t.prepVML(i),this.element=f(i)),this.renderer=t,this.attrSetters={}},add:function(t){var e=this.renderer,i=this.element,s=e.box,s=t?t.element||t:s;return t&&t.inverted&&e.invertChild(i,s),s.appendChild(i),this.added=!0,this.alignOnAdd&&!this.deferUpdateTransform&&this.updateTransform(),le(this,"add"),this},updateTransform:H.prototype.htmlUpdateTransform,setSpanRotation:function(t,e,i){g(this.element,{filter:t?["progid:DXImageTransform.Microsoft.Matrix(M11=",i,", M12=",-e,", M21=",e,", M22=",i,", sizingMethod='auto expand')"].join(""):Et})},pathToVML:function(t){for(var e,i=t.length,s=[];i--;)r(t[i])?s[i]=ut(10*t[i])-5:"Z"===t[i]?s[i]="x":(s[i]=t[i],!t.isArc||"wa"!==t[i]&&"at"!==t[i]||(e="wa"===t[i]?1:-1,s[i+5]===s[i+7]&&(s[i+7]-=e),s[i+6]===s[i+8]&&(s[i+8]-=e)));return s.join(" ")||"x"},attr:function(t,e){var i,n,o,a,h,l=this.element||{},p=l.style,u=l.nodeName,g=this.renderer,m=this.symbolName,x=this.shadows,y=this.attrSetters,v=this;if(s(t)&&c(e)&&(i=t,t={},t[i]=e),s(t))i=t,v="strokeWidth"===i||"stroke-width"===i?this.strokeweight:this[i];else for(i in t)if(n=t[i],h=!1,o=y[i]&&y[i].call(this,n,i),o!==!1&&null!==n){if(o!==V&&(n=o),m&&/^(x|y|r|start|end|width|height|innerR|anchorX|anchorY)/.test(i))a||(this.symbolAttr(t),a=!0),h=!0;else if("d"===i){if(n=n||[],this.d=n.join(" "),l.path=n=this.pathToVML(n),x)for(o=x.length;o--;)x[o].path=x[o].cutOff?this.cutOffPath(n,x[o].cutOff):n;h=!0}else if("visibility"===i){if(x)for(o=x.length;o--;)x[o].style[i]=n;"DIV"===u&&(n="hidden"===n?"-999em":0,Pt||(p[i]=n?"visible":"hidden"),i="top"),p[i]=n,h=!0}else"zIndex"===i?(n&&(p[i]=n),h=!0):ie(i,["x","y","width","height"])!==-1?(this[i]=n,"x"===i||"y"===i?i={x:"left",y:"top"}[i]:n=mt(0,n),this.updateClipping?(this[i]=n,this.updateClipping()):p[i]=n,h=!0):"class"===i&&"DIV"===u?l.className=n:"stroke"===i?(n=g.color(n,l,i),i="Line truncated
|
||||
e.renderer.crispLine(["M",n?this.left:o,n?s:this.top,"L",n?e.chartWidth-this.right:o,n?s:e.chartHeight-this.bottom],t)},getTitlePosition:function(){var t=this.horiz,e=this.left,s=this.top,n=this.len,o=this.options.title,r=t?e:s,a=this.opposite,h=this.offset,l=i(o.style.fontSize||12),n={low:r+(t?0:n),middle:r+n/2,high:r+(t?n:0)}[o.align],e=(t?s+this.height:e)+(t?1:-1)*(a?-1:1)*this.axisTitleMargin+(2===this.side?l:0);return{x:t?n:e+(a?this.width:0)+h+(o.x||0),y:t?e-(a?this.height:0)+h:n+(o.y||0)}},render:function(){var t,e=this,i=e.chart,s=i.renderer,n=e.options,o=e.isLog,r=e.isLinked,a=e.tickPositions,l=e.axisTitle,d=e.stacks,p=e.ticks,u=e.minorTicks,g=e.alternateBands,f=n.stackLabels,m=n.alternateGridColor,x=e.tickmarkOffset,y=n.lineWidth,v=i.hasRendered&&c(e.oldMin)&&!isNaN(e.oldMin);t=e.hasData;var b,k,w=e.showAxis;if(se([p,u,g],function(t){for(var e in t)t[e].isActive=!1}),(t||r)&&(e.minorTickInterval&&!e.categories&&se(e.getMinorTickPositions(),function(t){u[t]||(u[t]=new R(e,t,"minor")),v&&u[t].isNew&&u[t].render(null,!0),u[t].render(null,!1,1)}),a.length&&(se(a.slice(1).concat([a[0]]),function(t,i){i=i===a.length-1?0:i+1,(!r||t>=e.min&&t<=e.max)&&(p[t]||(p[t]=new R(e,t)),v&&p[t].isNew&&p[t].render(i,!0),p[t].render(i,!1,1))}),x&&0===e.min&&(p[-1]||(p[-1]=new R(e,(-1),null,(!0))),p[-1].render(-1))),m&&se(a,function(t,i){i%2===0&&t<e.max&&(g[t]||(g[t]=new X(e)),b=t+x,k=a[i+1]!==V?a[i+1]+x:e.max,g[t].options={from:o?h(b):b,to:o?h(k):k,color:m},g[t].render(),g[t].isActive=!0)}),e._addedPlotLB||(se((n.plotLines||[]).concat(n.plotBands||[]),function(t){e.addPlotBandOrLine(t)}),e._addedPlotLB=!0)),se([p,u,g],function(t){var e,s,n=[],o=K?K.duration||500:0,r=function(){for(s=n.length;s--;)t[n[s]]&&!t[n[s]].isActive&&(t[n[s]].destroy(),delete t[n[s]])};for(e in t)t[e].isActive||(t[e].render(e,!1,0),t[e].isActive=!1,n.push(e));t!==g&&i.hasRendered&&o?o&&setTimeout(r,o):r()}),y&&(t=e.getLinePath(y),e.axisLine?e.axisLine.animate({d:t}):e.axisLine=s.path(t).attr({stroke:n.lineColor,"stroke-width":y,zIndex:7}).add(e.axisGroup),e.axisLine[w?"show":"hide"]()),l&&w&&(l[l.isNew?"attr":"animate"](e.getTitlePosition()),l.isNew=!1),f&&f.enabled){var T,S,n=e.stackTotalGroup;n||(e.stackTotalGroup=n=s.g("stack-labels").attr({visibility:"visible",zIndex:6}).add()),n.translate(i.plotLeft,i.plotTop);for(T in d)for(S in s=d[T])s[S].render(n)}e.isDirty=!1},removePlotBandOrLine:function(t){for(var e=this.plotLinesAndBands,i=this.options,s=this.userOptions,n=e.length;n--;)e[n].id===t&&e[n].destroy();se([i.plotLines||[],s.plotLines||[],i.plotBands||[],s.plotBands||[]],function(e){for(n=e.length;n--;)e[n].id===t&&l(e,e[n])})},setTitle:function(t,e){this.update({title:t},e)},redraw:function(){var t=this.chart.pointer;t.reset&&t.reset(!0),this.render(),se(this.plotLinesAndBands,function(t){t.render()}),se(this.series,function(t){t.isDirty=!0})},buildStacks:function(){var t=this.series,e=t.length;if(!this.isXAxis){for(;e--;)t[e].setStackedPoints();if(this.usePercentage)for(e=0;e<t.length;e++)t[e].setPercentStacks()}},setCategories:function(t,e){this.update({categories:t},e)},destroy:function(t){var e,i=this,s=i.stacks,n=i.plotLinesAndBands;t||he(i);for(e in s)M(s[e]),s[e]=null;for(se([i.ticks,i.minorTicks,i.alternateBands],function(t){M(t)}),t=n.length;t--;)n[t].destroy();se("stackTotalGroup,axisLine,axisGroup,gridGroup,labelGroup,axisTitle".split(","),function(t){i[t]&&(i[t]=i[t].destroy())})}},E.prototype={init:function(t,e){var s=e.borderWidth,n=e.style,o=i(n.padding);this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.label=t.renderer.label("",0,0,e.shape,null,null,e.useHTML,null,"tooltip").attr({padding:o,fill:e.backgroundColor,"stroke-width":s,r:e.borderRadius,zIndex:8}).css(n).css({padding:0}).add().attr({y:-999}),Bt||this.label.shadow(e.shadow),this.shared=e.shared},destroy:function(){se(this.crosshairs,function(t){t&&t.destroy()}),this.label&&(this.label=this.label.destroy()),clearTimeout(this.hideTimer),clearTimeout(this.tooltipTimeout)},move:function(e,i,s,n){var o=this,r=o.now,a=o.options.animation!==!1&&!o.isHidden;t(r,{x:a?(2*r.x+e)/3:e,y:a?(r.y+i)/2:i,anchorX:a?(2*r.anchorX+s)/3:s,anchorY:a?(r.anchorY+n)/2:n}),o.label.attr(r),a&&(yt(e-r.x)>1||yt(i-r.y)>1)&&(clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){o&&o.move(e,i,s,n)},32))},hide:function(){var t,e=this;clearTimeout(this.hideTimer),this.isHidden||(t=this.chart.hoverPoints,this.hideTimer=setTimeout(function(){e.label.fadeOut(),e.isHidden=!0},u(this.options.hideDelay,500)),t&&se(t,function(t){t.setState()}),this.chart.hoverPoints=null)},hideCrosshairs:function(){se(this.crosshairs,function(t){t&&t.hide()})},getAnchor:function(t,e){var i,s,n=this.chart,o=n.inverted,r=n.plotTop,a=0,h=0,t=p(t);return i=t[0].tooltipPos,this.followPointer&&e&&(e.chartX===V&&(e=n.pointer.normalize(e)),i=[e.chartX-n.plotLeft,e.chartY-r]),i||(se(t,function(t){s=t.series.yAxis,a+=t.plotX,h+=(t.plotLow?(t.plotLow+t.plotHigh)/2:t.plLine truncated
|
||||
o=ft(mt(a,d[3])/2),r=ft(mt(a,d[0])/2),this.clipBox={x:o,y:r,width:gt(this.plotSizeX-mt(a,d[1])/2-o),height:gt(this.plotSizeY-mt(a,d[2])/2-r)},t||se(this.axes,function(t){t.setAxisSize(),t.setAxisTranslation()})},resetMargins:function(){var t=this.spacing,e=this.margin;this.plotTop=u(e[0],t[0]),this.marginRight=u(e[1],t[1]),this.marginBottom=u(e[2],t[2]),this.plotLeft=u(e[3],t[3]),this.axisOffset=[0,0,0,0],this.clipOffset=[0,0,0,0]},drawChartBox:function(){var t,e=this.options.chart,i=this.renderer,s=this.chartWidth,n=this.chartHeight,o=this.chartBackground,r=this.plotBackground,a=this.plotBorder,h=this.plotBGImage,l=e.borderWidth||0,c=e.backgroundColor,d=e.plotBackgroundColor,p=e.plotBackgroundImage,u=e.plotBorderWidth||0,g=this.plotLeft,f=this.plotTop,m=this.plotWidth,x=this.plotHeight,y=this.plotBox,v=this.clipRect,b=this.clipBox;t=l+(e.shadow?8:0),(l||c)&&(o?o.animate(o.crisp(null,null,null,s-t,n-t)):(o={fill:c||Et},l&&(o.stroke=e.borderColor,o["stroke-width"]=l),this.chartBackground=i.rect(t/2,t/2,s-t,n-t,e.borderRadius,l).attr(o).add().shadow(e.shadow))),d&&(r?r.animate(y):this.plotBackground=i.rect(g,f,m,x,0).attr({fill:d}).add().shadow(e.plotShadow)),p&&(h?h.animate(y):this.plotBGImage=i.image(p,g,f,m,x).add()),v?v.animate({width:b.width,height:b.height}):this.clipRect=i.clipRect(b),u&&(a?a.animate(a.crisp(null,g,f,m,x)):this.plotBorder=i.rect(g,f,m,x,0,-u).attr({stroke:e.plotBorderColor,"stroke-width":u,zIndex:1}).add()),this.isDirtyBox=!1},propFromSeries:function(){var t,e,i,s=this,n=s.options.chart,o=s.options.series;se(["inverted","angular","polar"],function(r){for(t=qt[n.type||n.defaultSeriesType],i=s[r]||n[r]||t&&t.prototype[r],e=o&&o.length;!i&&e--;)(t=qt[o[e].type])&&t.prototype[r]&&(i=!0);s[r]=i})},linkSeries:function(){var t=this,e=t.series;se(e,function(t){t.linkedSeries.length=0}),se(e,function(e){var i=e.options.linkedTo;s(i)&&(i=":previous"===i?t.series[e.index-1]:t.get(i))&&(i.linkedSeries.push(e),e.linkedParent=i)})},render:function(){var e,s=this,n=s.axes,o=s.renderer,r=s.options,a=r.labels,h=r.credits;s.setTitle(),s.legend=new N(s,r.legend),s.getStacks(),se(n,function(t){t.setScale()}),s.getMargins(),s.maxTicks=null,se(n,function(t){t.setTickPositions(!0),t.setMaxTicks()}),s.adjustTickAmounts(),s.getMargins(),s.drawChartBox(),s.hasCartesianSeries&&se(n,function(t){t.render()}),s.seriesGroup||(s.seriesGroup=o.g("series-group").attr({zIndex:3}).add()),se(s.series,function(t){t.translate(),t.setTooltipPoints(),t.render()}),a.items&&se(a.items,function(e){var n=t(a.style,e.style),r=i(n.left)+s.plotLeft,h=i(n.top)+s.plotTop+12;delete n.left,delete n.top,o.text(e.html,r,h).attr({zIndex:2}).css(n).add()}),h.enabled&&!s.credits&&(e=h.href,s.credits=o.text(h.text,0,0).on("click",function(){e&&(location.href=e)}).attr({align:h.position.align,zIndex:8}).css(h.style).add().align(h.position)),s.hasRendered=!0},destroy:function(){var t,e=this,i=e.axes,s=e.series,n=e.container,o=n&&n.parentNode;for(le(e,"destroy"),Wt[e.index]=V,e.renderTo.removeAttribute("data-highcharts-chart"),he(e),t=i.length;t--;)i[t]=i[t].destroy();for(t=s.length;t--;)s[t]=s[t].destroy();se("title,subtitle,chartBackground,plotBackground,plotBGImage,plotBorder,seriesGroup,clipRect,credits,pointer,scroller,rangeSelector,legend,resetZoomButton,tooltip,renderer".split(","),function(t){var i=e[t];i&&i.destroy&&(e[t]=i.destroy())}),n&&(n.innerHTML="",he(n),o&&D(n));for(t in e)delete e[t]},isReadyToRender:function(){var t=this;return!(!It&&dt==dt.top&&"complete"!==ct.readyState||Bt&&!dt.canvg)||(Bt?ye.push(function(){t.firstRender()},t.options.global.canvasToolsURL):ct.attachEvent("onreadystatechange",function(){ct.detachEvent("onreadystatechange",t.firstRender),"complete"===ct.readyState&&t.firstRender()}),!1)},firstRender:function(){var t=this,e=t.options,i=t.callback;t.isReadyToRender()&&(t.getContainer(),le(t,"init"),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),se(e.series||[],function(e){t.initSeries(e)}),t.linkSeries(),le(t,"beforeRender"),t.pointer=new G(t,e),t.render(),t.renderer.draw(),i&&i.apply(t,[t]),se(t.callbacks,function(e){e.apply(t,[t])}),t.cloneRenderTo(!0),le(t,"load"))},splashArray:function(t,e){var i=e[t],i=n(i)?i:[i,i,i,i];return[u(e[t+"Top"],i[0]),u(e[t+"Right"],i[1]),u(e[t+"Bottom"],i[2]),u(e[t+"Left"],i[3])]}},F.prototype.callbacks=[];var ve=function(){};ve.prototype={init:function(t,e,i){return this.series=t,this.applyOptions(e,i),this.pointAttr={},t.options.colorByPoint&&(e=t.options.colors||t.chart.options.colors,this.color=this.color||e[t.colorCounter++],t.colorCounter===e.length)&&(t.colorCounter=0),t.chart.pointCount++,this},applyOptions:function(e,i){var s=this.series,n=s.pointValKey,e=ve.prototype.optionsToObject.call(this,e);return t(this,e),this.options=this.options?t(this.options,e):e,n&&(this.y=this[n]),this.x===V&&s&&(this.x=i===V?s.autoIncrement():i),this},optionsToObject:function(t){var e,i=this.series,s=i.pointArrayMap||["y"],n=s.length,r=0,a=0;if("number"==typeof t||nullLine truncated
|
||||
l.rightContX=l.rightContY=null):e=["M",a,h],e}}),qt.spline=me,ue.areaspline=e(ue.area),xe=Qt.prototype,me=m(me,{type:"areaspline",closedStacks:!0,getSegmentPath:xe.getSegmentPath,closeSegment:xe.closeSegment,drawGraph:xe.drawGraph,drawLegendSymbol:xe.drawLegendSymbol}),qt.areaspline=me,ue.column=e(Jt,{borderColor:"#FFFFFF",borderWidth:1,borderRadius:0,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{brightness:.1,shadow:!1},select:{color:"#C0C0C0",borderColor:"#000000",shadow:!1}},dataLabels:{align:null,verticalAlign:null,y:null},stickyTracking:!1,threshold:0}),me=m(be,{type:"column",pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color",r:"borderRadius"},cropShoulder:0,trackerGroups:["group","dataLabelsGroup"],negStacks:!0,init:function(){be.prototype.init.apply(this,arguments);var t=this,e=t.chart;e.hasRendered&&se(e.series,function(e){e.type===t.type&&(e.isDirty=!0)})},getColumnMetrics:function(){var t,e,i=this,s=i.options,n=i.xAxis,o=i.yAxis,r=n.reversed,a={},h=0;s.grouping===!1?h=1:se(i.chart.series,function(s){var n=s.options,r=s.yAxis;s.type===i.type&&s.visible&&o.len===r.len&&o.pos===r.pos&&(n.stacking?(t=s.stackKey,a[t]===V&&(a[t]=h++),e=a[t]):n.grouping!==!1&&(e=h++),s.columnIndex=e)});var n=xt(yt(n.transA)*(n.ordinalSlope||s.pointRange||n.closestPointRange||1),n.len),l=n*s.groupPadding,d=(n-2*l)/h,p=s.pointWidth,s=c(p)?(d-p)/2:d*s.pointPadding,p=u(p,d-2*s);return i.columnMetrics={width:p,offset:s+(l+((r?h-(i.columnIndex||0):i.columnIndex)||0)*d-n/2)*(r?-1:1)}},translate:function(){var t=this.chart,e=this.options,i=e.borderWidth,s=this.yAxis,n=this.translatedThreshold=s.getThreshold(e.threshold),o=u(e.minPointLength,5),e=this.getColumnMetrics(),r=e.width,a=this.barW=ft(mt(r,1+2*i)),h=this.pointXOffset=e.offset,l=-(i%2?.5:0),c=i%2?.5:1;t.renderer.isVML&&t.inverted&&(c+=1),be.prototype.translate.apply(this),se(this.points,function(t){var e,i=u(t.yBottom,n),d=xt(mt(-999-i,t.plotY),s.len+999+i),p=t.plotX+h,g=a,f=xt(d,i),d=mt(d,i)-f;yt(d)<o&&o&&(d=o,f=ut(yt(f-n)>o?i-o:n-(s.translate(t.y,0,1,0,1)<=n?o:0))),t.barX=p,t.pointWidth=r,i=yt(p)<.5,g=ut(p+g)+l,p=ut(p)+l,g-=p,e=yt(f)<.5,d=ut(f+d)+c,f=ut(f)+c,d-=f,i&&(p+=1,g-=1),e&&(f-=1,d+=1),t.shapeType="rect",t.shapeArgs={x:p,y:f,width:g,height:d}})},getSymbol:Xt,drawLegendSymbol:Qt.prototype.drawLegendSymbol,drawGraph:Xt,drawPoints:function(){var t,i=this,s=i.options,n=i.chart.renderer;se(i.points,function(o){var r=o.plotY,a=o.graphic;r===V||isNaN(r)||null===o.y?a&&(o.graphic=a.destroy()):(t=o.shapeArgs,a?(pe(a),a.animate(e(t))):o.graphic=n[o.shapeType](t).attr(o.pointAttr[o.selected?"select":""]).add(i.group).shadow(s.shadow,null,s.stacking&&!s.borderRadius))})},drawTracker:function(){var t=this,e=t.chart,i=e.pointer,s=t.options.cursor,n=s&&{cursor:s},o=function(i){var s,n=i.target;for(e.hoverSeries!==t&&t.onMouseOver();n&&!s;)s=n.point,n=n.parentNode;s!==V&&s!==e.hoverPoint&&s.onMouseOver(i)};se(t.points,function(t){t.graphic&&(t.graphic.element.point=t),t.dataLabel&&(t.dataLabel.element.point=t)}),t._hasTracking||(se(t.trackerGroups,function(e){t[e]&&(t[e].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",function(t){i.onTrackerMouseOut(t)}).css(n),Ot)&&t[e].on("touchstart",o)}),t._hasTracking=!0)},alignDataLabel:function(t,i,s,n,o){var r=this.chart,a=r.inverted,h=t.dlBox||t.shapeArgs,l=t.below||t.plotY>u(this.translatedThreshold,r.plotSizeY),c=u(s.inside,!!this.options.stacking);h&&(n=e(h),a&&(n={x:r.plotWidth-n.y-n.height,y:r.plotHeight-n.x-n.width,width:n.height,height:n.width}),!c)&&(a?(n.x+=l?0:n.width,n.width=0):(n.y+=l?n.height:0,n.height=0)),s.align=u(s.align,!a||c?"center":l?"right":"left"),s.verticalAlign=u(s.verticalAlign,a||c?"middle":l?"top":"bottom"),be.prototype.alignDataLabel.call(this,t,i,s,n,o)},animate:function(t){var e=this.yAxis,i=this.options,s=this.chart.inverted,n={};It&&(t?(n.scaleY=.001,t=xt(e.pos+e.len,mt(e.pos,e.toPixels(i.threshold))),s?n.translateX=t-e.len:n.translateY=t,this.group.attr(n)):(n.scaleY=1,n[s?"translateX":"translateY"]=e.pos,this.group.animate(n,this.options.animation),this.animate=null))},remove:function(){var t=this,e=t.chart;e.hasRendered&&se(e.series,function(e){e.type===t.type&&(e.isDirty=!0)}),be.prototype.remove.apply(t,arguments)}}),qt.column=me,ue.bar=e(ue.column),xe=m(me,{type:"bar",inverted:!0}),qt.bar=xe,ue.scatter=e(Jt,{lineWidth:0,tooltip:{headerFormat:'<span style="font-size: 10px; color:{series.color}">{series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>",followPointer:!0},stickyTracking:!1}),xe=m(be,{type:"scatter",sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["markerGroup"],drawTracker:me.prototype.drawTracker,setTooltipPoints:Xt}),qt.scatter=xe,ue.pie=e(Jt,{borderColor:"#FFFFFF",borderWidth:1,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return this.point.name}},ignoreHiddenPoint:!0,legendTyLine truncated
|
||||
@@ -0,0 +1,6 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(){function t(t,e){var i;t||(t={});for(i in e)t[i]=e[i];return t}function e(){var t,e=arguments.length,i={},n=function(t,e){var i,o;"object"!=typeof t&&(t={});for(o in e)e.hasOwnProperty(o)&&(i=e[o],i&&"object"==typeof i&&"[object Array]"!==Object.prototype.toString.call(i)&&"number"!=typeof i.nodeType?t[o]=n(t[o]||{},i):t[o]=e[o]);return t};for(t=0;t<e;t++)i=n(i,arguments[t]);return i}function i(){for(var t=0,e=arguments,i=e.length,n={};t<i;t++)n[e[t++]]=e[t];return n}function n(t,e){return parseInt(t,e||10)}function o(t){return"string"==typeof t}function r(t){return"object"==typeof t}function s(t){return"[object Array]"===Object.prototype.toString.call(t)}function a(t){return"number"==typeof t}function l(t){return mt.log(t)/mt.LN10}function h(t){return mt.pow(10,t)}function c(t,e){for(var i=t.length;i--;)if(t[i]===e){t.splice(i,1);break}}function d(t){return t!==Z&&null!==t}function p(t,e,i){var n,s,a="setAttribute";if(o(e))d(i)?t[a](e,i):t&&t.getAttribute&&(s=t.getAttribute(e));else if(d(e)&&r(e))for(n in e)t[a](n,e[n]);return s}function u(t){return s(t)?t:[t]}function f(){var t,e,i=arguments,n=i.length;for(t=0;t<n;t++)if(e=i[t],"undefined"!=typeof e&&null!==e)return e}function g(e,i){Mt&&i&&i.opacity!==Z&&(i.filter="alpha(opacity="+100*i.opacity+")"),t(e.style,i)}function m(e,i,n,o,r){var s=ft.createElement(e);return i&&t(s,i),r&&g(s,{padding:0,border:Jt,margin:0}),n&&g(s,n),o&&o.appendChild(s),s}function y(e,i){var n=function(){};return n.prototype=new e,t(n.prototype,i),n}function x(t,e,i,o){var r=q.lang,s=+t||0,a=e===-1?(s.toString().split(".")[1]||"").length:isNaN(e=wt(e))?2:e,l=void 0===i?r.decimalPoint:i,h=void 0===o?r.thousandsSep:o,c=s<0?"-":"",d=String(n(s=wt(s).toFixed(a))),p=d.length>3?d.length%3:0;return c+(p?d.substr(0,p)+h:"")+d.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+h)+(a?l+wt(s-d).toFixed(a).slice(2):"")}function v(t,e){return new Array((e||2)+1-String(t).length).join(0)+t}function b(t,e,i){var n=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments);return t.unshift(n),i.apply(this,t)}}function k(t,e){var i,n=/f$/,o=/\.([0-9])/,r=q.lang;return n.test(t)?(i=t.match(o),i=i?i[1]:-1,e=x(e,i,r.decimalPoint,t.indexOf(",")>-1?r.thousandsSep:"")):e=J(t,e),e}function w(t,e){for(var i,n,o,r,s,a,l,h="{",c=!1,d=[];(l=t.indexOf(h))!==-1;){if(i=t.slice(0,l),c){for(n=i.split(":"),o=n.shift().split("."),s=o.length,a=e,r=0;r<s;r++)a=a[o[r]];n.length&&(a=k(n.join(":"),a)),d.push(a)}else d.push(i);t=t.slice(l+1),c=!c,h=c?"}":"{"}return d.push(t),d.join("")}function T(t){return mt.pow(10,xt(mt.log(t)/mt.LN10))}function S(t,e,i,n){var o,r;for(i=f(i,1),o=t/i,e||(e=[1,2,2.5,5,10],n&&n.allowDecimals===!1&&(1===i?e=[1,2,5,10]:i<=.1&&(e=[1/i]))),r=0;r<e.length&&(t=e[r],!(o<=(e[r]+(e[r+1]||e[r]))/2));r++);return t*=i}function P(t,e){var i,n,o=e||[[re,[1,2,5,10,20,25,50,100,200,500]],[se,[1,2,5,10,15,30]],[ae,[1,2,5,10,15,30]],[le,[1,2,3,4,6,8,12]],[he,[1,2]],[ce,[1,2]],[de,[1,2,3,4,6]],[pe,null]],r=o[o.length-1],s=et[r[0]],a=r[1];for(n=0;n<o.length;n++)if(r=o[n],s=et[r[0]],a=r[1],o[n+1]){var l=(s*a[a.length-1]+et[o[n+1][0]])/2;if(t<=l)break}return s===et[pe]&&t<5*s&&(a=[1,2,5]),i=S(t/s,a,r[0]===pe?T(t/s):1),{unitRange:s,count:i,unitName:r[0]}}function A(e,i,n,o){var r,s,a=[],l={},h=q.global.useUTC,c=new Date(i),p=e.unitRange,u=e.count;if(d(i)){p>=et[se]&&(c.setMilliseconds(0),c.setSeconds(p>=et[ae]?0:u*xt(c.getSeconds()/u))),p>=et[ae]&&c[ht](p>=et[le]?0:u*xt(c[nt]()/u)),p>=et[le]&&c[ct](p>=et[he]?0:u*xt(c[ot]()/u)),p>=et[he]&&c[dt](p>=et[de]?1:u*xt(c[st]()/u)),p>=et[de]&&(c[pt](p>=et[pe]?0:u*xt(c[at]()/u)),s=c[lt]()),p>=et[pe]&&(s-=s%u,c[ut](s)),p===et[ce]&&c[dt](c[st]()-c[rt]()+f(o,1)),r=1,s=c[lt]();for(var g=c.getTime(),m=c[at](),y=c[st](),x=h?0:(864e5+60*c.getTimezoneOffset()*1e3)%864e5;g<n;)a.push(g),p===et[pe]?g=it(s+r*u,0):p===et[de]?g=it(s,m+r*u):h||p!==et[he]&&p!==et[ce]?g+=p*u:g=it(s,m,y+r*u*(p===et[he]?1:7)),r++;a.push(g),be(ke(a,function(t){return p<=et[le]&&t%et[he]===x}),function(t){l[t]=he})}return a.info=t(e,{higherRanks:l,totalRange:p*u}),a}function L(){this.color=0,this.symbol=0}function C(t,e){var i,n,o=t.length;for(n=0;n<o;n++)t[n].ss_i=n;for(t.sort(function(t,n){return i=e(t,n),0===i?t.ss_i-n.ss_i:i}),n=0;n<o;n++)delete t[n].ss_i}function M(t){for(var e=t.length,i=t[0];e--;)t[e]<i&&(i=t[e]);return i}function D(t){for(var e=t.length,i=t[0];e--;)t[e]>i&&(i=t[e]);return i}function I(t,e){var i;for(i in t)t[i]&&t[i]!==e&&t[i].destroy&&t[i].destroy(),delete t[i]}function z(t){$||($=m(jt)),t&&$.appendChild(t),$.innerHTML=""}function B(t,e){var i="Highcharts error #"+t+": www.highcharts.com/errors/"+t;if(e)throw i;gt.console&&console.log(i)}function O(t){return parseFloat(t.toPrecision(14))}function R(t,e){Q=f(t,e.animation)}function H(){var t=q.global.useUTC,e=t?"getUTC":"get",i=t?"setUTC":"set";it=t?Date.UTC:function(t,e,i,n,o,r){return new Date(t,e,f(i,1),f(n,0),f(o,0),f(r,0)).getTime()},nt=e+"Minutes",ot=e+"Hours",rt=e+"Day",st=e+"Date",at=e+"Month",lt=e+"FullYear",ht=i+"MiLine truncated
|
||||
!1},s.x=s.y=s.align=function(t,e){return"align"===e&&(e="textAlign"),r[e]=t,r.htmlUpdateTransform(),!1},r.attr({text:e,x:yt(i),y:yt(n)}).css({position:_t,whiteSpace:"nowrap",fontFamily:o.fontFamily,fontSize:o.fontSize}),r.css=r.htmlCss,l.isSVG&&(r.add=function(e){var i,n,o=l.box.parentNode,s=[];if(e){if(i=e.div,!i){for(n=e;n;)s.push(n),n=n.parentGroup;be(s.reverse(),function(e){var n;i=e.div=e.div||m(jt,{className:p(e.element,"class")},{position:_t,left:(e.translateX||0)+qt,top:(e.translateY||0)+qt},i||o),n=i.style,t(e.attrSetters,{translateX:function(t){n.left=t+qt},translateY:function(t){n.top=t+qt},visibility:function(t,e){n[e]=t}})})}}else i=o;return i.appendChild(a),r.added=!0,r.alignOnAdd&&r.htmlUpdateTransform(),r}),r},fontMetrics:function(t){t=n(t||11);var e=t<24?t+4:yt(1.2*t),i=yt(.8*e);return{h:e,b:i}},label:function(i,n,o,r,s,a,l,h,c){function p(){var t,i,n=A.element.style;y=(void 0===x||void 0===v||P.styles.textAlign)&&A.getBBox(),P.width=(x||y.width||0)+2*C+M,P.height=(v||y.height||0)+2*C,w=C+S.fontMetrics(n&&n.fontSize).b,T&&(m||(t=yt(-L*C),i=h?-w:0,P.box=m=r?S.symbol(r,t,i,P.width,P.height):S.rect(t,i,P.width,P.height,0,I[ue]),m.add(P)),m.isImg||m.attr(e({width:P.width,height:P.height},I)),I=null)}function u(){var t,e=P.styles,i=e&&e.textAlign,n=M+C*(1-L);t=h?0:w,!d(x)||"center"!==i&&"right"!==i||(n+={center:.5,right:1}[i]*(x-y.width)),n===A.x&&t===A.y||A.attr({x:n,y:t}),A.x=n,A.y=t}function f(t,e){m?m.attr(t,e):I[t]=e}function g(){A.add(P),P.attr({text:i,x:n,y:o}),m&&d(s)&&P.attr({anchorX:s,anchorY:a})}var m,y,x,v,b,k,w,T,S=this,P=S.g(c),A=S.text("",0,0,l).attr({zIndex:1}),L=0,C=3,M=0,D=0,I={},z=P.attrSetters;Se(P,"add",g),z.width=function(t){return x=t,!1},z.height=function(t){return v=t,!1},z.padding=function(t){return d(t)&&t!==C&&(C=t,u()),!1},z.paddingLeft=function(t){return d(t)&&t!==M&&(M=t,u()),!1},z.align=function(t){return L={left:0,center:.5,right:1}[t],!1},z.text=function(t,e){return A.attr(e,t),p(),u(),!1},z[ue]=function(t,e){return T=!0,D=t%2/2,f(e,t),!1},z.stroke=z.fill=z.r=function(t,e){return"fill"===e&&(T=!0),f(e,t),!1},z.anchorX=function(t,e){return s=t,f(e,t+D-b),!1},z.anchorY=function(t,e){return a=t,f(e,t-k),!1},z.x=function(t){return P.x=t,t-=L*((x||y.width)+C),b=yt(t),P.attr("translateX",b),!1},z.y=function(t){return k=P.y=yt(t),P.attr("translateY",k),!1};var B=P.css;return t(P,{css:function(t){if(t){var i={};t=e(t),be(["fontSize","fontWeight","fontFamily","color","lineHeight","width","textDecoration","textShadow"],function(e){t[e]!==Z&&(i[e]=t[e],delete t[e])}),A.css(i)}return B.call(P,t)},getBBox:function(){return{width:y.width+2*C,height:y.height+2*C,x:y.x-C,y:y.y-C}},shadow:function(t){return m&&m.shadow(t),P},destroy:function(){Pe(P,"add",g),Pe(P.element,"mouseenter"),Pe(P.element,"mouseleave"),A&&(A=A.destroy()),m&&(m=m.destroy()),Y.prototype.destroy.call(P),P=S=p=u=f=g=null}})}},K=Oe;var Re,He;if(!Rt&&!Xt){Highcharts.VMLElement=He={init:function(t,e){var i=this,n=["<",e,' filled="f" stroked="f"'],o=["position: ",_t,";"],r=e===jt;("shape"===e||r)&&o.push("left:0;top:0;width:1px;height:1px;"),o.push("visibility: ",r?Zt:$t),n.push(' style="',o.join(""),'"/>'),e&&(n=r||"span"===e||"img"===e?n.join(""):t.prepVML(n),i.element=m(n)),i.renderer=t,i.attrSetters={}},add:function(t){var e=this,i=e.renderer,n=e.element,o=i.box,r=t&&t.inverted,s=t?t.element||t:o;return r&&i.invertChild(n,s),s.appendChild(n),e.added=!0,e.alignOnAdd&&!e.deferUpdateTransform&&e.updateTransform(),Ae(e,"add"),e},updateTransform:Y.prototype.htmlUpdateTransform,setSpanRotation:function(t,e,i){g(this.element,{filter:t?["progid:DXImageTransform.Microsoft.Matrix(M11=",i,", M12=",-e,", M21=",e,", M22=",i,", sizingMethod='auto expand')"].join(""):Jt})},pathToVML:function(t){for(var e,i=t.length,n=[];i--;)a(t[i])?n[i]=yt(10*t[i])-5:"Z"===t[i]?n[i]="x":(n[i]=t[i],!t.isArc||"wa"!==t[i]&&"at"!==t[i]||(e="wa"===t[i]?1:-1,n[i+5]===n[i+7]&&(n[i+7]-=e),n[i+6]===n[i+8]&&(n[i+8]-=e)));return n.join(" ")||"x"},attr:function(t,e){var i,n,r,s,l,h,c=this,u=c.element||{},f=u.style,g=u.nodeName,y=c.renderer,x=c.symbolName,v=c.shadows,b=c.attrSetters,k=c;if(o(t)&&d(e)&&(i=t,t={},t[i]=e),o(t))i=t,k="strokeWidth"===i||"stroke-width"===i?c.strokeweight:c[i];else for(i in t)if(n=t[i],h=!1,s=b[i]&&b[i].call(c,n,i),s!==!1&&null!==n){if(s!==Z&&(n=s),x&&/^(x|y|r|start|end|width|height|innerR|anchorX|anchorY)/.test(i))l||(c.symbolAttr(t),l=!0),h=!0;else if("d"===i){if(n=n||[],c.d=n.join(" "),u.path=n=c.pathToVML(n),v)for(r=v.length;r--;)v[r].path=v[r].cutOff?this.cutOffPath(n,v[r].cutOff):n;h=!0}else if("visibility"===i){if(v)for(r=v.length;r--;)v[r].style[i]=n;"DIV"===g&&(n=n===Zt?"-999em":0,Dt||(f[i]=n?$t:Zt),i="top"),f[i]=n,h=!0}else if("zIndex"===i)n&&(f[i]=n),h=!0;else if(ve(i,["x","y","width","height"])!==-1)c[i]=n,"x"===i||"y"===i?i={x:"left",y:"top"}[i]:n=bt(0,n),c.updateClipping?(c[i]=n,c.updateClipping()):f[i]=n,h=!0;else if("class"===i&&"DIV"===g)u.className=n;else if("stroke"===i)n=y.color(n,u,i),i="strokecolor";elLine truncated
|
||||
var t,e,i,n=this,o=n.chart,r=o.renderer,s=n.options,a=n.isLog,l=n.isLinked,c=n.tickPositions,p=n.axisTitle,u=n.stacks,f=n.ticks,g=n.minorTicks,m=n.alternateBands,y=s.stackLabels,x=s.alternateGridColor,v=n.tickmarkOffset,b=s.lineWidth,k=o.hasRendered,w=k&&d(n.oldMin)&&!isNaN(n.oldMin),T=n.hasData,S=n.showAxis;if(be([f,g,m],function(t){var e;for(e in t)t[e].isActive=!1}),(T||l)&&(n.minorTickInterval&&!n.categories&&be(n.getMinorTickPositions(),function(t){g[t]||(g[t]=new E(n,t,"minor")),w&&g[t].isNew&&g[t].render(null,!0),g[t].render(null,!1,1)}),c.length&&(be(c.slice(1).concat([c[0]]),function(t,e){e=e===c.length-1?0:e+1,(!l||t>=n.min&&t<=n.max)&&(f[t]||(f[t]=new E(n,t)),w&&f[t].isNew&&f[t].render(e,!0),f[t].render(e,!1,1))}),v&&0===n.min&&(f[-1]||(f[-1]=new E(n,(-1),null,(!0))),f[-1].render(-1))),x&&be(c,function(t,o){o%2===0&&t<n.max&&(m[t]||(m[t]=new G(n)),e=t+v,i=c[o+1]!==Z?c[o+1]+v:n.max,m[t].options={from:a?h(e):e,to:a?h(i):i,color:x},m[t].render(),m[t].isActive=!0)}),n._addedPlotLB||(be((s.plotLines||[]).concat(s.plotBands||[]),function(t){n.addPlotBandOrLine(t)}),n._addedPlotLB=!0)),be([f,g,m],function(t){var e,i,n=[],r=Q?Q.duration||500:0,s=function(){for(i=n.length;i--;)t[n[i]]&&!t[n[i]].isActive&&(t[n[i]].destroy(),delete t[n[i]])};for(e in t)t[e].isActive||(t[e].render(e,!1,0),t[e].isActive=!1,n.push(e));t!==m&&o.hasRendered&&r?r&&setTimeout(s,r):s()}),b&&(t=n.getLinePath(b),n.axisLine?n.axisLine.animate({d:t}):n.axisLine=r.path(t).attr({stroke:s.lineColor,"stroke-width":b,zIndex:7}).add(n.axisGroup),n.axisLine[S?"show":"hide"]()),p&&S&&(p[p.isNew?"attr":"animate"](n.getTitlePosition()),p.isNew=!1),y&&y.enabled){var P,A,L,C=n.stackTotalGroup;C||(n.stackTotalGroup=C=r.g("stack-labels").attr({visibility:$t,zIndex:6}).add()),C.translate(o.plotLeft,o.plotTop);for(P in u){A=u[P];for(L in A)A[L].render(C)}}n.isDirty=!1},removePlotBandOrLine:function(t){for(var e=this.plotLinesAndBands,i=this.options,n=this.userOptions,o=e.length;o--;)e[o].id===t&&e[o].destroy();be([i.plotLines||[],n.plotLines||[],i.plotBands||[],n.plotBands||[]],function(e){for(o=e.length;o--;)e[o].id===t&&c(e,e[o])})},setTitle:function(t,e){this.update({title:t},e)},redraw:function(){var t=this,e=t.chart,i=e.pointer;i.reset&&i.reset(!0),t.render(),be(t.plotLinesAndBands,function(t){t.render()}),be(t.series,function(t){t.isDirty=!0})},buildStacks:function(){var t=this.series,e=t.length;if(!this.isXAxis){for(;e--;)t[e].setStackedPoints();if(this.usePercentage)for(e=0;e<t.length;e++)t[e].setPercentStacks()}},setCategories:function(t,e){this.update({categories:t},e)},destroy:function(t){var e,i,n=this,o=n.stacks,r=n.plotLinesAndBands;t||Pe(n);for(e in o)I(o[e]),o[e]=null;for(be([n.ticks,n.minorTicks,n.alternateBands],function(t){I(t)}),i=r.length;i--;)r[i].destroy();be(["stackTotalGroup","axisLine","axisGroup","gridGroup","labelGroup","axisTitle"],function(t){n[t]&&(n[t]=n[t].destroy())})}},V.prototype={init:function(t,e){var i=e.borderWidth,o=e.style,r=n(o.padding);this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.label=t.renderer.label("",0,0,e.shape,null,null,e.useHTML,null,"tooltip").attr({padding:r,fill:e.backgroundColor,"stroke-width":i,r:e.borderRadius,zIndex:8}).css(o).css({padding:0}).add().attr({y:-999}),Xt||this.label.shadow(e.shadow),this.shared=e.shared},destroy:function(){be(this.crosshairs,function(t){t&&t.destroy()}),this.label&&(this.label=this.label.destroy()),clearTimeout(this.hideTimer),clearTimeout(this.tooltipTimeout)},move:function(e,i,n,o){var r=this,s=r.now,a=r.options.animation!==!1&&!r.isHidden;t(s,{x:a?(2*s.x+e)/3:e,y:a?(s.y+i)/2:i,anchorX:a?(2*s.anchorX+n)/3:n,anchorY:a?(s.anchorY+o)/2:o}),r.label.attr(s),a&&(wt(e-s.x)>1||wt(i-s.y)>1)&&(clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){r&&r.move(e,i,n,o)},32))},hide:function(){var t,e=this;clearTimeout(this.hideTimer),this.isHidden||(t=this.chart.hoverPoints,this.hideTimer=setTimeout(function(){e.label.fadeOut(),e.isHidden=!0},f(this.options.hideDelay,500)),t&&be(t,function(t){t.setState()}),this.chart.hoverPoints=null)},hideCrosshairs:function(){be(this.crosshairs,function(t){t&&t.hide()})},getAnchor:function(t,e){var i,n,o=this.chart,r=o.inverted,s=o.plotTop,a=0,l=0;return t=u(t),i=t[0].tooltipPos,this.followPointer&&e&&(e.chartX===Z&&(e=o.pointer.normalize(e)),i=[e.chartX-o.plotLeft,e.chartY-s]),i||(be(t,function(t){n=t.series.yAxis,a+=t.plotX,l+=(t.plotLow?(t.plotLow+t.plotHigh)/2:t.plotY)+(!r&&n?n.top-s:0)}),a/=t.length,l/=t.length,i=[r?o.plotWidth-l:a,this.shared&&!r&&t.length>1&&e?e.chartY-s:r?o.plotHeight-a:l]),Te(i,yt)},getPosition:function(t,e,i){var n,o=this.chart,r=o.plotLeft,s=o.plotTop,a=o.plotWidth,l=o.plotHeight,h=f(this.options.distance,12),c=i.plotX,d=i.plotY,p=c+r+(o.inverted?h:-t-h),u=d-e+s+15;return p<7&&(p=r+bt(c,0)+h),p+t>r+a&&(p-=p+t-(r+a),u=d-e+s-h,n=!0),u<s+5&&(u=s+5,n&&d>=u&&d<=u+e&&(u=d+s+h)),u+e>s+l&&(u=bt(s,s+l-e-h)),{x:p,y:u}},defaultFormatter:function(t){var e,i=thLine truncated
|
||||
u&&(l?l.animate(b):i.plotBackground=o.rect(m,y,x,v,0).attr({fill:u}).add().shadow(n.plotShadow)),f&&(c?c.animate(b):i.plotBGImage=o.image(f,m,y,x,v).add()),k?k.animate({width:w.width,height:w.height}):i.clipRect=o.clipRect(w),g&&(h?h.animate(h.crisp(null,m,y,x,v)):i.plotBorder=o.rect(m,y,x,v,0,-g).attr({stroke:n.plotBorderColor,"stroke-width":g,zIndex:1}).add()),i.isDirtyBox=!1},propFromSeries:function(){var t,e,i,n=this,o=n.options.chart,r=n.options.series;be(["inverted","angular","polar"],function(s){for(t=fe[o.type||o.defaultSeriesType],i=n[s]||o[s]||t&&t.prototype[s],e=r&&r.length;!i&&e--;)t=fe[r[e].type],t&&t.prototype[s]&&(i=!0);n[s]=i})},linkSeries:function(){var t=this,e=t.series;be(e,function(t){t.linkedSeries.length=0}),be(e,function(e){var i=e.options.linkedTo;o(i)&&(i=":previous"===i?t.series[e.index-1]:t.get(i),i&&(i.linkedSeries.push(e),e.linkedParent=i))})},render:function(){var e,i=this,o=i.axes,r=i.renderer,s=i.options,a=s.labels,l=s.credits;i.setTitle(),i.legend=new _(i,s.legend),i.getStacks(),be(o,function(t){t.setScale()}),i.getMargins(),i.maxTicks=null,be(o,function(t){t.setTickPositions(!0),t.setMaxTicks()}),i.adjustTickAmounts(),i.getMargins(),i.drawChartBox(),i.hasCartesianSeries&&be(o,function(t){t.render()}),i.seriesGroup||(i.seriesGroup=r.g("series-group").attr({zIndex:3}).add()),be(i.series,function(t){t.translate(),t.setTooltipPoints(),t.render()}),a.items&&be(a.items,function(e){var o=t(a.style,e.style),s=n(o.left)+i.plotLeft,l=n(o.top)+i.plotTop+12;delete o.left,delete o.top,r.text(e.html,s,l).attr({zIndex:2}).css(o).add()}),l.enabled&&!i.credits&&(e=l.href,i.credits=r.text(l.text,0,0).on("click",function(){e&&(location.href=e)}).attr({align:l.position.align,zIndex:8}).css(l.style).add().align(l.position)),i.hasRendered=!0},destroy:function(){var t,e=this,i=e.axes,n=e.series,o=e.container,r=o&&o.parentNode;for(Ae(e,"destroy"),Nt[e.index]=Z,e.renderTo.removeAttribute("data-highcharts-chart"),Pe(e),t=i.length;t--;)i[t]=i[t].destroy();for(t=n.length;t--;)n[t]=n[t].destroy();be(["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","scroller","rangeSelector","legend","resetZoomButton","tooltip","renderer"],function(t){var i=e[t];i&&i.destroy&&(e[t]=i.destroy())}),o&&(o.innerHTML="",Pe(o),r&&z(o));for(t in e)delete e[t]},isReadyToRender:function(){var t=this;return!(!Rt&>==gt.top&&"complete"!==ft.readyState||Xt&&!gt.canvg)||(Xt?Ye.push(function(){t.firstRender()},t.options.global.canvasToolsURL):ft.attachEvent("onreadystatechange",function(){ft.detachEvent("onreadystatechange",t.firstRender),"complete"===ft.readyState&&t.firstRender()}),!1)},firstRender:function(){var t=this,e=t.options,i=t.callback;t.isReadyToRender()&&(t.getContainer(),Ae(t,"init"),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),be(e.series||[],function(e){t.initSeries(e)}),t.linkSeries(),Ae(t,"beforeRender"),t.pointer=new j(t,e),t.render(),t.renderer.draw(),i&&i.apply(t,[t]),be(t.callbacks,function(e){e.apply(t,[t])}),t.cloneRenderTo(!0),Ae(t,"load"))},splashArray:function(t,e){var i=e[t],n=r(i)?i:[i,i,i,i];return[f(e[t+"Top"],n[0]),f(e[t+"Right"],n[1]),f(e[t+"Bottom"],n[2]),f(e[t+"Left"],n[3])]}},U.prototype.callbacks=[];var Ee=function(){};Ee.prototype={init:function(t,e,i){var n,o=this;return o.series=t,o.applyOptions(e,i),o.pointAttr={},t.options.colorByPoint&&(n=t.options.colors||t.chart.options.colors,o.color=o.color||n[t.colorCounter++],t.colorCounter===n.length&&(t.colorCounter=0)),t.chart.pointCount++,o},applyOptions:function(e,i){var n=this,o=n.series,r=o.pointValKey;return e=Ee.prototype.optionsToObject.call(this,e),t(n,e),n.options=n.options?t(n.options,e):e,r&&(n.y=n[r]),n.x===Z&&o&&(n.x=i===Z?o.autoIncrement():i),n},optionsToObject:function(t){var e,i,n=this.series,o=n.pointArrayMap||["y"],r=o.length,a=0,l=0;if("number"==typeof t||null===t)e={y:t};else if(s(t))for(e={},t.length>r&&(i=typeof t[0],"string"===i?e.name=t[0]:"number"===i&&(e.x=t[0]),a++);l<r;)e[o[l++]]=t[a++];else"object"==typeof t&&(e=t,t.dataLabels&&(n._hasPointLabels=!0),t.marker&&(n._hasPointMarkers=!0));return e},destroy:function(){var t,e=this,i=e.series,n=i.chart,o=n.hoverPoints;n.pointCount--,o&&(e.setState(),c(o,e),o.length||(n.hoverPoints=null)),e===n.hoverPoint&&e.onMouseOut(),(e.graphic||e.dataLabel)&&(Pe(e),e.destroyElements()),e.legendItem&&n.legend.destroyItem(e);for(t in e)e[t]=null},destroyElements:function(){for(var t,e=this,i=["graphic","dataLabel","dataLabelUpper","group","connector","shadowGroup"],n=6;n--;)t=i[n],e[t]&&(e[t]=e[t].destroy())},getLabelConfig:function(){var t=this;return{x:t.category,y:t.y,key:t.name||t.category,series:t.series,point:t,percentage:t.percentage,total:t.total||t.stackTotal}},select:function(t,e){var i=this,n=i.series,o=n.chart;t=f(t,!i.selected),i.firePointEvent(t?"select":"unselect",{accumulate:e},function(){i.selected=i.options.selected=t,n.options.data[ve(i,n.data)]=i.options,i.setState(t&&oe),eLine truncated
|
||||
e.renderer.isVML&&e.inverted&&(u+=1),Ge.prototype.translate.apply(t),be(t.points,function(t){var e,i,n,r,l=f(t.yBottom,s),g=kt(bt(-999-l,t.plotY),o.len+999+l),m=t.plotX+d,y=c,x=kt(g,l),v=bt(g,l)-x;wt(v)<a&&a&&(v=a,x=yt(wt(x-s)>a?l-a:s-(o.translate(t.y,0,1,0,1)<=s?a:0))),t.barX=m,t.pointWidth=h,r=wt(m)<.5,e=yt(m+y)+p,m=yt(m)+p,y=e-m,n=wt(x)<.5,i=yt(x+v)+u,x=yt(x)+u,v=i-x,r&&(m+=1,y-=1),n&&(x-=1,v+=1),t.shapeType="rect",t.shapeArgs={x:m,y:x,width:y,height:v}})},getSymbol:Gt,drawLegendSymbol:Fe.prototype.drawLegendSymbol,drawGraph:Gt,drawPoints:function(){var t,i=this,n=i.options,o=i.chart.renderer;be(i.points,function(r){var s=r.plotY,a=r.graphic;s===Z||isNaN(s)||null===r.y?a&&(r.graphic=a.destroy()):(t=r.shapeArgs,a?(Me(a),a.animate(e(t))):r.graphic=a=o[r.shapeType](t).attr(r.pointAttr[r.selected?oe:ie]).add(i.group).shadow(n.shadow,null,n.stacking&&!n.borderRadius))})},drawTracker:function(){var t=this,e=t.chart,i=e.pointer,n=t.options.cursor,o=n&&{cursor:n},r=function(i){var n,o=i.target;for(e.hoverSeries!==t&&t.onMouseOver();o&&!n;)n=o.point,o=o.parentNode;n!==Z&&n!==e.hoverPoint&&n.onMouseOver(i)};be(t.points,function(t){t.graphic&&(t.graphic.element.point=t),t.dataLabel&&(t.dataLabel.element.point=t)}),t._hasTracking||(be(t.trackerGroups,function(e){t[e]&&(t[e].addClass(Kt+"tracker").on("mouseover",r).on("mouseout",function(t){i.onTrackerMouseOut(t)}).css(o),Wt&&t[e].on("touchstart",r))}),t._hasTracking=!0)},alignDataLabel:function(t,i,n,o,r){var s=this.chart,a=s.inverted,l=t.dlBox||t.shapeArgs,h=t.below||t.plotY>f(this.translatedThreshold,s.plotSizeY),c=f(n.inside,!!this.options.stacking);l&&(o=e(l),a&&(o={x:s.plotWidth-o.y-o.height,y:s.plotHeight-o.x-o.width,width:o.height,height:o.width}),c||(a?(o.x+=h?0:o.width,o.width=0):(o.y+=h?o.height:0,o.height=0))),n.align=f(n.align,!a||c?"center":h?"right":"left"),n.verticalAlign=f(n.verticalAlign,a||c?"middle":h?"top":"bottom"),Ge.prototype.alignDataLabel.call(this,t,i,n,o,r)},animate:function(t){var e,i=this,n=this.yAxis,o=i.options,r=this.chart.inverted,s={};Rt&&(t?(s.scaleY=.001,e=kt(n.pos+n.len,bt(n.pos,n.toPixels(o.threshold))),r?s.translateX=e-n.len:s.translateY=e,i.group.attr(s)):(s.scaleY=1,s[r?"translateX":"translateY"]=n.pos,i.group.animate(s,i.options.animation),i.animate=null))},remove:function(){var t=this,e=t.chart;e.hasRendered&&be(e.series,function(e){e.type===t.type&&(e.isDirty=!0)}),Ge.prototype.remove.apply(t,arguments)}});fe.column=Ue,Ie.bar=e(Ie.column);var Ze=y(Ue,{type:"bar",inverted:!0});fe.bar=Ze,Ie.scatter=e(ze,{lineWidth:0,tooltip:{headerFormat:'<span style="font-size: 10px; color:{series.color}">{series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>",followPointer:!0},stickyTracking:!1});var Ke=y(Ge,{type:"scatter",sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["markerGroup"],drawTracker:Ue.prototype.drawTracker,setTooltipPoints:Gt});fe.scatter=Ke,Ie.pie=e(ze,{borderColor:"#FFFFFF",borderWidth:1,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return this.point.name}},ignoreHiddenPoint:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,states:{hover:{brightness:.1,shadow:!1}},stickyTracking:!1,tooltip:{followPointer:!0}});var $e=y(Ee,{init:function(){Ee.prototype.init.apply(this,arguments);var e,i=this;return i.y<0&&(i.y=null),t(i,{visible:i.visible!==!1,name:f(i.name,"Slice")}),e=function(t){i.slice("select"===t.type)},Se(i,"select",e),Se(i,"unselect",e),i},setVisible:function(t){var e,i=this,n=i.series,o=n.chart;i.visible=i.options.visible=t=t===Z?!i.visible:t,n.options.data[ve(i,n.data)]=i.options,e=t?"show":"hide",be(["graphic","dataLabel","connector","shadowGroup"],function(t){i[t]&&i[t][e]()}),i.legendItem&&o.legend.colorizeItem(i,t),!n.isDirty&&n.options.ignoreHiddenPoint&&(n.isDirty=!0,o.redraw())},slice:function(t,e,i){var n,o=this,r=o.series,s=r.chart;R(i,s),e=f(e,!0),o.sliced=o.options.sliced=t=d(t)?t:!o.sliced,r.options.data[ve(o,r.data)]=o.options,n=t?o.slicedTranslation:{translateX:0,translateY:0},o.graphic.animate(n),o.shadowGroup&&o.shadowGroup.animate(n)}}),qe={type:"pie",isCartesian:!1,pointClass:$e,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color"},getColor:Gt,animate:function(t){var e=this,i=e.points,n=e.startAngleRad;t||(be(i,function(t){var i=t.graphic,o=t.shapeArgs;i&&(i.attr({r:e.center[3]/2,start:n,end:n}),i.animate({r:o.r,start:o.start,end:o.end},e.options.animation))}),e.animate=null)},setData:function(t,e){Ge.prototype.setData.call(this,t,!1),this.processData(),this.generatePoints(),f(e,!0)&&this.chart.redraw()},generatePoints:function(){var t,e,i,n,o=0,r=this.options.ignoreHiddenPoint;for(Ge.prototype.generatePoints.call(this),e=this.points,i=e.length,t=0;t<i;t++)n=e[t],o+=r&&!n.visible?0:n.y;for(this.total=o,t=0;t<i;t++)n=e[t],n.percentage=o>0?n.y/o*100:0,n.total=o},geLine truncated
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(t,i){function e(t){return"number"==typeof t}function n(t){return t!==a&&null!==t}var a,s,r,o=t.Chart,h=t.extend,l=t.each;r=["path","rect","circle"],s={top:0,left:0,center:.5,middle:.5,bottom:1,right:1};var p=i.inArray,c=t.merge,d=function(){this.init.apply(this,arguments)};d.prototype={init:function(t,i){var e=i.shape&&i.shape.type;this.chart=t;var n,a;a={xAxis:0,yAxis:0,title:{style:{},text:"",x:0,y:0},shape:{params:{stroke:"#000000",fill:"transparent",strokeWidth:2}}},n={circle:{params:{x:0,y:0}}},n[e]&&(a.shape=c(a.shape,n[e])),this.options=c({},a,i)},render:function(t){var i=this.chart,e=this.chart.renderer,n=this.group,a=this.title,s=this.shape,o=this.options,h=o.title,l=o.shape;n||(n=this.group=e.g()),!s&&l&&p(l.type,r)!==-1&&(s=this.shape=e[o.shape.type](l.params),s.add(n)),!a&&h&&(a=this.title=e.label(h),a.add(n)),n.add(i.annotations.group),this.linkObjects(),t!==!1&&this.redraw()},redraw:function(){var i,a,r,o,l=this.options,c=this.chart,d=this.group,u=this.title,y=this.shape,f=this.linkedObject,x=c.xAxis[l.xAxis],g=c.yAxis[l.yAxis],b=l.width,m=l.height,v=s[l.anchorY],w=s[l.anchorX];if(f&&(i=f instanceof t.Point?"point":f instanceof t.Series?"series":null,"point"===i?(l.xValue=f.x,l.yValue=f.y,a=f.series):"series"===i&&(a=f),d.visibility!==a.group.visibility&&d.attr({visibility:a.group.visibility})),f=n(l.xValue)?x.toPixels(l.xValue+x.minPointOffset)-x.minPixelPadding:l.x,i=n(l.yValue)?g.toPixels(l.yValue):l.y,!isNaN(f)&&!isNaN(i)&&e(f)&&e(i)){if(u&&(u.attr(l.title),u.css(l.title.style)),y){if(u=h({},l.shape.params),"values"===l.units){for(r in u)p(r,["width","x"])>-1?u[r]=x.translate(u[r]):p(r,["height","y"])>-1&&(u[r]=g.translate(u[r]));if(u.width&&(u.width-=x.toPixels(0)-x.left),u.x&&(u.x+=x.minPixelPadding),"path"===l.shape.type){r=u.d,a=f;for(var j=i,k=r.length,O=0;O<k;)"number"==typeof r[O]&&"number"==typeof r[O+1]?(r[O]=x.toPixels(r[O])-a,r[O+1]=g.toPixels(r[O+1])-j,O+=2):O+=1}}"circle"===l.shape.type&&(u.x+=u.r,u.y+=u.r),y.attr(u)}d.bBox=null,e(b)||(o=d.getBBox(),b=o.width),e(m)||(o||(o=d.getBBox()),m=o.height),e(w)||(w=s.center),e(v)||(v=s.center),f-=b*w,i-=m*v,c.animation&&n(d.translateX)&&n(d.translateY)?d.animate({translateX:f,translateY:i}):d.translate(f,i)}},destroy:function(){var t=this,i=this.chart.annotations.allItems,e=i.indexOf(t);e>-1&&i.splice(e,1),l(["title","shape","group"],function(i){t[i]&&(t[i].destroy(),t[i]=null)}),t.group=t.title=t.shape=t.chart=t.options=null},update:function(t,i){h(this.options,t),this.linkObjects(),this.render(i)},linkObjects:function(){var t=this.chart,i=this.linkedObject,e=i&&(i.id||i.options.id),a=this.options.linkedTo;n(a)?n(i)&&a===e||(this.linkedObject=t.get(a)):this.linkedObject=null}},h(o.prototype,{annotations:{add:function(t,i){var e,n,a=this.allItems,s=this.chart;for("[object Array]"===Object.prototype.toString.call(t)||(t=[t]),n=t.length;n--;)e=new d(s,t[n]),a.push(e),e.render(i)},redraw:function(){l(this.allItems,function(t){t.redraw()})}}}),o.prototype.callbacks.push(function(i){var e,n=i.options.annotations;e=i.renderer.g("annotations"),e.attr({zIndex:7}),e.add(),i.annotations.allItems=[],i.annotations.chart=i,i.annotations.group=e,"[object Array]"===Object.prototype.toString.call(n)&&n.length>0&&i.annotations.add(i.options.annotations),t.addEvent(i,"redraw",function(){i.annotations.redraw()})})}(Highcharts,HighchartsAdapter);
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(t,i){function e(t){var i,e;return e={xAxis:0,yAxis:0,title:{style:{},text:"",x:0,y:0},shape:{params:{stroke:"#000000",fill:"transparent",strokeWidth:2}}},i={circle:{params:{x:0,y:0}}},i[t]&&(e.shape=f(e.shape,i[t])),e}function n(t){return"[object Array]"===Object.prototype.toString.call(t)}function a(t){return"number"==typeof t}function r(t){return t!==o&&null!==t}function s(t,i,e,n,a){for(var r=t.length,s=0;s<r;)"number"==typeof t[s]&&"number"==typeof t[s+1]?(t[s]=i.toPixels(t[s])-n,t[s+1]=e.toPixels(t[s+1])-a,s+=2):s+=1;return t}var o,l,h,p=t.Chart,c=t.extend,u=t.each;h=["path","rect","circle"],l={top:0,left:0,center:.5,middle:.5,bottom:1,right:1};var d=i.inArray,f=t.merge,y=function(){this.init.apply(this,arguments)};y.prototype={init:function(t,i){var n=i.shape&&i.shape.type;this.chart=t,this.options=f({},e(n),i)},render:function(t){var i=this,e=this.chart,n=i.chart.renderer,a=i.group,r=i.title,s=i.shape,o=i.options,l=o.title,p=o.shape;a||(a=i.group=n.g()),!s&&p&&d(p.type,h)!==-1&&(s=i.shape=n[o.shape.type](p.params),s.add(a)),!r&&l&&(r=i.title=n.label(l),r.add(a)),a.add(e.annotations.group),i.linkObjects(),t!==!1&&i.redraw()},redraw:function(){var i,e,n,o,h,p,u,f=this.options,y=this.chart,x=this.group,g=this.title,b=this.shape,m=this.linkedObject,v=y.xAxis[f.xAxis],w=y.yAxis[f.yAxis],k=f.width,P=f.height,O=l[f.anchorY],j=l[f.anchorX],A=!1;if(m&&(e=m instanceof t.Point?"point":m instanceof t.Series?"series":null,"point"===e?(f.xValue=m.x,f.yValue=m.y,n=m.series):"series"===e&&(n=m),x.visibility!==n.group.visibility&&x.attr({visibility:n.group.visibility})),p=r(f.xValue)?v.toPixels(f.xValue+v.minPointOffset)-v.minPixelPadding:f.x,u=r(f.yValue)?w.toPixels(f.yValue):f.y,!isNaN(p)&&!isNaN(u)&&a(p)&&a(u)){if(g&&(g.attr(f.title),g.css(f.title.style),A=!0),b){if(i=c({},f.shape.params),"values"===f.units){for(o in i)d(o,["width","x"])>-1?i[o]=v.translate(i[o]):d(o,["height","y"])>-1&&(i[o]=w.translate(i[o]));i.width&&(i.width-=v.toPixels(0)-v.left),i.x&&(i.x+=v.minPixelPadding),"path"===f.shape.type&&s(i.d,v,w,p,u)}"circle"===f.shape.type&&(i.x+=i.r,i.y+=i.r),A=!0,b.attr(i)}x.bBox=null,a(k)||(h=x.getBBox(),k=h.width),a(P)||(h||(h=x.getBBox()),P=h.height),a(j)||(j=l.center),a(O)||(O=l.center),p-=k*j,u-=P*O,y.animation&&r(x.translateX)&&r(x.translateY)?x.animate({translateX:p,translateY:u}):x.translate(p,u)}},destroy:function(){var t=this,i=this.chart,e=i.annotations.allItems,n=e.indexOf(t);n>-1&&e.splice(n,1),u(["title","shape","group"],function(i){t[i]&&(t[i].destroy(),t[i]=null)}),t.group=t.title=t.shape=t.chart=t.options=null},update:function(t,i){c(this.options,t),this.linkObjects(),this.render(i)},linkObjects:function(){var t=this,i=t.chart,e=t.linkedObject,n=e&&(e.id||e.options.id),a=t.options,s=a.linkedTo;r(s)?r(e)&&s===n||(t.linkedObject=i.get(s)):t.linkedObject=null}},c(p.prototype,{annotations:{add:function(t,i){var e,a,r=this.allItems,s=this.chart;for(n(t)||(t=[t]),a=t.length;a--;)e=new y(s,t[a]),r.push(e),e.render(i)},redraw:function(){u(this.allItems,function(t){t.redraw()})}}}),p.prototype.callbacks.push(function(i){var e,a=i.options.annotations;e=i.renderer.g("annotations"),e.attr({zIndex:7}),e.add(),i.annotations.allItems=[],i.annotations.chart=i,i.annotations.group=e,n(a)&&a.length>0&&i.annotations.add(i.options.annotations),t.addEvent(i,"redraw",function(){i.annotations.redraw()})})}(Highcharts,HighchartsAdapter);
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;function RGBColor(t){this.ok=!1,"#"==t.charAt(0)&&(t=t.substr(1,6));var e,t=t.replace(/ /g,""),t=t.toLowerCase(),i={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"};for(e in i)t==e&&(t=i[e]);var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}];for(e=0;e<n.length;e++){var s=n[e].process,a=n[e].re.exec(t);a&&(channels=s(a),this.r=channels[0],this.g=channels[1],this.b=channels[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var t=this.r.toString(16),e=this.g.toString(16),i=this.b.toString(16);return 1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),1==i.length&&(i="0"+i),"#"+t+e+i},this.getHelpXML=function(){for(var t=[],e=0;e<n.length;e++)for(var s=n[e].example,a=0;a<s.length;a++)t[t.length]=s[a];for(var r in i)t[t.length]=r;for(s=document.createElement("ul"),s.setAttribute("id","rgbcolor-examples"),e=0;e<t.length;e++)try{var o=document.createElement("li"),h=new RGBColor(t[e]),l=document.createElement("div");l.style.cssText="margin: 3px; border: 1px solid black; background:"+h.toHex()+"; color:"+h.toHex(),l.appendChild(document.createTextNode("test"));var u=document.createTextNode(" "+t[e]+" -> "+h.toRGB()+" -> "+h.toHex());o.appendChild(l),o.appendChild(u),s.appendChild(o)}catch(f){}return s}}window.console||(window.console={},window.console.log=function(){},window.console.dir=function(){}),Array.prototype.indexOf||(Array.prototype.indexOf=function(t){for(var e=0;e<this.length;e++)if(this[e]==t)return e;return-1}),function(){function t(){var t={FRAMERATE:30,MAX_VIRTUAL_PIXELS:3e4};return t.init=function(e){t.Definitions={},t.Styles={},t.Animations=[],t.Images=[],t.ctx=e,t.ViewPort=new function(){this.viewPorts=[],this.Clear=function(){this.viewPorts=[]},this.SetCurrLine truncated
|
||||
this.base=t.Element.ElementBase,this.base(e),this.render=function(){}},t.Element.defs.prototype=new t.Element.ElementBase,t.Element.GradientBase=function(e){for(this.base=t.Element.ElementBase,this.base(e),this.gradientUnits=this.attribute("gradientUnits").valueOrDefault("objectBoundingBox"),this.stops=[],e=0;e<this.children.length;e++)this.stops.push(this.children[e]);this.getGradient=function(){},this.createGradient=function(e,i){var n=this;this.attribute("xlink:href").hasValue()&&(n=this.attribute("xlink:href").Definition.getDefinition());for(var s=this.getGradient(e,i),a=0;a<n.stops.length;a++)s.addColorStop(n.stops[a].offset,n.stops[a].color);if(this.attribute("gradientTransform").hasValue()){n=t.ViewPort.viewPorts[0],a=new t.Element.rect,a.attributes.x=new t.Property("x",-t.MAX_VIRTUAL_PIXELS/3),a.attributes.y=new t.Property("y",-t.MAX_VIRTUAL_PIXELS/3),a.attributes.width=new t.Property("width",t.MAX_VIRTUAL_PIXELS),a.attributes.height=new t.Property("height",t.MAX_VIRTUAL_PIXELS);var r=new t.Element.g;return r.attributes.transform=new t.Property("transform",this.attribute("gradientTransform").value),r.children=[a],a=new t.Element.svg,a.attributes.x=new t.Property("x",0),a.attributes.y=new t.Property("y",0),a.attributes.width=new t.Property("width",n.width),a.attributes.height=new t.Property("height",n.height),a.children=[r],r=document.createElement("canvas"),r.width=n.width,r.height=n.height,n=r.getContext("2d"),n.fillStyle=s,a.render(n),n.createPattern(r,"no-repeat")}return s}},t.Element.GradientBase.prototype=new t.Element.ElementBase,t.Element.linearGradient=function(e){this.base=t.Element.GradientBase,this.base(e),this.getGradient=function(t,e){var i=e.getBoundingBox(),n="objectBoundingBox"==this.gradientUnits?i.x()+i.width()*this.attribute("x1").numValue():this.attribute("x1").Length.toPixels("x"),s="objectBoundingBox"==this.gradientUnits?i.y()+i.height()*this.attribute("y1").numValue():this.attribute("y1").Length.toPixels("y"),a="objectBoundingBox"==this.gradientUnits?i.x()+i.width()*this.attribute("x2").numValue():this.attribute("x2").Length.toPixels("x"),i="objectBoundingBox"==this.gradientUnits?i.y()+i.height()*this.attribute("y2").numValue():this.attribute("y2").Length.toPixels("y");return t.createLinearGradient(n,s,a,i)}},t.Element.linearGradient.prototype=new t.Element.GradientBase,t.Element.radialGradient=function(e){this.base=t.Element.GradientBase,this.base(e),this.getGradient=function(t,e){var i=e.getBoundingBox(),n="objectBoundingBox"==this.gradientUnits?i.x()+i.width()*this.attribute("cx").numValue():this.attribute("cx").Length.toPixels("x"),s="objectBoundingBox"==this.gradientUnits?i.y()+i.height()*this.attribute("cy").numValue():this.attribute("cy").Length.toPixels("y"),a=n,r=s;return this.attribute("fx").hasValue()&&(a="objectBoundingBox"==this.gradientUnits?i.x()+i.width()*this.attribute("fx").numValue():this.attribute("fx").Length.toPixels("x")),this.attribute("fy").hasValue()&&(r="objectBoundingBox"==this.gradientUnits?i.y()+i.height()*this.attribute("fy").numValue():this.attribute("fy").Length.toPixels("y")),i="objectBoundingBox"==this.gradientUnits?(i.width()+i.height())/2*this.attribute("r").numValue():this.attribute("r").Length.toPixels(),t.createRadialGradient(a,r,0,n,s,i)}},t.Element.radialGradient.prototype=new t.Element.GradientBase,t.Element.stop=function(e){this.base=t.Element.ElementBase,this.base(e),this.offset=this.attribute("offset").numValue(),e=this.style("stop-color"),this.style("stop-opacity").hasValue()&&(e=e.Color.addOpacity(this.style("stop-opacity").value)),this.color=e.value},t.Element.stop.prototype=new t.Element.ElementBase,t.Element.AnimateBase=function(e){this.base=t.Element.ElementBase,this.base(e),t.Animations.push(this),this.duration=0,this.begin=this.attribute("begin").Time.toMilliseconds(),this.maxDuration=this.begin+this.attribute("dur").Time.toMilliseconds(),this.getProperty=function(){var t=this.attribute("attributeType").value,e=this.attribute("attributeName").value;return"CSS"==t?this.parent.style(e,!0):this.parent.attribute(e,!0)},this.initialValue=null,this.removed=!1,this.calcValue=function(){return""},this.update=function(t){if(null==this.initialValue&&(this.initialValue=this.getProperty().value),this.duration>this.maxDuration){if("indefinite"!=this.attribute("repeatCount").value)return"remove"==this.attribute("fill").valueOrDefault("remove")&&!this.removed&&(this.removed=!0,this.getProperty().value=this.initialValue,!0);this.duration=0}return this.duration+=t,t=!1,this.begin<this.duration&&(t=this.calcValue(),this.attribute("type").hasValue()&&(t=this.attribute("type").value+"("+t+")"),this.getProperty().value=t,t=!0),t},this.progress=function(){return(this.duration-this.begin)/(this.maxDuration-this.begin)}},t.Element.AnimateBase.prototype=new t.Element.ElementBase,t.Element.animate=function(e){this.base=t.Element.AnimateBase,this.base(e),this.calcValue=function(){var t=this.attribute("from").numValue(),e=this.attribute("to").numValuLine truncated
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;function RGBColor(t){this.ok=!1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t=t.replace(/ /g,""),t=t.toLowerCase();var e={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"};for(var i in e)t==i&&(t=e[i]);for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],s=0;s<n.length;s++){var a=n[s].re,r=n[s].process,o=a.exec(t);o&&(channels=r(o),this.r=channels[0],this.g=channels[1],this.b=channels[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var t=this.r.toString(16),e=this.g.toString(16),i=this.b.toString(16);return 1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),1==i.length&&(i="0"+i),"#"+t+e+i},this.getHelpXML=function(){for(var t=new Array,i=0;i<n.length;i++)for(var s=n[i].example,a=0;a<s.length;a++)t[t.length]=s[a];for(var r in e)t[t.length]=r;var o=document.createElement("ul");o.setAttribute("id","rgbcolor-examples");for(var i=0;i<t.length;i++)try{var l=document.createElement("li"),h=new RGBColor(t[i]),u=document.createElement("div");u.style.cssText="margin: 3px; border: 1px solid black; background:"+h.toHex()+"; color:"+h.toHex(),u.appendChild(document.createTextNode("test"));var f=document.createTextNode(" "+t[i]+" -> "+h.toRGB()+" -> "+h.toHex());l.appendChild(u),l.appendChild(f),o.appendChild(l)}catch(c){}return o}}window.console||(window.console={},window.console.log=function(t){},window.console.dir=function(t){}),Array.prototype.indexOf||(Array.prototype.indexOf=function(t){for(var e=0;e<this.length;e++)if(this[e]==t)return e;return-1}),function(){function t(){var t={};return t.FRAMERATE=30,t.MAX_VIRTUAL_PIXELS=3e4,t.init=function(e){t.Definitions={},t.Styles={},t.Animations=[],t.Images=[],t.ctx=e,t.ViewPort=new function(){this.viewPorts=[],this.Clear=function(){thiLine truncated
|
||||
s.attributes.fill=new t.Property("fill",this.attribute("fill").valueOrDefault("black")),s.attributes.stroke=new t.Property("stroke",this.attribute("stroke").valueOrDefault("none")),s.children=this.children,s.render(e),e.restore(),"strokeWidth"==this.attribute("markerUnits").valueOrDefault("strokeWidth")&&e.scale(1/e.lineWidth,1/e.lineWidth),"auto"==this.attribute("orient").valueOrDefault("auto")&&e.rotate(-n),e.translate(-i.x,-i.y)}},t.Element.marker.prototype=new t.Element.ElementBase,t.Element.defs=function(e){this.base=t.Element.ElementBase,this.base(e),this.render=function(t){}},t.Element.defs.prototype=new t.Element.ElementBase,t.Element.GradientBase=function(e){this.base=t.Element.ElementBase,this.base(e),this.gradientUnits=this.attribute("gradientUnits").valueOrDefault("objectBoundingBox"),this.stops=[];for(var i=0;i<this.children.length;i++){var n=this.children[i];this.stops.push(n)}this.getGradient=function(){},this.createGradient=function(e,i){var n=this;this.attribute("xlink:href").hasValue()&&(n=this.attribute("xlink:href").Definition.getDefinition());for(var s=this.getGradient(e,i),a=0;a<n.stops.length;a++)s.addColorStop(n.stops[a].offset,n.stops[a].color);if(this.attribute("gradientTransform").hasValue()){var r=t.ViewPort.viewPorts[0],o=new t.Element.rect;o.attributes.x=new t.Property("x",-t.MAX_VIRTUAL_PIXELS/3),o.attributes.y=new t.Property("y",-t.MAX_VIRTUAL_PIXELS/3),o.attributes.width=new t.Property("width",t.MAX_VIRTUAL_PIXELS),o.attributes.height=new t.Property("height",t.MAX_VIRTUAL_PIXELS);var l=new t.Element.g;l.attributes.transform=new t.Property("transform",this.attribute("gradientTransform").value),l.children=[o];var h=new t.Element.svg;h.attributes.x=new t.Property("x",0),h.attributes.y=new t.Property("y",0),h.attributes.width=new t.Property("width",r.width),h.attributes.height=new t.Property("height",r.height),h.children=[l];var u=document.createElement("canvas");u.width=r.width,u.height=r.height;var f=u.getContext("2d");return f.fillStyle=s,h.render(f),f.createPattern(u,"no-repeat")}return s}},t.Element.GradientBase.prototype=new t.Element.ElementBase,t.Element.linearGradient=function(e){this.base=t.Element.GradientBase,this.base(e),this.getGradient=function(t,e){var i=e.getBoundingBox(),n="objectBoundingBox"==this.gradientUnits?i.x()+i.width()*this.attribute("x1").numValue():this.attribute("x1").Length.toPixels("x"),s="objectBoundingBox"==this.gradientUnits?i.y()+i.height()*this.attribute("y1").numValue():this.attribute("y1").Length.toPixels("y"),a="objectBoundingBox"==this.gradientUnits?i.x()+i.width()*this.attribute("x2").numValue():this.attribute("x2").Length.toPixels("x"),r="objectBoundingBox"==this.gradientUnits?i.y()+i.height()*this.attribute("y2").numValue():this.attribute("y2").Length.toPixels("y");return t.createLinearGradient(n,s,a,r)}},t.Element.linearGradient.prototype=new t.Element.GradientBase,t.Element.radialGradient=function(e){this.base=t.Element.GradientBase,this.base(e),this.getGradient=function(t,e){var i=e.getBoundingBox(),n="objectBoundingBox"==this.gradientUnits?i.x()+i.width()*this.attribute("cx").numValue():this.attribute("cx").Length.toPixels("x"),s="objectBoundingBox"==this.gradientUnits?i.y()+i.height()*this.attribute("cy").numValue():this.attribute("cy").Length.toPixels("y"),a=n,r=s;this.attribute("fx").hasValue()&&(a="objectBoundingBox"==this.gradientUnits?i.x()+i.width()*this.attribute("fx").numValue():this.attribute("fx").Length.toPixels("x")),this.attribute("fy").hasValue()&&(r="objectBoundingBox"==this.gradientUnits?i.y()+i.height()*this.attribute("fy").numValue():this.attribute("fy").Length.toPixels("y"));var o="objectBoundingBox"==this.gradientUnits?(i.width()+i.height())/2*this.attribute("r").numValue():this.attribute("r").Length.toPixels();return t.createRadialGradient(a,r,0,n,s,o)}},t.Element.radialGradient.prototype=new t.Element.GradientBase,t.Element.stop=function(e){this.base=t.Element.ElementBase,this.base(e),this.offset=this.attribute("offset").numValue();var i=this.style("stop-color");this.style("stop-opacity").hasValue()&&(i=i.Color.addOpacity(this.style("stop-opacity").value)),this.color=i.value},t.Element.stop.prototype=new t.Element.ElementBase,t.Element.AnimateBase=function(e){this.base=t.Element.ElementBase,this.base(e),t.Animations.push(this),this.duration=0,this.begin=this.attribute("begin").Time.toMilliseconds(),this.maxDuration=this.begin+this.attribute("dur").Time.toMilliseconds(),this.getProperty=function(){var t=this.attribute("attributeType").value,e=this.attribute("attributeName").value;return"CSS"==t?this.parent.style(e,!0):this.parent.attribute(e,!0)},this.initialValue=null,this.removed=!1,this.calcValue=function(){return""},this.update=function(t){if(null==this.initialValue&&(this.initialValue=this.getProperty().value),this.duration>this.maxDuration){if("indefinite"!=this.attribute("repeatCount").value)return"remove"==this.attribute("fill").valueOrDefault("remove")&&!this.removed&&(this.removed=!0,this.getPropertLine truncated
|
||||
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(t){var e=t.each,s=function(t,e){this.init(t,e)};t.extend(s.prototype,{init:function(t,e){this.options=t,this.chartOptions=e,this.columns=t.columns||this.rowsToColumns(t.rows)||[],this.columns.length?this.dataFound():(this.parseCSV(),this.parseTable(),this.parseGoogleSpreadsheet())},getColumnDistribution:function(){var s=this.chartOptions,i=s&&s.chart&&s.chart.type,n=[];e(s&&s.series||[],function(e){n.push((t.seriesTypes[e.type||i||"line"].prototype.pointArrayMap||[0]).length)}),this.valueCount={global:(t.seriesTypes[i||"line"].prototype.pointArrayMap||[0]).length,individual:n}},dataFound:function(){this.parseTypes(),this.findHeaderRow(),this.parsed(),this.complete()},parseCSV:function(){var t=this,s=this.options,i=s.csv,n=this.columns,o=s.startRow||0,r=s.endRow||Number.MAX_VALUE,a=s.startColumn||0,l=s.endColumn||Number.MAX_VALUE,u=0;i&&(i=i.replace(/\r\n/g,"\n").replace(/\r/g,"\n").split(s.lineDelimiter||"\n"),e(i,function(i,h){var p=t.trim(i),c=0===p.indexOf("#");h>=o&&h<=r&&!c&&""!==p&&(p=i.split(s.itemDelimiter||","),e(p,function(t,e){e>=a&&e<=l&&(n[e-a]||(n[e-a]=[]),n[e-a][u]=t)}),u+=1)}),this.dataFound())},parseTable:function(){var t,s=this.options,i=s.table,n=this.columns,o=s.startRow||0,r=s.endRow||Number.MAX_VALUE,a=s.startColumn||0,l=s.endColumn||Number.MAX_VALUE;i&&("string"==typeof i&&(i=document.getElementById(i)),e(i.getElementsByTagName("tr"),function(s,i){t=0,i>=o&&i<=r&&e(s.childNodes,function(e){("TD"===e.tagName||"TH"===e.tagName)&&t>=a&&t<=l&&(n[t]||(n[t]=[]),n[t][i-o]=e.innerHTML,t+=1)})}),this.dataFound())},parseGoogleSpreadsheet:function(){var t,e,s=this,i=this.options,n=i.googleSpreadsheetKey,o=this.columns,r=i.startRow||0,a=i.endRow||Number.MAX_VALUE,l=i.startColumn||0,u=i.endColumn||Number.MAX_VALUE;n&&jQuery.getJSON("https://spreadsheets.google.com/feeds/cells/"+n+"/"+(i.googleSpreadsheetWorksheet||"od6")+"/public/values?alt=json-in-script&callback=?",function(i){var n,h,i=i.feed.entry,p=i.length,c=0,m=0;for(h=0;h<p;h++)n=i[h],c=Math.max(c,n.gs$cell.col),m=Math.max(m,n.gs$cell.row);for(h=0;h<c;h++)h>=l&&h<=u&&(o[h-l]=[],o[h-l].length=Math.min(m,a-r));for(h=0;h<p;h++)n=i[h],t=n.gs$cell.row-1,e=n.gs$cell.col-1,e>=l&&e<=u&&t>=r&&t<=a&&(o[e-l][t-r]=n.content.$t);s.dataFound()})},findHeaderRow:function(){e(this.columns,function(){}),this.headerRow=0},trim:function(t){return"string"==typeof t?t.replace(/^\s+|\s+$/g,""):t},parseTypes:function(){for(var t,e,s,i,n=this.columns,o=n.length;o--;)for(t=n[o].length;t--;)e=n[o][t],s=parseFloat(e),i=this.trim(e),i==s?(n[o][t]=s,s>31536e6?n[o].isDatetime=!0:n[o].isNumeric=!0):(e=this.parseDate(e),0!==o||"number"!=typeof e||isNaN(e)?n[o][t]=""===i?null:i:(n[o][t]=e,n[o].isDatetime=!0))},dateFormats:{"YYYY-mm-dd":{regex:"^([0-9]{4})-([0-9]{2})-([0-9]{2})$",parser:function(t){return Date.UTC(+t[1],t[2]-1,+t[3])}}},parseDate:function(t){var e,s,i,n=this.options.parseDate;if(n&&(e=n(t)),"string"==typeof t)for(s in this.dateFormats)n=this.dateFormats[s],(i=t.match(n.regex))&&(e=n.parser(i));return e},rowsToColumns:function(t){var e,s,i,n,o;if(t)for(o=[],s=t.length,e=0;e<s;e++)for(n=t[e].length,i=0;i<n;i++)o[i]||(o[i]=[]),o[i][e]=t[e][i];return o},parsed:function(){this.options.parsed&&this.options.parsed.call(this,this.columns)},complete:function(){var e,s,i,n,o,r,a,l,u=this.columns,h=this.options;if(h.complete){for(this.getColumnDistribution(),u.length>1&&(e=u.shift(),0===this.headerRow&&e.shift(),e.isDatetime?s="datetime":e.isNumeric||(s="category")),r=0;r<u.length;r++)0===this.headerRow&&(u[r].name=u[r].shift());for(n=[],r=0,l=0;r<u.length;l++){for(i=t.pick(this.valueCount.individual[l],this.valueCount.global),o=[],a=0;a<u[r].length;a++)o[a]=[e[a],void 0!==u[r][a]?u[r][a]:null],i>1&&o[a].push(void 0!==u[r+1][a]?u[r+1][a]:null),i>2&&o[a].push(void 0!==u[r+2][a]?u[r+2][a]:null),i>3&&o[a].push(void 0!==u[r+3][a]?u[r+3][a]:null),i>4&&o[a].push(void 0!==u[r+4][a]?u[r+4][a]:null);n[l]={name:u[r].name,data:o},r+=i}h.complete({xAxis:{type:s},series:n})}}}),t.Data=s,t.data=function(t,e){return new s(t,e)},t.wrap(t.Chart.prototype,"init",function(s,i,n){var o=this;i&&i.data?t.data(t.extend(i.data,{complete:function(r){i.series&&e(i.series,function(e,s){i.series[s]=t.merge(e,r.series[s])}),i=t.merge(r,i),s.call(o,i,n)}}),i):s.call(o,i,n)})}(Highcharts);
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(t){var e=t.each,n=function(t,e){this.init(t,e)};t.extend(n.prototype,{init:function(t,e){this.options=t,this.chartOptions=e,this.columns=t.columns||this.rowsToColumns(t.rows)||[],this.columns.length?this.dataFound():(this.parseCSV(),this.parseTable(),this.parseGoogleSpreadsheet())},getColumnDistribution:function(){var n=this.chartOptions,i=function(e){return(t.seriesTypes[e||"line"].prototype.pointArrayMap||[0]).length},s=n&&n.chart&&n.chart.type,o=[];e(n&&n.series||[],function(t){o.push(i(t.type||s))}),this.valueCount={global:i(s),individual:o}},dataFound:function(){this.parseTypes(),this.findHeaderRow(),this.parsed(),this.complete()},parseCSV:function(){var t,n=this,i=this.options,s=i.csv,o=this.columns,r=i.startRow||0,a=i.endRow||Number.MAX_VALUE,l=i.startColumn||0,u=i.endColumn||Number.MAX_VALUE,h=0;s&&(t=s.replace(/\r\n/g,"\n").replace(/\r/g,"\n").split(i.lineDelimiter||"\n"),e(t,function(t,s){var c,p=n.trim(t),m=0===p.indexOf("#"),d=""===p;s>=r&&s<=a&&!m&&!d&&(c=t.split(i.itemDelimiter||","),e(c,function(t,e){e>=l&&e<=u&&(o[e-l]||(o[e-l]=[]),o[e-l][h]=t)}),h+=1)}),this.dataFound())},parseTable:function(){var t,n=this.options,i=n.table,s=this.columns,o=n.startRow||0,r=n.endRow||Number.MAX_VALUE,a=n.startColumn||0,l=n.endColumn||Number.MAX_VALUE;i&&("string"==typeof i&&(i=document.getElementById(i)),e(i.getElementsByTagName("tr"),function(n,i){t=0,i>=o&&i<=r&&e(n.childNodes,function(e){("TD"===e.tagName||"TH"===e.tagName)&&t>=a&&t<=l&&(s[t]||(s[t]=[]),s[t][i-o]=e.innerHTML,t+=1)})}),this.dataFound())},parseGoogleSpreadsheet:function(){var t,e,n=this,i=this.options,s=i.googleSpreadsheetKey,o=this.columns,r=i.startRow||0,a=i.endRow||Number.MAX_VALUE,l=i.startColumn||0,u=i.endColumn||Number.MAX_VALUE;s&&jQuery.getJSON("https://spreadsheets.google.com/feeds/cells/"+s+"/"+(i.googleSpreadsheetWorksheet||"od6")+"/public/values?alt=json-in-script&callback=?",function(i){var s,h,c=i.feed.entry,p=c.length,m=0,d=0;for(h=0;h<p;h++)s=c[h],m=Math.max(m,s.gs$cell.col),d=Math.max(d,s.gs$cell.row);for(h=0;h<m;h++)h>=l&&h<=u&&(o[h-l]=[],o[h-l].length=Math.min(d,a-r));for(h=0;h<p;h++)s=c[h],t=s.gs$cell.row-1,e=s.gs$cell.col-1,e>=l&&e<=u&&t>=r&&t<=a&&(o[e-l][t-r]=s.content.$t);n.dataFound()})},findHeaderRow:function(){var t=0;e(this.columns,function(e){"string"!=typeof e[0]&&(t=null)}),this.headerRow=0},trim:function(t){return"string"==typeof t?t.replace(/^\s+|\s+$/g,""):t},parseTypes:function(){for(var t,e,n,i,s,o=this.columns,r=o.length;r--;)for(t=o[r].length;t--;)e=o[r][t],n=parseFloat(e),i=this.trim(e),i==n?(o[r][t]=n,n>31536e6?o[r].isDatetime=!0:o[r].isNumeric=!0):(s=this.parseDate(e),0!==r||"number"!=typeof s||isNaN(s)?o[r][t]=""===i?null:i:(o[r][t]=s,o[r].isDatetime=!0))},dateFormats:{"YYYY-mm-dd":{regex:"^([0-9]{4})-([0-9]{2})-([0-9]{2})$",parser:function(t){return Date.UTC(+t[1],t[2]-1,+t[3])}}},parseDate:function(t){var e,n,i,s,o=this.options.parseDate;if(o&&(e=o(t)),"string"==typeof t)for(n in this.dateFormats)i=this.dateFormats[n],s=t.match(i.regex),s&&(e=i.parser(s));return e},rowsToColumns:function(t){var e,n,i,s,o;if(t)for(o=[],n=t.length,e=0;e<n;e++)for(s=t[e].length,i=0;i<s;i++)o[i]||(o[i]=[]),o[i][e]=t[e][i];return o},parsed:function(){this.options.parsed&&this.options.parsed.call(this,this.columns)},complete:function(){var e,n,i,s,o,r,a,l,u=this.columns,h=this.options;if(h.complete){for(this.getColumnDistribution(),u.length>1&&(e=u.shift(),0===this.headerRow&&e.shift(),e.isDatetime?n="datetime":e.isNumeric||(n="category")),r=0;r<u.length;r++)0===this.headerRow&&(u[r].name=u[r].shift());for(s=[],r=0,l=0;r<u.length;l++){for(i=t.pick(this.valueCount.individual[l],this.valueCount.global),o=[],a=0;a<u[r].length;a++)o[a]=[e[a],void 0!==u[r][a]?u[r][a]:null],i>1&&o[a].push(void 0!==u[r+1][a]?u[r+1][a]:null),i>2&&o[a].push(void 0!==u[r+2][a]?u[r+2][a]:null),i>3&&o[a].push(void 0!==u[r+3][a]?u[r+3][a]:null),i>4&&o[a].push(void 0!==u[r+4][a]?u[r+4][a]:null);s[l]={name:u[r].name,data:o},r+=i}h.complete({xAxis:{type:n},series:s})}}}),t.Data=n,t.data=function(t,e){return new n(t,e)},t.wrap(t.Chart.prototype,"init",function(n,i,s){var o=this;i&&i.data?t.data(t.extend(i.data,{complete:function(r){i.series&&e(i.series,function(e,n){i.series[n]=t.merge(e,r.series[n])}),i=t.merge(r,i),n.call(o,i,s)}}),i):n.call(o,i,s)})}(Highcharts);
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(t){function i(t,i,o){return"rgba("+[Math.round(t[0]+(i[0]-t[0])*o),Math.round(t[1]+(i[1]-t[1])*o),Math.round(t[2]+(i[2]-t[2])*o),t[3]+(i[3]-t[3])*o].join(",")+")"}var o=function(){},r=t.getOptions(),e=t.each,n=t.extend,l=t.wrap,s=t.Chart,a=t.seriesTypes,p=a.pie,d=a.column,h=HighchartsAdapter.fireEvent;n(r.lang,{drillUpText:"◁ Back to {series.name}"}),r.drilldown={activeAxisLabelStyle:{cursor:"pointer",color:"#039",fontWeight:"bold",textDecoration:"underline"},activeDataLabelStyle:{cursor:"pointer",color:"#039",fontWeight:"bold",textDecoration:"underline"},animation:{duration:500},drillUpButton:{position:{align:"right",x:-10,y:10}}},t.SVGRenderer.prototype.Element.prototype.fadeIn=function(){this.attr({opacity:.1,visibility:"visible"}).animate({opacity:1},{duration:250})},s.prototype.drilldownLevels=[],s.prototype.addSeriesAsDrilldown=function(t,i){var r,e=t.series,l=e.xAxis,s=e.yAxis;r=t.color||e.color;var a,i=n({color:r},i);a=HighchartsAdapter.inArray(this,e.points),this.drilldownLevels.push({seriesOptions:e.userOptions,shapeArgs:t.shapeArgs,bBox:t.graphic.getBBox(),color:r,newSeries:i,pointOptions:e.options.data[a],pointIndex:a,oldExtremes:{xMin:l&&l.userMin,xMax:l&&l.userMax,yMin:s&&s.userMin,yMax:s&&s.userMax}}),r=this.addSeries(i,!1),l&&(l.oldPos=l.pos,l.userMin=l.userMax=null,s.userMin=s.userMax=null),e.type===r.type&&(r.animate=r.animateDrilldown||o,r.options.animation=!0),e.remove(!1),this.redraw(),this.showDrillUpButton()},s.prototype.getDrilldownBackText=function(){return this.options.lang.drillUpText.replace("{series.name}",this.drilldownLevels[this.drilldownLevels.length-1].seriesOptions.name)},s.prototype.showDrillUpButton=function(){var t=this,i=this.getDrilldownBackText(),o=t.options.drilldown.drillUpButton;this.drillUpButton?this.drillUpButton.attr({text:i}).align():this.drillUpButton=this.renderer.button(i,null,null,function(){t.drillUp()}).attr(n({align:o.position.align,zIndex:9},o.theme)).add().align(o.position,!1,o.relativeTo||"plotBox")},s.prototype.drillUp=function(){var t=this.drilldownLevels.pop(),i=this.series[0],r=t.oldExtremes,e=this.addSeries(t.seriesOptions,!1);h(this,"drillup",{seriesOptions:t.seriesOptions}),e.type===i.type&&(e.drilldownLevel=t,e.animate=e.animateDrillupTo||o,e.options.animation=!0,i.animateDrillupFrom&&i.animateDrillupFrom(t)),i.remove(!1),e.xAxis&&(e.xAxis.setExtremes(r.xMin,r.xMax,!1),e.yAxis.setExtremes(r.yMin,r.yMax,!1)),this.redraw(),0===this.drilldownLevels.length?this.drillUpButton=this.drillUpButton.destroy():this.drillUpButton.attr({text:this.getDrilldownBackText()}).align()},p.prototype.animateDrilldown=function(o){var r=this.chart.drilldownLevels[this.chart.drilldownLevels.length-1],n=this.chart.options.drilldown.animation,l=r.shapeArgs,s=l.start,a=(l.end-s)/this.points.length,p=t.Color(r.color).rgba;o||e(this.points,function(o,r){var e=t.Color(o.color).rgba;o.graphic.attr(t.merge(l,{start:s+r*a,end:s+(r+1)*a})).animate(o.shapeArgs,t.merge(n,{step:function(t,o){"start"===o.prop&&this.attr({fill:i(p,e,o.pos)})}}))})},p.prototype.animateDrillupTo=d.prototype.animateDrillupTo=function(t){if(!t){var i=this,r=i.drilldownLevel;e(this.points,function(t){t.graphic.hide(),t.dataLabel&&t.dataLabel.hide(),t.connector&&t.connector.hide()}),setTimeout(function(){e(i.points,function(t,i){var o=i===r.pointIndex?"show":"fadeIn";t.graphic[o](),t.dataLabel&&t.dataLabel[o](),t.connector&&t.connector[o]()})},Math.max(this.chart.options.drilldown.animation.duration-50,0)),this.animate=o}},d.prototype.animateDrilldown=function(t){var i=this.chart.drilldownLevels[this.chart.drilldownLevels.length-1].shapeArgs,o=this.chart.options.drilldown.animation;t||(i.x+=this.xAxis.oldPos-this.xAxis.pos,e(this.points,function(t){t.graphic.attr(i).animate(t.shapeArgs,o)}))},d.prototype.animateDrillupFrom=p.prototype.animateDrillupFrom=function(o){var r=this.chart.options.drilldown.animation,n=this.group;delete this.group,e(this.points,function(e){var l=e.graphic,s=t.Color(e.color).rgba;delete e.graphic,l.animate(o.shapeArgs,t.merge(r,{step:function(r,e){"start"===e.prop&&this.attr({fill:i(s,t.Color(o.color).rgba,e.pos)})},complete:function(){l.destroy(),n&&(n=n.destroy())}}))})},t.Point.prototype.doDrilldown=function(){for(var t,i=this.series.chart,o=i.options.drilldown,r=o.series.length;r--&&!t;)o.series[r].id===this.drilldown&&(t=o.series[r]);h(i,"drilldown",{point:this,seriesOptions:t}),t&&i.addSeriesAsDrilldown(this,t)},l(t.Point.prototype,"init",function(i,o,r,e){var n=i.call(this,o,r,e),i=o.chart,o=(o=o.xAxis&&o.xAxis.ticks[e])&&o.label;return n.drilldown?(t.addEvent(n,"click",function(){n.doDrilldown()}),o&&(o._basicStyle||(o._basicStyle=o.element.getAttribute("style")),o.addClass("highcharts-drilldown-axis-label").css(i.options.drilldown.activeAxisLabelStyle).on("click",function(){n.doDrilldown&&n.doDrilldown()}))):o&&o._basicStyle&&o.element.setAttribute("style",o._basicStyle),n}),l(t.Series.prototype,"drawDataLabels",function(t){var i=this.chart.options.drilldLine truncated
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(t){"use strict";function i(t,i,o){var r=[Math.round(t[0]+(i[0]-t[0])*o),Math.round(t[1]+(i[1]-t[1])*o),Math.round(t[2]+(i[2]-t[2])*o),t[3]+(i[3]-t[3])*o];return"rgba("+r.join(",")+")"}var o=function(){},r=t.getOptions(),e=t.each,n=t.extend,l=t.wrap,s=t.Chart,a=t.seriesTypes,p=a.pie,d=a.column,h=HighchartsAdapter.fireEvent;n(r.lang,{drillUpText:"◁ Back to {series.name}"}),r.drilldown={activeAxisLabelStyle:{cursor:"pointer",color:"#039",fontWeight:"bold",textDecoration:"underline"},activeDataLabelStyle:{cursor:"pointer",color:"#039",fontWeight:"bold",textDecoration:"underline"},animation:{duration:500},drillUpButton:{position:{align:"right",x:-10,y:10}}},t.SVGRenderer.prototype.Element.prototype.fadeIn=function(){this.attr({opacity:.1,visibility:"visible"}).animate({opacity:1},{duration:250})},s.prototype.drilldownLevels=[],s.prototype.addSeriesAsDrilldown=function(t,i){var r,e,l,s=t.series,a=s.xAxis,p=s.yAxis,d=t.color||s.color;i=n({color:d},i),e=HighchartsAdapter.inArray(this,s.points),l={seriesOptions:s.userOptions,shapeArgs:t.shapeArgs,bBox:t.graphic.getBBox(),color:d,newSeries:i,pointOptions:s.options.data[e],pointIndex:e,oldExtremes:{xMin:a&&a.userMin,xMax:a&&a.userMax,yMin:p&&p.userMin,yMax:p&&p.userMax}},this.drilldownLevels.push(l),r=this.addSeries(i,!1),a&&(a.oldPos=a.pos,a.userMin=a.userMax=null,p.userMin=p.userMax=null),s.type===r.type&&(r.animate=r.animateDrilldown||o,r.options.animation=!0),s.remove(!1),this.redraw(),this.showDrillUpButton()},s.prototype.getDrilldownBackText=function(){var t=this.drilldownLevels[this.drilldownLevels.length-1];return this.options.lang.drillUpText.replace("{series.name}",t.seriesOptions.name)},s.prototype.showDrillUpButton=function(){var t=this,i=this.getDrilldownBackText(),o=t.options.drilldown.drillUpButton;this.drillUpButton?this.drillUpButton.attr({text:i}).align():this.drillUpButton=this.renderer.button(i,null,null,function(){t.drillUp()}).attr(n({align:o.position.align,zIndex:9},o.theme)).add().align(o.position,!1,o.relativeTo||"plotBox")},s.prototype.drillUp=function(){var t=this,i=t.drilldownLevels.pop(),r=t.series[0],e=i.oldExtremes,n=t.addSeries(i.seriesOptions,!1);h(t,"drillup",{seriesOptions:i.seriesOptions}),n.type===r.type&&(n.drilldownLevel=i,n.animate=n.animateDrillupTo||o,n.options.animation=!0,r.animateDrillupFrom&&r.animateDrillupFrom(i)),r.remove(!1),n.xAxis&&(n.xAxis.setExtremes(e.xMin,e.xMax,!1),n.yAxis.setExtremes(e.yMin,e.yMax,!1)),this.redraw(),0===this.drilldownLevels.length?this.drillUpButton=this.drillUpButton.destroy():this.drillUpButton.attr({text:this.getDrilldownBackText()}).align()},p.prototype.animateDrilldown=function(o){var r=this.chart.drilldownLevels[this.chart.drilldownLevels.length-1],n=this.chart.options.drilldown.animation,l=r.shapeArgs,s=l.start,a=l.end-s,p=a/this.points.length,d=t.Color(r.color).rgba;o||e(this.points,function(o,r){var e=t.Color(o.color).rgba;o.graphic.attr(t.merge(l,{start:s+r*p,end:s+(r+1)*p})).animate(o.shapeArgs,t.merge(n,{step:function(t,o){"start"===o.prop&&this.attr({fill:i(d,e,o.pos)})}}))})},p.prototype.animateDrillupTo=d.prototype.animateDrillupTo=function(t){if(!t){var i=this,r=i.drilldownLevel;e(this.points,function(t){t.graphic.hide(),t.dataLabel&&t.dataLabel.hide(),t.connector&&t.connector.hide()}),setTimeout(function(){e(i.points,function(t,i){var o=i===r.pointIndex?"show":"fadeIn";t.graphic[o](),t.dataLabel&&t.dataLabel[o](),t.connector&&t.connector[o]()})},Math.max(this.chart.options.drilldown.animation.duration-50,0)),this.animate=o}},d.prototype.animateDrilldown=function(t){var i=this.chart.drilldownLevels[this.chart.drilldownLevels.length-1].shapeArgs,o=this.chart.options.drilldown.animation;t||(i.x+=this.xAxis.oldPos-this.xAxis.pos,e(this.points,function(t){t.graphic.attr(i).animate(t.shapeArgs,o)}))},d.prototype.animateDrillupFrom=p.prototype.animateDrillupFrom=function(o){var r=this.chart.options.drilldown.animation,n=this.group;delete this.group,e(this.points,function(e){var l=e.graphic,s=t.Color(e.color).rgba;delete e.graphic,l.animate(o.shapeArgs,t.merge(r,{step:function(r,e){"start"===e.prop&&this.attr({fill:i(s,t.Color(o.color).rgba,e.pos)})},complete:function(){l.destroy(),n&&(n=n.destroy())}}))})},t.Point.prototype.doDrilldown=function(){for(var t,i=this.series,o=i.chart,r=o.options.drilldown,e=r.series.length;e--&&!t;)r.series[e].id===this.drilldown&&(t=r.series[e]);h(o,"drilldown",{point:this,seriesOptions:t}),t&&o.addSeriesAsDrilldown(this,t)},l(t.Point.prototype,"init",function(i,o,r,e){var n=i.call(this,o,r,e),l=o.chart,s=o.xAxis&&o.xAxis.ticks[e],a=s&&s.label;return n.drilldown?(t.addEvent(n,"click",function(){n.doDrilldown()}),a&&(a._basicStyle||(a._basicStyle=a.element.getAttribute("style")),a.addClass("highcharts-drilldown-axis-label").css(l.options.drilldown.activeAxisLabelStyle).on("click",function(){n.doDrilldown&&n.doDrilldown()}))):a&&a._basicStyle&&a.element.setAttribute("style",a._basicStyle),n}),l(t.Series.prototype,"drawDataLabels",function(t)Line truncated
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(t){var e,n=t.Chart,o=t.addEvent,i=t.removeEvent,r=t.createElement,a=t.discardElement,s=t.css,l=t.merge,p=t.each,c=t.extend,h=Math.max,u=document,d=window,m=t.isTouchDevice,g=t.Renderer.prototype.symbols,x=t.getOptions();c(x.lang,{printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"}),x.navigation={menuStyle:{border:"1px solid #A0A0A0",background:"#FFFFFF",padding:"5px 0"},menuItemStyle:{padding:"0 10px",background:"none",color:"#303030",fontSize:m?"14px":"11px"},menuItemHoverStyle:{background:"#4572A5",color:"#FFFFFF"},buttonOptions:{symbolFill:"#E0E0E0",symbolSize:14,symbolStroke:"#666",symbolStrokeWidth:3,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,theme:{fill:"white",stroke:"none"},verticalAlign:"top",width:24}},x.exporting={type:"image/png",url:"http://export.highcharts.com/",buttons:{contextButton:{menuClassName:"highcharts-contextmenu",symbol:"menu",_titleKey:"contextButtonTitle",menuItems:[{textKey:"printChart",onclick:function(){this.print()}},{separator:!0},{textKey:"downloadPNG",onclick:function(){this.exportChart()}},{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}]}}},t.post=function(t,e){var n,o;o=r("form",{method:"post",action:t,enctype:"multipart/form-data"},{display:"none"},u.body);for(n in e)r("input",{type:"hidden",name:n,value:e[n]},null,o);o.submit(),a(o)},c(n.prototype,{getSVG:function(e){var n,o,i,s,h=this,d=l(h.options,e);return u.createElementNS||(u.createElementNS=function(t,e){return u.createElement(e)}),e=r("div",null,{position:"absolute",top:"-9999em",width:h.chartWidth+"px",height:h.chartHeight+"px"},u.body),o=h.renderTo.style.width,s=h.renderTo.style.height,o=d.exporting.sourceWidth||d.chart.width||/px$/.test(o)&&parseInt(o,10)||600,s=d.exporting.sourceHeight||d.chart.height||/px$/.test(s)&&parseInt(s,10)||400,c(d.chart,{animation:!1,renderTo:e,forExport:!0,width:o,height:s}),d.exporting.enabled=!1,d.series=[],p(h.series,function(t){i=l(t.options,{animation:!1,showCheckbox:!1,visible:t.visible}),i.isInternal||d.series.push(i)}),n=new t.Chart(d,h.callback),p(["xAxis","yAxis"],function(t){p(h[t],function(e,o){var i=n[t][o],r=e.getExtremes(),a=r.userMin,r=r.userMax;i&&(void 0!==a||void 0!==r)&&i.setExtremes(a,r,!0,!1)})}),o=n.container.innerHTML,d=null,n.destroy(),a(e),o=o.replace(/zIndex="[^"]+"/g,"").replace(/isShadow="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ href=/g," xlink:href=").replace(/\n/," ").replace(/<\/svg>.*?$/,"</svg>").replace(/ /g," ").replace(/­/g,"").replace(/<IMG /g,"<image ").replace(/height=([^" ]+)/g,'height="$1"').replace(/width=([^" ]+)/g,'width="$1"').replace(/hc-svg-href="([^"]+)">/g,'xlink:href="$1"/>').replace(/id=([^" >]+)/g,'id="$1"').replace(/class=([^" >]+)/g,'class="$1"').replace(/ transform /g," ").replace(/:(path|rect)/g,"$1").replace(/style="([^"]+)"/g,function(t){return t.toLowerCase()}),o=o.replace(/(url\(#highcharts-[0-9]+)"/g,"$1").replace(/"/g,"'")},exportChart:function(e,n){var e=e||{},o=this.options.exporting,o=this.getSVG(l({chart:{borderRadius:0}},o.chartOptions,n,{exporting:{sourceWidth:e.sourceWidth||o.sourceWidth,sourceHeight:e.sourceHeight||o.sourceHeight}})),e=l(this.options.exporting,e);t.post(e.url,{filename:e.filename||"chart",type:e.type,width:e.width||0,scale:e.scale||2,svg:o})},print:function(){var t=this,e=t.container,n=[],o=e.parentNode,i=u.body,r=i.childNodes;t.isPrinting||(t.isPrinting=!0,p(r,function(t,e){1===t.nodeType&&(n[e]=t.style.display,t.style.display="none")}),i.appendChild(e),d.focus(),d.print(),setTimeout(function(){o.appendChild(e),p(r,function(t,e){1===t.nodeType&&(t.style.display=n[e])}),t.isPrinting=!1},1e3))},contextMenu:function(t,e,n,i,a,l,u){var d,m,g,x=this,y=x.options.navigation,f=y.menuItemStyle,b=x.chartWidth,v=x.chartHeight,w="cache-"+t,S=x[w],k=h(a,l);S||(x[w]=S=r("div",{className:t},{position:"absolute",zIndex:1e3,padding:k+"px"},x.container),d=r("div",null,c({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},y.menuStyle),S),m=function(){s(S,{display:"none"}),u&&u.setState(0),x.openMenu=!1},o(S,"mouseleave",function(){g=setTimeout(m,500)}),o(S,"mouseenter",function(){clearTimeout(g)}),o(document,"mousedown",function(e){x.pointer.inClass(e.target,t)||m()}),p(e,function(t){if(t){var e=t.separator?r("hr",null,null,d):r("div",{onmouseover:function(){s(this,y.menuItemHoverStyle)},onmouseout:function(){s(this,f)},onclick:function(){m(),t.onclick.apply(x,arguments)},innerHTML:t.text||x.options.Line truncated
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(t){var e,n,o=t.Chart,i=t.addEvent,r=t.removeEvent,a=t.createElement,s=t.discardElement,l=t.css,p=t.merge,c=t.each,h=t.extend,u=Math,d=u.max,m=document,g=window,x=t.isTouchDevice,y="M",f="L",b="div",v="hidden",w="none",S="highcharts-",k="absolute",E="px",C=t.Renderer.prototype.symbols,F=t.getOptions();h(F.lang,{printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"}),F.navigation={menuStyle:{border:"1px solid #A0A0A0",background:"#FFFFFF",padding:"5px 0"},menuItemStyle:{padding:"0 10px",background:w,color:"#303030",fontSize:x?"14px":"11px"},menuItemHoverStyle:{background:"#4572A5",color:"#FFFFFF"},buttonOptions:{symbolFill:"#E0E0E0",symbolSize:14,symbolStroke:"#666",symbolStrokeWidth:3,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,theme:{fill:"white",stroke:"none"},verticalAlign:"top",width:24}},F.exporting={type:"image/png",url:"http://export.highcharts.com/",buttons:{contextButton:{menuClassName:S+"contextmenu",symbol:"menu",_titleKey:"contextButtonTitle",menuItems:[{textKey:"printChart",onclick:function(){this.print()}},{separator:!0},{textKey:"downloadPNG",onclick:function(){this.exportChart()}},{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}]}}},t.post=function(t,e){var n,o;o=a("form",{method:"post",action:t,enctype:"multipart/form-data"},{display:w},m.body);for(n in e)a("input",{type:v,name:n,value:e[n]},null,o);o.submit(),s(o)},h(o.prototype,{getSVG:function(n){var o,i,r,l,u,d,g,x,y=this,f=p(y.options,n);return m.createElementNS||(m.createElementNS=function(t,e){return m.createElement(e)}),i=a(b,null,{position:k,top:"-9999em",width:y.chartWidth+E,height:y.chartHeight+E},m.body),g=y.renderTo.style.width,x=y.renderTo.style.height,u=f.exporting.sourceWidth||f.chart.width||/px$/.test(g)&&parseInt(g,10)||600,d=f.exporting.sourceHeight||f.chart.height||/px$/.test(x)&&parseInt(x,10)||400,h(f.chart,{animation:!1,renderTo:i,forExport:!0,width:u,height:d}),f.exporting.enabled=!1,f.series=[],c(y.series,function(t){l=p(t.options,{animation:!1,showCheckbox:!1,visible:t.visible}),l.isInternal||f.series.push(l)}),o=new t.Chart(f,y.callback),c(["xAxis","yAxis"],function(t){c(y[t],function(n,i){var r=o[t][i],a=n.getExtremes(),s=a.userMin,l=a.userMax;!r||s===e&&l===e||r.setExtremes(s,l,!0,!1)})}),r=o.container.innerHTML,f=null,o.destroy(),s(i),r=r.replace(/zIndex="[^"]+"/g,"").replace(/isShadow="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ href=/g," xlink:href=").replace(/\n/," ").replace(/<\/svg>.*?$/,"</svg>").replace(/ /g," ").replace(/­/g,"").replace(/<IMG /g,"<image ").replace(/height=([^" ]+)/g,'height="$1"').replace(/width=([^" ]+)/g,'width="$1"').replace(/hc-svg-href="([^"]+)">/g,'xlink:href="$1"/>').replace(/id=([^" >]+)/g,'id="$1"').replace(/class=([^" >]+)/g,'class="$1"').replace(/ transform /g," ").replace(/:(path|rect)/g,"$1").replace(/style="([^"]+)"/g,function(t){return t.toLowerCase()}),r=r.replace(/(url\(#highcharts-[0-9]+)"/g,"$1").replace(/"/g,"'")},exportChart:function(e,n){e=e||{};var o=this,i=o.options.exporting,r=o.getSVG(p({chart:{borderRadius:0}},i.chartOptions,n,{exporting:{sourceWidth:e.sourceWidth||i.sourceWidth,sourceHeight:e.sourceHeight||i.sourceHeight}}));e=p(o.options.exporting,e),t.post(e.url,{filename:e.filename||"chart",type:e.type,width:e.width||0,scale:e.scale||2,svg:r})},print:function(){var t=this,e=t.container,n=[],o=e.parentNode,i=m.body,r=i.childNodes;t.isPrinting||(t.isPrinting=!0,c(r,function(t,e){1===t.nodeType&&(n[e]=t.style.display,t.style.display=w)}),i.appendChild(e),g.focus(),g.print(),setTimeout(function(){o.appendChild(e),c(r,function(t,e){1===t.nodeType&&(t.style.display=n[e])}),t.isPrinting=!1},1e3))},contextMenu:function(t,e,n,o,r,s,p){var u,m,g,x,y=this,f=y.options.navigation,v=f.menuItemStyle,S=y.chartWidth,C=y.chartHeight,F="cache-"+t,G=y[F],M=d(r,s),D="3px 3px 10px #888";G||(y[F]=G=a(b,{className:t},{position:k,zIndex:1e3,padding:M+E},y.container),u=a(b,null,h({MozBoxShadow:D,WebkitBoxShadow:D,boxShadow:D},f.menuStyle),G),m=function(){l(G,{display:w}),p&&p.setState(0),y.openMenu=!1},i(G,"mouseleave",function(){g=setTimeout(m,500)}),i(G,"mouseenter",function(){clearTimeout(g)}),i(document,"mousedown",function(e){y.pointer.inClass(e.target,t)||m()}),c(e,function(t){if(t){var e=t.separator?a("hr",null,null,u):a(b,{onmouseover:function(){l(this,f.menuItemHoverStyle)},onmouseout:function(){l(this,v)},onclick:function(){m(),t.onclick.apply(y,arguments)},innerHTML:t.text||y.options.lang[t.textKey]},h({cursor:"poinLine truncated
|
||||
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(t){var e=t.getOptions().plotOptions,i=t.seriesTypes,n=t.merge,a=function(){},o=t.each;e.funnel=n(e.pie,{center:["50%","50%"],width:"90%",neckWidth:"30%",height:"100%",neckHeight:"25%",dataLabels:{connectorWidth:1,connectorColor:"#606060"},size:!0,states:{select:{color:"#C0C0C0",borderColor:"#000000",shadow:!1}}}),i.funnel=t.extendClass(i.pie,{type:"funnel",animate:a,translate:function(){var t,e,i,n,s,r,h,l,c,p,d,u=function(t,e){return/%$/.test(t)?e*parseInt(t,10)/100:parseInt(t,10)},f=0,g=this.chart,b=g.plotWidth,g=g.plotHeight,w=0,y=this.options,C=y.center,L=u(C[0],b),k=u(C[0],g),W=u(y.width,b),v=u(y.height,g),A=u(y.neckWidth,b),H=u(y.neckHeight,g),P=v-H,u=this.data,X="left"===y.dataLabels.position?1:0;this.getWidthAt=e=function(t){return t>v-H||v===H?A:A+(W-A)*((v-H-t)/(v-H))},this.getX=function(t,i){return L+(i?-1:1)*(e(t)/2+y.dataLabels.distance)},this.center=[L,k,v],this.centerX=L,o(u,function(t){f+=t.y}),o(u,function(o){d=null,n=f?o.y/f:0,r=k-v/2+w*v,c=r+n*v,t=e(r),s=L-t/2,h=s+t,t=e(c),l=L-t/2,p=l+t,r>P?(s=l=L-A/2,h=p=L+A/2):c>P&&(d=c,t=e(P),l=L-t/2,p=l+t,c=P),i=["M",s,r,"L",h,r,p,c],d&&i.push(p,d,l,d),i.push(l,c,"Z"),o.shapeType="path",o.shapeArgs={d:i},o.percentage=100*n,o.plotX=L,o.plotY=(r+(d||c))/2,o.tooltipPos=[L,o.plotY],o.slice=a,o.half=X,w+=n}),this.setTooltipPoints()},drawPoints:function(){var t=this,e=t.options,i=t.chart.renderer;o(t.data,function(n){var a=n.graphic,o=n.shapeArgs;a?a.animate(o):n.graphic=i.path(o).attr({fill:n.color,stroke:e.borderColor,"stroke-width":e.borderWidth}).add(t.group)})},sortByAngle:a,drawDataLabels:function(){var t,e,n,a,o,s=this.data,r=this.options.dataLabels.distance,h=s.length;for(this.center[2]-=2*r;h--;)n=s[h],e=(t=n.half)?1:-1,o=n.plotY,a=this.getX(o,t),n.labelPos=[0,o,a+(r-5)*e,o,a+r*e,o,t?"right":"left",0];i.pie.prototype.drawDataLabels.call(this)}})}(Highcharts);
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(t){"use strict";var e=t.getOptions(),n=e.plotOptions,a=t.seriesTypes,o=t.merge,i=function(){},r=t.each;n.funnel=o(n.pie,{center:["50%","50%"],width:"90%",neckWidth:"30%",height:"100%",neckHeight:"25%",dataLabels:{connectorWidth:1,connectorColor:"#606060"},size:!0,states:{select:{color:"#C0C0C0",borderColor:"#000000",shadow:!1}}}),a.funnel=t.extendClass(a.pie,{type:"funnel",animate:i,translate:function(){var t,e,n,a,o,s,h,l,c,p,d,u=function(t,e){return/%$/.test(t)?e*parseInt(t,10)/100:parseInt(t,10)},f=0,g=this,b=g.chart,w=b.plotWidth,y=b.plotHeight,C=0,L=g.options,k=L.center,W=u(k[0],w),v=u(k[0],y),A=u(L.width,w),H=u(L.height,y),P=u(L.neckWidth,w),X=u(L.neckHeight,y),m=H-X,T=g.data,Y="left"===L.dataLabels.position?1:0;g.getWidthAt=e=function(t){return t>H-X||H===X?P:P+(A-P)*((H-X-t)/(H-X))},g.getX=function(t,n){return W+(n?-1:1)*(e(t)/2+L.dataLabels.distance)},g.center=[W,v,H],g.centerX=W,r(T,function(t){f+=t.y}),r(T,function(r){d=null,a=f?r.y/f:0,s=v-H/2+C*H,c=s+a*H,t=e(s),o=W-t/2,h=o+t,t=e(c),l=W-t/2,p=l+t,s>m?(o=l=W-P/2,h=p=W+P/2):c>m&&(d=c,t=e(m),l=W-t/2,p=l+t,c=m),n=["M",o,s,"L",h,s,p,c],d&&n.push(p,d,l,d),n.push(l,c,"Z"),r.shapeType="path",r.shapeArgs={d:n},r.percentage=100*a,r.plotX=W,r.plotY=(s+(d||c))/2,r.tooltipPos=[W,r.plotY],r.slice=i,r.half=Y,C+=a}),g.setTooltipPoints()},drawPoints:function(){var t=this,e=t.options,n=t.chart,a=n.renderer;r(t.data,function(n){var o=n.graphic,i=n.shapeArgs;o?o.animate(i):n.graphic=a.path(i).attr({fill:n.color,stroke:e.borderColor,"stroke-width":e.borderWidth}).add(t.group)})},sortByAngle:i,drawDataLabels:function(){var t,e,n,o,i,r=this.data,s=this.options.dataLabels.distance,h=r.length;for(this.center[2]-=2*s;h--;)n=r[h],t=n.half,e=t?1:-1,i=n.plotY,o=this.getX(i,t),n.labelPos=[0,i,o+(s-5)*e,i,o+s*e,i,t?"right":"left",0];a.pie.prototype.drawDataLabels.call(this)}})}(Highcharts);
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(a){var e=a.seriesTypes,t=a.each;e.heatmap=a.extendClass(e.map,{colorKey:"z",useMapGeometry:!1,pointArrayMap:["y","z"],translate:function(){var a=this,e=a.options,r=Number.MAX_VALUE,s=Number.MIN_VALUE;a.generatePoints(),t(a.data,function(t){var n=t.x,o=t.y,p=t.z,i=(e.colsize||1)/2,h=(e.rowsize||1)/2;t.path=["M",n-i,o-h,"L",n+i,o-h,"L",n+i,o+h,"L",n-i,o+h,"Z"],t.shapeType="path",t.shapeArgs={d:a.translatePath(t.path)},"number"==typeof p&&(p>s?s=p:p<r&&(r=p))}),a.translateColors(r,s)},getBox:function(){}})}(Highcharts);
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(a){var e=a.seriesTypes,t=a.each;e.heatmap=a.extendClass(e.map,{colorKey:"z",useMapGeometry:!1,pointArrayMap:["y","z"],translate:function(){var a=this,e=a.options,r=Number.MAX_VALUE,s=Number.MIN_VALUE;a.generatePoints(),t(a.data,function(t){var n=t.x,o=t.y,p=t.z,i=(e.colsize||1)/2,h=(e.rowsize||1)/2;t.path=["M",n-i,o-h,"L",n+i,o-h,"L",n+i,o+h,"L",n-i,o+h,"Z"],t.shapeType="path",t.shapeArgs={d:a.translatePath(t.path)},"number"==typeof p&&(p>s?s=p:p<r&&(r=p))}),a.translateColors(r,s)},getBox:function(){}})}(Highcharts);
|
||||
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(t){function o(t,o,e){for(var i=4,a=[];i--;)a[i]=Math.round(o.rgba[i]+(t.rgba[i]-o.rgba[i])*(1-e));return"rgba("+a.join(",")+")"}var e=t.Axis,i=t.Chart,a=t.Point,n=t.Pointer,r=t.each,s=t.extend,l=t.merge,h=t.pick,p=t.numberFormat,d=t.getOptions(),m=t.seriesTypes,c=d.plotOptions,u=t.wrap,x=t.Color,g=function(){};d.mapNavigation={buttonOptions:{align:"right",verticalAlign:"bottom",x:0,width:18,height:18,style:{fontSize:"15px",fontWeight:"bold",textAlign:"center"}},buttons:{zoomIn:{onclick:function(){this.mapZoom(.5)},text:"+",y:-32},zoomOut:{onclick:function(){this.mapZoom(2)},text:"-",y:0}}},t.splitPath=function(t){var o,t=t.replace(/([A-Za-z])/g," $1 "),t=t.replace(/^\s*/,"").replace(/\s*$/,""),t=t.split(/[ ,]+/);for(o=0;o<t.length;o++)/[a-zA-Z]/.test(t[o])||(t[o]=parseFloat(t[o]));return t},t.maps={},u(e.prototype,"getSeriesExtremes",function(t){var o,e,i=this.isXAxis,a=[];r(this.series,function(t,o){t.useMapGeometry&&(a[o]=t.xData,t.xData=[])}),t.call(this),o=h(this.dataMin,Number.MAX_VALUE),e=h(this.dataMax,Number.MIN_VALUE),r(this.series,function(t,n){t.useMapGeometry&&(o=Math.min(o,t[i?"minX":"minY"]),e=Math.max(e,t[i?"maxX":"maxY"]),t.xData=a[n])}),this.dataMin=o,this.dataMax=e}),u(e.prototype,"setAxisTranslation",function(t){var o=this.chart,e=o.plotWidth/o.plotHeight,i=this.isXAxis,a=o.xAxis[0];t.call(this),"map"!==o.options.chart.type||i||void 0===a.transA||(this.transA=a.transA=Math.min(this.transA,a.transA),t=(a.max-a.min)/(this.max-this.min),a=t>e?this:a,e=(a.max-a.min)*a.transA,a.minPixelPadding=(a.len-e)/2)}),u(i.prototype,"render",function(o){var e=this,i=e.options.mapNavigation;o.call(e),e.renderMapNavigation(),i.zoomOnDoubleClick&&t.addEvent(e.container,"dblclick",function(t){e.pointer.onContainerDblClick(t)}),i.zoomOnMouseWheel&&t.addEvent(e.container,void 0===document.onmousewheel?"DOMMouseScroll":"mousewheel",function(t){e.pointer.onContainerMouseWheel(t)})}),s(n.prototype,{onContainerDblClick:function(t){var o=this.chart,t=this.normalize(t);o.isInsidePlot(t.chartX-o.plotLeft,t.chartY-o.plotTop)&&o.mapZoom(.5,o.xAxis[0].toValue(t.chartX),o.yAxis[0].toValue(t.chartY))},onContainerMouseWheel:function(t){var o,e=this.chart,t=this.normalize(t);o=t.detail||-(t.wheelDelta/120),e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop)&&e.mapZoom(o>0?2:.5,e.xAxis[0].toValue(t.chartX),e.yAxis[0].toValue(t.chartY))}}),u(n.prototype,"init",function(t,o,e){t.call(this,o,e),e.mapNavigation.enableTouchZoom&&(this.pinchX=this.pinchHor=this.pinchY=this.pinchVert=!0)}),s(i.prototype,{renderMapNavigation:function(){var t,o,e,i=this,a=this.options.mapNavigation,n=a.buttons,r=function(){this.handler.call(i)};if(a.enableButtons)for(t in n)n.hasOwnProperty(t)&&(e=l(a.buttonOptions,n[t]),o=i.renderer.button(e.text,0,0,r).attr({width:e.width,height:e.height}).css(e.style).add(),o.handler=e.onclick,o.align(s(e,{width:o.width,height:o.height}),null,"spacingBox"))},fitToBox:function(t,o){return r([["x","width"],["y","height"]],function(e){var i=e[0],e=e[1];t[i]+t[e]>o[i]+o[e]&&(t[e]>o[e]?(t[e]=o[e],t[i]=o[i]):t[i]=o[i]+o[e]-t[e]),t[e]>o[e]&&(t[e]=o[e]),t[i]<o[i]&&(t[i]=o[i])}),t},mapZoom:function(t,o,e){if(!this.isMapZooming){var i=this,a=i.xAxis[0],n=a.max-a.min,r=h(o,a.min+n/2),o=n*t,n=i.yAxis[0],s=n.max-n.min,e=h(e,n.min+s/2);t*=s,r-=o/2,s=e-t/2,e=h(i.options.chart.animation,!0),o=i.fitToBox({x:r,y:s,width:o,height:t},{x:a.dataMin,y:n.dataMin,width:a.dataMax-a.dataMin,height:n.dataMax-n.dataMin}),a.setExtremes(o.x,o.x+o.width,!1),n.setExtremes(o.y,o.y+o.height,!1),(a=e?e.duration||500:0)&&(i.isMapZooming=!0,setTimeout(function(){i.isMapZooming=!1},a)),i.redraw()}}}),c.map=l(c.scatter,{animation:!1,nullColor:"#F8F8F8",borderColor:"silver",borderWidth:1,marker:null,stickyTracking:!1,dataLabels:{verticalAlign:"middle"},turboThreshold:0,tooltip:{followPointer:!0,pointFormat:"{point.name}: {point.y}<br/>"},states:{normal:{animation:!0}}}),e=t.extendClass(a,{applyOptions:function(o,e){var i=a.prototype.applyOptions.call(this,o,e);return i.path&&"string"==typeof i.path&&(i.path=i.options.path=t.splitPath(i.path)),i},onMouseOver:function(){clearTimeout(this.colorInterval),a.prototype.onMouseOver.call(this)},onMouseOut:function(){var t=this,e=+new Date,i=x(t.options.color),n=x(t.pointAttr.hover.fill),r=t.series.options.states.normal.animation,s=r&&(r.duration||500);s&&4===i.rgba.length&&4===n.rgba.length&&(delete t.pointAttr[""].fill,clearTimeout(t.colorInterval),t.colorInterval=setInterval(function(){var a=(new Date-e)/s,r=t.graphic;a>1&&(a=1),r&&r.attr("fill",o(n,i,a)),a>=1&&clearTimeout(t.colorInterval)},13)),a.prototype.onMouseOut.call(t)}}),m.map=t.extendClass(m.scatter,{type:"map",pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color"},colorKey:"y",pointClass:e,trackerGroups:["group","markerGroup","dataLabelsGroup"],getSymbol:g,supportsDrilldown:!0,getExtremesFromAll:!0,useMapGeometry:!0,init:function(o){var e,i,a,n,s,l,h,d=this,c=o.options.legend.valueDecimals,u=[];l="horizontLine truncated
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(t){function e(t,e,o){for(var a=4,i=[];a--;)i[a]=Math.round(e.rgba[a]+(t.rgba[a]-e.rgba[a])*(1-o));return"rgba("+i.join(",")+")"}var o,a=t.Axis,i=t.Chart,n=t.Point,r=t.Pointer,l=t.each,s=t.extend,h=t.merge,p=t.pick,m=t.numberFormat,d=t.getOptions(),c=t.seriesTypes,u=d.plotOptions,x=t.wrap,g=t.Color,f=function(){};d.mapNavigation={buttonOptions:{align:"right",verticalAlign:"bottom",x:0,width:18,height:18,style:{fontSize:"15px",fontWeight:"bold",textAlign:"center"}},buttons:{zoomIn:{onclick:function(){this.mapZoom(.5)},text:"+",y:-32},zoomOut:{onclick:function(){this.mapZoom(2)},text:"-",y:0}}},t.splitPath=function(t){var e;for(t=t.replace(/([A-Za-z])/g," $1 "),t=t.replace(/^\s*/,"").replace(/\s*$/,""),t=t.split(/[ ,]+/),e=0;e<t.length;e++)/[a-zA-Z]/.test(t[e])||(t[e]=parseFloat(t[e]));return t},t.maps={},x(a.prototype,"getSeriesExtremes",function(t){var e,o,a=this.isXAxis,i=[];l(this.series,function(t,e){t.useMapGeometry&&(i[e]=t.xData,t.xData=[])}),t.call(this),e=p(this.dataMin,Number.MAX_VALUE),o=p(this.dataMax,Number.MIN_VALUE),l(this.series,function(t,n){t.useMapGeometry&&(e=Math.min(e,t[a?"minX":"minY"]),o=Math.max(o,t[a?"maxX":"maxY"]),t.xData=i[n])}),this.dataMin=e,this.dataMax=o}),x(a.prototype,"setAxisTranslation",function(t){var e,a,i,n=this.chart,r=n.plotWidth/n.plotHeight,l=this.isXAxis,s=n.xAxis[0];t.call(this),"map"!==n.options.chart.type||l||s.transA===o||(this.transA=s.transA=Math.min(this.transA,s.transA),e=(s.max-s.min)/(this.max-this.min),i=e>r?this:s,a=(i.max-i.min)*i.transA,i.minPixelPadding=(i.len-a)/2)}),x(i.prototype,"render",function(e){var o=this,a=o.options.mapNavigation;e.call(o),o.renderMapNavigation(),a.zoomOnDoubleClick&&t.addEvent(o.container,"dblclick",function(t){o.pointer.onContainerDblClick(t)}),a.zoomOnMouseWheel&&t.addEvent(o.container,void 0===document.onmousewheel?"DOMMouseScroll":"mousewheel",function(t){o.pointer.onContainerMouseWheel(t)})}),s(r.prototype,{onContainerDblClick:function(t){var e=this.chart;t=this.normalize(t),e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop)&&e.mapZoom(.5,e.xAxis[0].toValue(t.chartX),e.yAxis[0].toValue(t.chartY))},onContainerMouseWheel:function(t){var e,o=this.chart;t=this.normalize(t),e=t.detail||-(t.wheelDelta/120),o.isInsidePlot(t.chartX-o.plotLeft,t.chartY-o.plotTop)&&o.mapZoom(e>0?2:.5,o.xAxis[0].toValue(t.chartX),o.yAxis[0].toValue(t.chartY))}}),x(r.prototype,"init",function(t,e,o){t.call(this,e,o),o.mapNavigation.enableTouchZoom&&(this.pinchX=this.pinchHor=this.pinchY=this.pinchVert=!0)}),s(i.prototype,{renderMapNavigation:function(){var t,e,o,a=this,i=this.options.mapNavigation,n=i.buttons,r=function(){this.handler.call(a)};if(i.enableButtons)for(t in n)n.hasOwnProperty(t)&&(o=h(i.buttonOptions,n[t]),e=a.renderer.button(o.text,0,0,r).attr({width:o.width,height:o.height}).css(o.style).add(),e.handler=o.onclick,e.align(s(o,{width:e.width,height:e.height}),null,"spacingBox"))},fitToBox:function(t,e){return l([["x","width"],["y","height"]],function(o){var a=o[0],i=o[1];t[a]+t[i]>e[a]+e[i]&&(t[i]>e[i]?(t[i]=e[i],t[a]=e[a]):t[a]=e[a]+e[i]-t[i]),t[i]>e[i]&&(t[i]=e[i]),t[a]<e[a]&&(t[a]=e[a])}),t},mapZoom:function(t,e,o){if(!this.isMapZooming){var a,i=this,n=i.xAxis[0],r=n.max-n.min,l=p(e,n.min+r/2),s=r*t,h=i.yAxis[0],m=h.max-h.min,d=p(o,h.min+m/2),c=m*t,u=l-s/2,x=d-c/2,g=p(i.options.chart.animation,!0),f=i.fitToBox({x:u,y:x,width:s,height:c},{x:n.dataMin,y:h.dataMin,width:n.dataMax-n.dataMin,height:h.dataMax-h.dataMin});n.setExtremes(f.x,f.x+f.width,!1),h.setExtremes(f.y,f.y+f.height,!1),a=g?g.duration||500:0,a&&(i.isMapZooming=!0,setTimeout(function(){i.isMapZooming=!1},a)),i.redraw()}}}),u.map=h(u.scatter,{animation:!1,nullColor:"#F8F8F8",borderColor:"silver",borderWidth:1,marker:null,stickyTracking:!1,dataLabels:{verticalAlign:"middle"},turboThreshold:0,tooltip:{followPointer:!0,pointFormat:"{point.name}: {point.y}<br/>"},states:{normal:{animation:!0}}});var y=t.extendClass(n,{applyOptions:function(e,o){var a=n.prototype.applyOptions.call(this,e,o);return a.path&&"string"==typeof a.path&&(a.path=a.options.path=t.splitPath(a.path)),a},onMouseOver:function(){clearTimeout(this.colorInterval),n.prototype.onMouseOver.call(this)},onMouseOut:function(){var t=this,o=+new Date,a=g(t.options.color),i=g(t.pointAttr.hover.fill),r=t.series.options.states.normal.animation,l=r&&(r.duration||500);l&&4===a.rgba.length&&4===i.rgba.length&&(delete t.pointAttr[""].fill,clearTimeout(t.colorInterval),t.colorInterval=setInterval(function(){var n=(new Date-o)/l,r=t.graphic;n>1&&(n=1),r&&r.attr("fill",e(i,a,n)),n>=1&&clearTimeout(t.colorInterval)},13)),n.prototype.onMouseOut.call(t)}});c.map=t.extendClass(c.scatter,{type:"map",pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color"},colorKey:"y",pointClass:y,trackerGroups:["group","markerGroup","dataLabelsGroup"],getSymbol:f,supportsDrilldown:!0,getExtremesFromAll:!0,useMapGeometry:!0,init:function(e){var a,i,n,r,s,h,p,d,u,x,g=this,f=e.options.legend.valueDecimalsLine truncated
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(t){function a(){return!!this.points.length}function o(){this.hasData()?this.hideNoData():this.showNoData()}var n=t.seriesTypes,e=t.Chart.prototype,i=t.getOptions(),s=t.extend;s(i.lang,{noData:"No data to display"}),i.noData={position:{x:0,y:0,align:"center",verticalAlign:"middle"},attr:{},style:{fontWeight:"bold",fontSize:"12px",color:"#60606a"}},n.pie.prototype.hasData=a,n.gauge&&(n.gauge.prototype.hasData=a),n.waterfall&&(n.waterfall.prototype.hasData=a),t.Series.prototype.hasData=function(){return void 0!==this.dataMax&&void 0!==this.dataMin},e.showNoData=function(t){var a=this.options,t=t||a.lang.noData,a=a.noData;this.noDataLabel||(this.noDataLabel=this.renderer.label(t,0,0,null,null,null,null,null,"no-data").attr(a.attr).css(a.style).add(),this.noDataLabel.align(s(this.noDataLabel.getBBox(),a.position),!1,"plotBox"))},e.hideNoData=function(){this.noDataLabel&&(this.noDataLabel=this.noDataLabel.destroy())},e.hasData=function(){for(var t=this.series,a=t.length;a--;)if(t[a].hasData()&&!t[a].options.isInternal)return!0;return!1},e.callbacks.push(function(a){t.addEvent(a,"load",o),t.addEvent(a,"redraw",o)})}(Highcharts);
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;!function(a){function t(){return!!this.points.length}function o(){var a=this;a.hasData()?a.hideNoData():a.showNoData()}var n=a.seriesTypes,e=a.Chart.prototype,i=a.getOptions(),l=a.extend;l(i.lang,{noData:"No data to display"}),i.noData={position:{x:0,y:0,align:"center",verticalAlign:"middle"},attr:{},style:{fontWeight:"bold",fontSize:"12px",color:"#60606a"}},n.pie.prototype.hasData=t,n.gauge&&(n.gauge.prototype.hasData=t),n.waterfall&&(n.waterfall.prototype.hasData=t),a.Series.prototype.hasData=function(){return void 0!==this.dataMax&&void 0!==this.dataMin},e.showNoData=function(a){var t=this,o=t.options,n=a||o.lang.noData,e=o.noData;t.noDataLabel||(t.noDataLabel=t.renderer.label(n,0,0,null,null,null,null,null,"no-data").attr(e.attr).css(e.style).add(),t.noDataLabel.align(l(t.noDataLabel.getBBox(),e.position),!1,"plotBox"))},e.hideNoData=function(){var a=this;a.noDataLabel&&(a.noDataLabel=a.noDataLabel.destroy())},e.hasData=function(){for(var a=this,t=a.series,o=t.length;o--;)if(t[o].hasData()&&!t[o].options.isInternal)return!0;return!1},e.callbacks.push(function(t){a.addEvent(t,"load",o),a.addEvent(t,"redraw",o)})}(Highcharts);
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;Highcharts.theme={colors:["#DDDF0D","#55BF3B","#DF5353","#7798BF","#aaeeee","#ff0066","#eeaaee","#55BF3B","#DF5353","#7798BF","#aaeeee"],chart:{backgroundColor:{linearGradient:{x1:0,y1:0,x2:1,y2:1},stops:[[0,"rgb(48, 48, 96)"],[1,"rgb(0, 0, 0)"]]},borderColor:"#000000",borderWidth:2,className:"dark-container",plotBackgroundColor:"rgba(255, 255, 255, .1)",plotBorderColor:"#CCCCCC",plotBorderWidth:1},title:{style:{color:"#C0C0C0",font:'bold 16px "Trebuchet MS", Verdana, sans-serif'}},subtitle:{style:{color:"#666666",font:'bold 12px "Trebuchet MS", Verdana, sans-serif'}},xAxis:{gridLineColor:"#333333",gridLineWidth:1,labels:{style:{color:"#A0A0A0"}},lineColor:"#A0A0A0",tickColor:"#A0A0A0",title:{style:{color:"#CCC",fontWeight:"bold",fontSize:"12px",fontFamily:"Trebuchet MS, Verdana, sans-serif"}}},yAxis:{gridLineColor:"#333333",labels:{style:{color:"#A0A0A0"}},lineColor:"#A0A0A0",minorTickInterval:null,tickColor:"#A0A0A0",tickWidth:1,title:{style:{color:"#CCC",fontWeight:"bold",fontSize:"12px",fontFamily:"Trebuchet MS, Verdana, sans-serif"}}},tooltip:{backgroundColor:"rgba(0, 0, 0, 0.75)",style:{color:"#F0F0F0"}},toolbar:{itemStyle:{color:"silver"}},plotOptions:{line:{dataLabels:{color:"#CCC"},marker:{lineColor:"#333"}},spline:{marker:{lineColor:"#333"}},scatter:{marker:{lineColor:"#333"}},candlestick:{lineColor:"white"}},legend:{itemStyle:{font:"9pt Trebuchet MS, Verdana, sans-serif",color:"#A0A0A0"},itemHoverStyle:{color:"#FFF"},itemHiddenStyle:{color:"#444"}},credits:{style:{color:"#666"}},labels:{style:{color:"#CCC"}},navigation:{buttonOptions:{symbolStroke:"#DDDDDD",hoverSymbolStroke:"#FFFFFF",theme:{fill:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[.4,"#606060"],[.6,"#333333"]]},stroke:"#000000"}}},rangeSelector:{buttonTheme:{fill:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[.4,"#888"],[.6,"#555"]]},stroke:"#000000",style:{color:"#CCC",fontWeight:"bold"},states:{hover:{fill:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[.4,"#BBB"],[.6,"#888"]]},stroke:"#000000",style:{color:"white"}},select:{fill:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[.1,"#000"],[.3,"#333"]]},stroke:"#000000",style:{color:"yellow"}}}},inputStyle:{backgroundColor:"#333",color:"silver"},labelStyle:{color:"silver"}},navigator:{handles:{backgroundColor:"#666",borderColor:"#AAA"},outlineColor:"#CCC",maskFill:"rgba(16, 16, 16, 0.5)",series:{color:"#7798BF",lineColor:"#A6C7ED"}},scrollbar:{barBackgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[.4,"#888"],[.6,"#555"]]},barBorderColor:"#CCC",buttonArrowColor:"#CCC",buttonBackgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[.4,"#888"],[.6,"#555"]]},buttonBorderColor:"#CCC",rifleColor:"#FFF",trackBackgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#000"],[1,"#333"]]},trackBorderColor:"#666"},legendBackgroundColor:"rgba(0, 0, 0, 0.5)",legendBackgroundColorSolid:"rgb(35, 35, 70)",dataLabelsColor:"#444",textColor:"#C0C0C0",maskColor:"rgba(255,255,255,0.3)"};var highchartsOptions=Highcharts.setOptions(Highcharts.theme);
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;Highcharts.theme={colors:["#DDDF0D","#55BF3B","#DF5353","#7798BF","#aaeeee","#ff0066","#eeaaee","#55BF3B","#DF5353","#7798BF","#aaeeee"],chart:{backgroundColor:{linearGradient:[0,0,250,500],stops:[[0,"rgb(48, 96, 48)"],[1,"rgb(0, 0, 0)"]]},borderColor:"#000000",borderWidth:2,className:"dark-container",plotBackgroundColor:"rgba(255, 255, 255, .1)",plotBorderColor:"#CCCCCC",plotBorderWidth:1},title:{style:{color:"#C0C0C0",font:'bold 16px "Trebuchet MS", Verdana, sans-serif'}},subtitle:{style:{color:"#666666",font:'bold 12px "Trebuchet MS", Verdana, sans-serif'}},xAxis:{gridLineColor:"#333333",gridLineWidth:1,labels:{style:{color:"#A0A0A0"}},lineColor:"#A0A0A0",tickColor:"#A0A0A0",title:{style:{color:"#CCC",fontWeight:"bold",fontSize:"12px",fontFamily:"Trebuchet MS, Verdana, sans-serif"}}},yAxis:{gridLineColor:"#333333",labels:{style:{color:"#A0A0A0"}},lineColor:"#A0A0A0",minorTickInterval:null,tickColor:"#A0A0A0",tickWidth:1,title:{style:{color:"#CCC",fontWeight:"bold",fontSize:"12px",fontFamily:"Trebuchet MS, Verdana, sans-serif"}}},tooltip:{backgroundColor:"rgba(0, 0, 0, 0.75)",style:{color:"#F0F0F0"}},toolbar:{itemStyle:{color:"silver"}},plotOptions:{line:{dataLabels:{color:"#CCC"},marker:{lineColor:"#333"}},spline:{marker:{lineColor:"#333"}},scatter:{marker:{lineColor:"#333"}},candlestick:{lineColor:"white"}},legend:{itemStyle:{font:"9pt Trebuchet MS, Verdana, sans-serif",color:"#A0A0A0"},itemHoverStyle:{color:"#FFF"},itemHiddenStyle:{color:"#444"}},credits:{style:{color:"#666"}},labels:{style:{color:"#CCC"}},navigation:{buttonOptions:{symbolStroke:"#DDDDDD",hoverSymbolStroke:"#FFFFFF",theme:{fill:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[.4,"#606060"],[.6,"#333333"]]},stroke:"#000000"}}},rangeSelector:{buttonTheme:{fill:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[.4,"#888"],[.6,"#555"]]},stroke:"#000000",style:{color:"#CCC",fontWeight:"bold"},states:{hover:{fill:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[.4,"#BBB"],[.6,"#888"]]},stroke:"#000000",style:{color:"white"}},select:{fill:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[.1,"#000"],[.3,"#333"]]},stroke:"#000000",style:{color:"yellow"}}}},inputStyle:{backgroundColor:"#333",color:"silver"},labelStyle:{color:"silver"}},navigator:{handles:{backgroundColor:"#666",borderColor:"#AAA"},outlineColor:"#CCC",maskFill:"rgba(16, 16, 16, 0.5)",series:{color:"#7798BF",lineColor:"#A6C7ED"}},scrollbar:{barBackgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[.4,"#888"],[.6,"#555"]]},barBorderColor:"#CCC",buttonArrowColor:"#CCC",buttonBackgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[.4,"#888"],[.6,"#555"]]},buttonBorderColor:"#CCC",rifleColor:"#FFF",trackBackgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#000"],[1,"#333"]]},trackBorderColor:"#666"},legendBackgroundColor:"rgba(0, 0, 0, 0.5)",legendBackgroundColorSolid:"rgb(35, 35, 70)",dataLabelsColor:"#444",textColor:"#C0C0C0",maskColor:"rgba(255,255,255,0.3)"};var highchartsOptions=Highcharts.setOptions(Highcharts.theme);
|
||||
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;Highcharts.theme={colors:["#DDDF0D","#7798BF","#55BF3B","#DF5353","#aaeeee","#ff0066","#eeaaee","#55BF3B","#DF5353","#7798BF","#aaeeee"],chart:{backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"rgb(96, 96, 96)"],[1,"rgb(16, 16, 16)"]]},borderWidth:0,borderRadius:15,plotBackgroundColor:null,plotShadow:!1,plotBorderWidth:0},title:{style:{color:"#FFF",font:"16px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif"}},subtitle:{style:{color:"#DDD",font:"12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif"}},xAxis:{gridLineWidth:0,lineColor:"#999",tickColor:"#999",labels:{style:{color:"#999",fontWeight:"bold"}},title:{style:{color:"#AAA",font:"bold 12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif"}}},yAxis:{alternateGridColor:null,minorTickInterval:null,gridLineColor:"rgba(255, 255, 255, .1)",minorGridLineColor:"rgba(255,255,255,0.07)",lineWidth:0,tickWidth:0,labels:{style:{color:"#999",fontWeight:"bold"}},title:{style:{color:"#AAA",font:"bold 12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif"}}},legend:{itemStyle:{color:"#CCC"},itemHoverStyle:{color:"#FFF"},itemHiddenStyle:{color:"#333"}},labels:{style:{color:"#CCC"}},tooltip:{backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"rgba(96, 96, 96, .8)"],[1,"rgba(16, 16, 16, .8)"]]},borderWidth:0,style:{color:"#FFF"}},plotOptions:{series:{shadow:!0},line:{dataLabels:{color:"#CCC"},marker:{lineColor:"#333"}},spline:{marker:{lineColor:"#333"}},scatter:{marker:{lineColor:"#333"}},candlestick:{lineColor:"white"}},toolbar:{itemStyle:{color:"#CCC"}},navigation:{buttonOptions:{symbolStroke:"#DDDDDD",hoverSymbolStroke:"#FFFFFF",theme:{fill:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[.4,"#606060"],[.6,"#333333"]]},stroke:"#000000"}}},rangeSelector:{buttonTheme:{fill:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[.4,"#888"],[.6,"#555"]]},stroke:"#000000",style:{color:"#CCC",fontWeight:"bold"},states:{hover:{fill:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[.4,"#BBB"],[.6,"#888"]]},stroke:"#000000",style:{color:"white"}},select:{fill:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[.1,"#000"],[.3,"#333"]]},stroke:"#000000",style:{color:"yellow"}}}},inputStyle:{backgroundColor:"#333",color:"silver"},labelStyle:{color:"silver"}},navigator:{handles:{backgroundColor:"#666",borderColor:"#AAA"},outlineColor:"#CCC",maskFill:"rgba(16, 16, 16, 0.5)",series:{color:"#7798BF",lineColor:"#A6C7ED"}},scrollbar:{barBackgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[.4,"#888"],[.6,"#555"]]},barBorderColor:"#CCC",buttonArrowColor:"#CCC",buttonBackgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[.4,"#888"],[.6,"#555"]]},buttonBorderColor:"#CCC",rifleColor:"#FFF",trackBackgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#000"],[1,"#333"]]},trackBorderColor:"#666"},legendBackgroundColor:"rgba(48, 48, 48, 0.8)",legendBackgroundColorSolid:"rgb(70, 70, 70)",dataLabelsColor:"#444",textColor:"#E0E0E0",maskColor:"rgba(255,255,255,0.3)"};var highchartsOptions=Highcharts.setOptions(Highcharts.theme);
|
||||
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;Highcharts.theme={colors:["#058DC7","#50B432","#ED561B","#DDDF00","#24CBE5","#64E572","#FF9655","#FFF263","#6AF9C4"],chart:{backgroundColor:{linearGradient:{x1:0,y1:0,x2:1,y2:1},stops:[[0,"rgb(255, 255, 255)"],[1,"rgb(240, 240, 255)"]]},borderWidth:2,plotBackgroundColor:"rgba(255, 255, 255, .9)",plotShadow:!0,plotBorderWidth:1},title:{style:{color:"#000",font:'bold 16px "Trebuchet MS", Verdana, sans-serif'}},subtitle:{style:{color:"#666666",font:'bold 12px "Trebuchet MS", Verdana, sans-serif'}},xAxis:{gridLineWidth:1,lineColor:"#000",tickColor:"#000",labels:{style:{color:"#000",font:"11px Trebuchet MS, Verdana, sans-serif"}},title:{style:{color:"#333",fontWeight:"bold",fontSize:"12px",fontFamily:"Trebuchet MS, Verdana, sans-serif"}}},yAxis:{minorTickInterval:"auto",lineColor:"#000",lineWidth:1,tickWidth:1,tickColor:"#000",labels:{style:{color:"#000",font:"11px Trebuchet MS, Verdana, sans-serif"}},title:{style:{color:"#333",fontWeight:"bold",fontSize:"12px",fontFamily:"Trebuchet MS, Verdana, sans-serif"}}},legend:{itemStyle:{font:"9pt Trebuchet MS, Verdana, sans-serif",color:"black"},itemHoverStyle:{color:"#039"},itemHiddenStyle:{color:"gray"}},labels:{style:{color:"#99b"}},navigation:{buttonOptions:{theme:{stroke:"#CCCCCC"}}}};var highchartsOptions=Highcharts.setOptions(Highcharts.theme);
|
||||
@@ -0,0 +1,2 @@
|
||||
/** layuiAdmin.pro-v1.2.1 LPPL License By http://www.layui.com/admin/ */
|
||||
;Highcharts.theme={colors:["#514F78","#42A07B","#9B5E4A","#72727F","#1F949A","#82914E","#86777F","#42A07B"],chart:{className:"skies",borderWidth:0,plotShadow:!0,plotBackgroundImage:"http://www.highcharts.com/demo/gfx/skies.jpg",plotBackgroundColor:{linearGradient:[0,0,250,500],stops:[[0,"rgba(255, 255, 255, 1)"],[1,"rgba(255, 255, 255, 0)"]]},plotBorderWidth:1},title:{style:{color:"#3E576F",font:"16px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif"}},subtitle:{style:{color:"#6D869F",font:"12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif"}},xAxis:{gridLineWidth:0,lineColor:"#C0D0E0",tickColor:"#C0D0E0",labels:{style:{color:"#666",fontWeight:"bold"}},title:{style:{color:"#666",font:"12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif"}}},yAxis:{alternateGridColor:"rgba(255, 255, 255, .5)",lineColor:"#C0D0E0",tickColor:"#C0D0E0",tickWidth:1,labels:{style:{color:"#666",fontWeight:"bold"}},title:{style:{color:"#666",font:"12px Lucida Grande, Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif"}}},legend:{itemStyle:{font:"9pt Trebuchet MS, Verdana, sans-serif",color:"#3E576F"},itemHoverStyle:{color:"black"},itemHiddenStyle:{color:"silver"}},labels:{style:{color:"#3E576F"}}};var highchartsOptions=Highcharts.setOptions(Highcharts.theme);
|
||||
Reference in new issue
Block a user