realchart 1.4.12 → 1.4.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/gauge.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealChart Gauge v1.4.12
3
+ * RealChart Gauge v1.4.13
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/gauge.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealChart Gauge v1.4.12
3
+ * RealChart Gauge v1.4.13
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/heatmap.js CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  /**
3
- * RealChart Heatmap v1.4.12
3
+ * RealChart Heatmap v1.4.13
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
7
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("realchart")):"function"==typeof define&&define.amd?define(["exports","realchart"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).RealChartheatmap={},e.RealChart)}(this,(function(e,t){"use strict";function i(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(i){if("default"!==i){var r=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:function(){return e[i]}})}})),t.default=e,Object.freeze(t)}var r=i(t);class s extends t.ZValuePoint{}class n extends t.ConnectableSeries{getColor(e){}canMixWith(e){return!1}canCategorized(){return!0}hasZ(){return!0}defYAxisType(){return"category"}_createPoint(e){return new s(e)}_doPrepareRender(){super._doPrepareRender();let e=Number.MAX_VALUE,i=Number.MIN_VALUE;this._runPoints.forEach((r=>{isNaN(r.zValue)||(e=t.minv(e,r.zValue),i=t.maxv(i,r.zValue))})),this._heatMin=e,this._heatMax=i}}n.type=t.HeatmapSeriesType,n.defaults=t.extend(t.Series.defaults,{tooltipText:"x: <b>${x}</b><br>y: <b>${y}</b><br>heat: <b>${z}</b>"});class o extends t.RectElement{constructor(e){super(e,t.SeriesView.POINT_CLASS)}}class a extends t.SeriesView{constructor(e){super(e,"rct-heatmap-series"),this._cells=new t.ElementPool(this._pointContainer,o)}_getPointPool(){return this._cells}_prepareSeries(e,t){this.$_parepareCells(t,this._visPoints)}_renderSeries(e,t){this._pointContainer.invert(this._inverted,t),this.$_layoutCells(e,t)}_runShowEffect(e){e&&t.SeriesAnimation.grow(this)}_doViewRateChanged(e){this.$_layoutCells(this.width,this.height)}$_parepareCells(e,i){const r=new t.Color(e._calcedColor),s=[{fill:void 0}],n=e._heatMin,o=e._heatMax-n;this._cells.prepare(i.length,((t,a)=>{const l=t.point=i[a];s[0].fill=r.brighten(1-(l.zValue-n)/o).toString(),this._setPointStyle(t,e,l,s)}))}$_layoutCells(e,t){const i=this.model,r=this._inverted,s=this._getGrowRate();i.pointLabel;const n=this._labelViews(),o=this._labelContainer._textAlign,a=i._xAxisObj,l=i._yAxisObj,u=r?e:t,h=r?t:e,c=r?0:t;this._cells.forEach((e=>{const t=e.point;if(e.setVis(!t.isNull)){const i=a.getUnitLen(h,t.xValue)*s,_=l.getUnitLen(u,t.yValue)*s;let d,f=a.getPos(h,t.xValue)-i/2,p=c-l.getPos(u,t.yValue)-_/2;if(t.xPos=r?c+l.getPos(u,t.yValue):f+i/2,t.yPos=r?h-a.getPos(h,t.xValue)+i/2:p+_/2,e.setBounds(f,p,i,_),n&&(d=n.get(t,0))){d.layout(o);const e=d.getBBox();r?(p=h-a.getPos(h,t.xValue)-e.height/2,f=c+l.getPos(u,t.yValue)):(f+=i/2,p+=(_-e.height)/2),f-=e.width/2,d.trans(f,p)}}}))}}function l(e){(function(e){return e.Series&&e.SeriesView})(e)&&(e.Series.register(n),e.SeriesView.register([n,a]))}l(r),e.HeatmapSeries=n,e.default=l,Object.defineProperty(e,"__esModule",{value:!0})}));
7
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("realchart")):"function"==typeof define&&define.amd?define(["exports","realchart"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).RealChartheatmap={},e.RealChart)}(this,(function(e,t){"use strict";function i(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(i){if("default"!==i){var r=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:function(){return e[i]}})}})),t.default=e,Object.freeze(t)}var r=i(t);class s extends t.ZValuePoint{}class n extends t.ConnectableSeries{getColor(e){}canMixWith(e){return!1}canCategorized(){return!0}hasZ(){return!0}defYAxisType(){return"category"}_createPoint(e){return new s(e)}_doPrepareRender(){super._doPrepareRender();let e=Number.MAX_VALUE,i=Number.MIN_VALUE;this._runPoints.forEach((r=>{isNaN(r.zValue)||(e=t.minv(e,r.zValue),i=t.maxv(i,r.zValue))})),this._heatMin=e,this._heatMax=i}}n.type=t.HeatmapSeriesType,n.defaults=t.extend(t.Series.defaults,{tooltipText:"${detail}",tooltipDetail:"x: <b>${x}</b><br>y: <b>${y}</b><br>heat: <b>${z}</b>"});class o extends t.RectElement{constructor(e){super(e,t.SeriesView.POINT_CLASS)}}class a extends t.SeriesView{constructor(e){super(e,"rct-heatmap-series"),this._cells=new t.PointViewPool(this._pointContainer,o)}_getPointPool(){return this._cells}_prepareSeries(e,t){this.$_parepareCells(t,this._visPoints)}_renderSeries(e,t){this._pointContainer.invert(this._inverted,t),this.$_layoutCells(e,t)}_runShowEffect(e){e&&t.SeriesAnimation.grow(this)}_doViewRateChanged(e){this.$_layoutCells(this.width,this.height)}$_parepareCells(e,i){const r=new t.Color(e._calcedColor),s=[{fill:void 0}],n=e._heatMin,o=e._heatMax-n;this._cells.prepare(i.length,((t,a)=>{const l=t.point=i[a];s[0].fill=r.brighten(1-(l.zValue-n)/o).toString(),this._setPointStyle(t,e,l,s)}))}$_layoutCells(e,t){const i=this.model,r=this._inverted,s=this._getGrowRate();i.pointLabel;const n=this._labelViews(),o=this._labelContainer._textAlign,a=i._xAxisObj,l=i._yAxisObj,u=r?e:t,h=r?t:e,c=r?0:t;this._cells.forEach((e=>{const t=e.point;if(e.setVis(!t.isNull)){const i=a.getUnitLen(h,t.xValue)*s,d=l.getUnitLen(u,t.yValue)*s;let _,p=a.getPos(h,t.xValue)-i/2,f=c-l.getPos(u,t.yValue)-d/2;if(t.xPos=r?c+l.getPos(u,t.yValue):p+i/2,t.yPos=r?h-a.getPos(h,t.xValue)+i/2:f+d/2,e.setBounds(p,f,i,d),n&&(_=n.get(t,0))){_.layout(o);const e=_.getBBox();r?(f=h-a.getPos(h,t.xValue)-e.height/2,p=c+l.getPos(u,t.yValue)):(p+=i/2,f+=(d-e.height)/2),p-=e.width/2,_.trans(p,f)}}}))}}function l(e){(function(e){return e.Series&&e.SeriesView})(e)&&(e.Series.register(n),e.SeriesView.register([n,a]))}l(r),e.HeatmapSeries=n,e.default=l,Object.defineProperty(e,"__esModule",{value:!0})}));
package/heatmap.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  /**
3
- * RealChart Heatmap v1.4.12
3
+ * RealChart Heatmap v1.4.13
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
7
- import{HeatmapSeriesType as e,extend as t,Series as s,ConnectableSeries as i,minv as r,maxv as n,ZValuePoint as o,SeriesView as l,ElementPool as a,SeriesAnimation as h,Color as u,RectElement as _}from"./index.mjs";class c extends o{}class g extends i{getColor(e){}canMixWith(e){return!1}canCategorized(){return!0}hasZ(){return!0}defYAxisType(){return"category"}_createPoint(e){return new c(e)}_doPrepareRender(){super._doPrepareRender();let e=Number.MAX_VALUE,t=Number.MIN_VALUE;this._runPoints.forEach((s=>{isNaN(s.zValue)||(e=r(e,s.zValue),t=n(t,s.zValue))})),this._heatMin=e,this._heatMax=t}}g.type=e,g.defaults=t(s.defaults,{tooltipText:"x: <b>${x}</b><br>y: <b>${y}</b><br>heat: <b>${z}</b>"});class d extends _{constructor(e){super(e,l.POINT_CLASS)}}class p extends l{constructor(e){super(e,"rct-heatmap-series"),this._cells=new a(this._pointContainer,d)}_getPointPool(){return this._cells}_prepareSeries(e,t){this.$_parepareCells(t,this._visPoints)}_renderSeries(e,t){this._pointContainer.invert(this._inverted,t),this.$_layoutCells(e,t)}_runShowEffect(e){e&&h.grow(this)}_doViewRateChanged(e){this.$_layoutCells(this.width,this.height)}$_parepareCells(e,t){const s=new u(e._calcedColor),i=[{fill:void 0}],r=e._heatMin,n=e._heatMax-r;this._cells.prepare(t.length,((o,l)=>{const a=o.point=t[l];i[0].fill=s.brighten(1-(a.zValue-r)/n).toString(),this._setPointStyle(o,e,a,i)}))}$_layoutCells(e,t){const s=this.model,i=this._inverted,r=this._getGrowRate();s.pointLabel;const n=this._labelViews(),o=this._labelContainer._textAlign,l=s._xAxisObj,a=s._yAxisObj,h=i?e:t,u=i?t:e,_=i?0:t;this._cells.forEach((e=>{const t=e.point;if(e.setVis(!t.isNull)){const s=l.getUnitLen(u,t.xValue)*r,c=a.getUnitLen(h,t.yValue)*r;let g,d=l.getPos(u,t.xValue)-s/2,p=_-a.getPos(h,t.yValue)-c/2;if(t.xPos=i?_+a.getPos(h,t.yValue):d+s/2,t.yPos=i?u-l.getPos(u,t.xValue)+s/2:p+c/2,e.setBounds(d,p,s,c),n&&(g=n.get(t,0))){g.layout(o);const e=g.getBBox();i?(p=u-l.getPos(u,t.xValue)-e.height/2,d=_+a.getPos(h,t.yValue)):(d+=s/2,p+=(c-e.height)/2),d-=e.width/2,g.trans(d,p)}}}))}}function x(e){(function(e){return e.Series&&e.SeriesView})(e)&&(e.Series.register(g),e.SeriesView.register([g,p]))}export{g as HeatmapSeries,x as default};
7
+ import{HeatmapSeriesType as e,extend as t,Series as s,ConnectableSeries as i,minv as r,maxv as n,ZValuePoint as l,SeriesView as o,PointViewPool as a,SeriesAnimation as h,Color as u,RectElement as _}from"./index.mjs";class c extends l{}class d extends i{getColor(e){}canMixWith(e){return!1}canCategorized(){return!0}hasZ(){return!0}defYAxisType(){return"category"}_createPoint(e){return new c(e)}_doPrepareRender(){super._doPrepareRender();let e=Number.MAX_VALUE,t=Number.MIN_VALUE;this._runPoints.forEach((s=>{isNaN(s.zValue)||(e=r(e,s.zValue),t=n(t,s.zValue))})),this._heatMin=e,this._heatMax=t}}d.type=e,d.defaults=t(s.defaults,{tooltipText:"${detail}",tooltipDetail:"x: <b>${x}</b><br>y: <b>${y}</b><br>heat: <b>${z}</b>"});class g extends _{constructor(e){super(e,o.POINT_CLASS)}}class p extends o{constructor(e){super(e,"rct-heatmap-series"),this._cells=new a(this._pointContainer,g)}_getPointPool(){return this._cells}_prepareSeries(e,t){this.$_parepareCells(t,this._visPoints)}_renderSeries(e,t){this._pointContainer.invert(this._inverted,t),this.$_layoutCells(e,t)}_runShowEffect(e){e&&h.grow(this)}_doViewRateChanged(e){this.$_layoutCells(this.width,this.height)}$_parepareCells(e,t){const s=new u(e._calcedColor),i=[{fill:void 0}],r=e._heatMin,n=e._heatMax-r;this._cells.prepare(t.length,((l,o)=>{const a=l.point=t[o];i[0].fill=s.brighten(1-(a.zValue-r)/n).toString(),this._setPointStyle(l,e,a,i)}))}$_layoutCells(e,t){const s=this.model,i=this._inverted,r=this._getGrowRate();s.pointLabel;const n=this._labelViews(),l=this._labelContainer._textAlign,o=s._xAxisObj,a=s._yAxisObj,h=i?e:t,u=i?t:e,_=i?0:t;this._cells.forEach((e=>{const t=e.point;if(e.setVis(!t.isNull)){const s=o.getUnitLen(u,t.xValue)*r,c=a.getUnitLen(h,t.yValue)*r;let d,g=o.getPos(u,t.xValue)-s/2,p=_-a.getPos(h,t.yValue)-c/2;if(t.xPos=i?_+a.getPos(h,t.yValue):g+s/2,t.yPos=i?u-o.getPos(u,t.xValue)+s/2:p+c/2,e.setBounds(g,p,s,c),n&&(d=n.get(t,0))){d.layout(l);const e=d.getBBox();i?(p=u-o.getPos(u,t.xValue)-e.height/2,g=_+a.getPos(h,t.yValue)):(g+=s/2,p+=(c-e.height)/2),g-=e.width/2,d.trans(g,p)}}}))}}function x(e){(function(e){return e.Series&&e.SeriesView})(e)&&(e.Series.register(d),e.SeriesView.register([d,p]))}export{d as HeatmapSeries,x as default};
package/ie/gauge.ie.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /**
3
- * RealChart Gauge v1.4.12
3
+ * RealChart Gauge v1.4.13
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
package/ie/heatmap.ie.js CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  /**
3
- * RealChart Heatmap v1.4.12
3
+ * RealChart Heatmap v1.4.13
4
4
  * Copyright (C) 2023-2026 WooriTech Inc.
5
5
  * All Rights Reserved.
6
6
  */
7
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("realchart")):"function"==typeof define&&define.amd?define(["exports","realchart"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).RealChartheatmap={},t.RealChart)}(this,(function(t,e){"use strict";function n(t){var e=Object.create(null);return t&&Object.keys(t).forEach((function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:function(){return t[n]}})}})),e.default=t,Object.freeze(e)}var o,r=n(e),i=(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},o(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(e.ZValuePoint),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return i(n,t),n.prototype.getColor=function(t){},n.prototype.canMixWith=function(t){return!1},n.prototype.canCategorized=function(){return!0},n.prototype.hasZ=function(){return!0},n.prototype.defYAxisType=function(){return"category"},n.prototype._createPoint=function(t){return new a(t)},n.prototype._doPrepareRender=function(){t.prototype._doPrepareRender.call(this);var n=Number.MAX_VALUE,o=Number.MIN_VALUE;this._runPoints.forEach((function(t){isNaN(t.zValue)||(n=e.minv(n,t.zValue),o=e.maxv(o,t.zValue))})),this._heatMin=n,this._heatMax=o},n.type=e.HeatmapSeriesType,n.defaults=e.extend(e.Series.defaults,{tooltipText:"x: <b>${x}</b><br>y: <b>${y}</b><br>heat: <b>${z}</b>"}),n}(e.ConnectableSeries),s=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),l=function(t){function n(n){return t.call(this,n,e.SeriesView.POINT_CLASS)||this}return s(n,t),n}(e.RectElement),c=function(t){function n(n){var o=t.call(this,n,"rct-heatmap-series")||this;return o._cells=new e.ElementPool(o._pointContainer,l),o}return s(n,t),n.prototype._getPointPool=function(){return this._cells},n.prototype._prepareSeries=function(t,e){this.$_parepareCells(e,this._visPoints)},n.prototype._renderSeries=function(t,e){this._pointContainer.invert(this._inverted,e),this.$_layoutCells(t,e)},n.prototype._runShowEffect=function(t){t&&e.SeriesAnimation.grow(this)},n.prototype._doViewRateChanged=function(t){this.$_layoutCells(this.width,this.height)},n.prototype.$_parepareCells=function(t,n){var o=this,r=new e.Color(t._calcedColor),i=[{fill:void 0}],a=t._heatMin,u=t._heatMax-a;this._cells.prepare(n.length,(function(e,s){var l=e.point=n[s];i[0].fill=r.brighten(1-(l.zValue-a)/u).toString(),o._setPointStyle(e,t,l,i)}))},n.prototype.$_layoutCells=function(t,e){var n=this.model,o=this._inverted,r=this._getGrowRate();n.pointLabel;var i=this._labelViews(),a=this._labelContainer._textAlign,u=n._xAxisObj,s=n._yAxisObj,l=o?t:e,c=o?e:t,p=o?0:e;this._cells.forEach((function(t){var e=t.point;if(t.setVis(!e.isNull)){var n=u.getUnitLen(c,e.xValue)*r,f=s.getUnitLen(l,e.yValue)*r,h=u.getPos(c,e.xValue)-n/2,y=p-s.getPos(l,e.yValue)-f/2,_=void 0;if(e.xPos=o?p+s.getPos(l,e.yValue):h+n/2,e.yPos=o?c-u.getPos(c,e.xValue)+n/2:y+f/2,t.setBounds(h,y,n,f),i&&(_=i.get(e,0))){_.layout(a);var d=_.getBBox();o?(y=c-u.getPos(c,e.xValue)-d.height/2,h=p+s.getPos(l,e.yValue)):(h+=n/2,y+=(f-d.height)/2),h-=d.width/2,_.trans(h,y)}}}))},n}(e.SeriesView);function p(t){(function(t){return t.Series&&t.SeriesView})(t)&&(t.Series.register(u),t.SeriesView.register([u,c]))}p(r),t.HeatmapSeries=u,t.default=p,Object.defineProperty(t,"__esModule",{value:!0})}));
7
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("realchart")):"function"==typeof define&&define.amd?define(["exports","realchart"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).RealChartheatmap={},t.RealChart)}(this,(function(t,e){"use strict";function n(t){var e=Object.create(null);return t&&Object.keys(t).forEach((function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:function(){return t[n]}})}})),e.default=t,Object.freeze(e)}var o,r=n(e),i=(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},o(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(e.ZValuePoint),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return i(n,t),n.prototype.getColor=function(t){},n.prototype.canMixWith=function(t){return!1},n.prototype.canCategorized=function(){return!0},n.prototype.hasZ=function(){return!0},n.prototype.defYAxisType=function(){return"category"},n.prototype._createPoint=function(t){return new a(t)},n.prototype._doPrepareRender=function(){t.prototype._doPrepareRender.call(this);var n=Number.MAX_VALUE,o=Number.MIN_VALUE;this._runPoints.forEach((function(t){isNaN(t.zValue)||(n=e.minv(n,t.zValue),o=e.maxv(o,t.zValue))})),this._heatMin=n,this._heatMax=o},n.type=e.HeatmapSeriesType,n.defaults=e.extend(e.Series.defaults,{tooltipText:"${detail}",tooltipDetail:"x: <b>${x}</b><br>y: <b>${y}</b><br>heat: <b>${z}</b>"}),n}(e.ConnectableSeries),l=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=function(t){function n(n){return t.call(this,n,e.SeriesView.POINT_CLASS)||this}return l(n,t),n}(e.RectElement),c=function(t){function n(n){var o=t.call(this,n,"rct-heatmap-series")||this;return o._cells=new e.PointViewPool(o._pointContainer,s),o}return l(n,t),n.prototype._getPointPool=function(){return this._cells},n.prototype._prepareSeries=function(t,e){this.$_parepareCells(e,this._visPoints)},n.prototype._renderSeries=function(t,e){this._pointContainer.invert(this._inverted,e),this.$_layoutCells(t,e)},n.prototype._runShowEffect=function(t){t&&e.SeriesAnimation.grow(this)},n.prototype._doViewRateChanged=function(t){this.$_layoutCells(this.width,this.height)},n.prototype.$_parepareCells=function(t,n){var o=this,r=new e.Color(t._calcedColor),i=[{fill:void 0}],a=t._heatMin,u=t._heatMax-a;this._cells.prepare(n.length,(function(e,l){var s=e.point=n[l];i[0].fill=r.brighten(1-(s.zValue-a)/u).toString(),o._setPointStyle(e,t,s,i)}))},n.prototype.$_layoutCells=function(t,e){var n=this.model,o=this._inverted,r=this._getGrowRate();n.pointLabel;var i=this._labelViews(),a=this._labelContainer._textAlign,u=n._xAxisObj,l=n._yAxisObj,s=o?t:e,c=o?e:t,p=o?0:e;this._cells.forEach((function(t){var e=t.point;if(t.setVis(!e.isNull)){var n=u.getUnitLen(c,e.xValue)*r,f=l.getUnitLen(s,e.yValue)*r,h=u.getPos(c,e.xValue)-n/2,y=p-l.getPos(s,e.yValue)-f/2,_=void 0;if(e.xPos=o?p+l.getPos(s,e.yValue):h+n/2,e.yPos=o?c-u.getPos(c,e.xValue)+n/2:y+f/2,t.setBounds(h,y,n,f),i&&(_=i.get(e,0))){_.layout(a);var d=_.getBBox();o?(y=c-u.getPos(c,e.xValue)-d.height/2,h=p+l.getPos(s,e.yValue)):(h+=n/2,y+=(f-d.height)/2),h-=d.width/2,_.trans(h,y)}}}))},n}(e.SeriesView);function p(t){(function(t){return t.Series&&t.SeriesView})(t)&&(t.Series.register(u),t.SeriesView.register([u,c]))}p(r),t.HeatmapSeries=u,t.default=p,Object.defineProperty(t,"__esModule",{value:!0})}));