evui 3.4.116 → 3.4.117

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.
@@ -11171,7 +11171,7 @@ module.exports = exports;
11171
11171
  /***/ "9224":
11172
11172
  /***/ (function(module) {
11173
11173
 
11174
- module.exports = JSON.parse("{\"a\":\"3.4.116\"}");
11174
+ module.exports = JSON.parse("{\"a\":\"3.4.117\"}");
11175
11175
 
11176
11176
  /***/ }),
11177
11177
 
@@ -38817,7 +38817,21 @@ var modules = {
38817
38817
  } else {
38818
38818
  seriesIDs.forEach(function (seriesID) {
38819
38819
  var series = _this.seriesList[seriesID];
38820
- var sData = data[seriesID];
38820
+ var hasPassingValueInData = data[seriesID].some(function (item) {
38821
+ return item === series.passingValue;
38822
+ });
38823
+ series.hasPassingValueInData = hasPassingValueInData;
38824
+ var sData = data[seriesID].map(function (item) {
38825
+ if (series.interpolation === 'zero' && !item) {
38826
+ return 0;
38827
+ }
38828
+
38829
+ if (item === series.passingValue) {
38830
+ return null;
38831
+ }
38832
+
38833
+ return item;
38834
+ });
38821
38835
 
38822
38836
  if (series && sData) {
38823
38837
  if (series.isExistGrp && series.stackIndex && !series.isOverlapping) {
@@ -39211,7 +39225,9 @@ var modules = {
39211
39225
  * @param {array} bsIds stacked base data ID List
39212
39226
  * @param {number} sIdx series ordered index
39213
39227
  *
39214
- * @returns {array} data for each series
39228
+ * @typedef {import('./index').ChartSeriesDataPoint} ChartSeriesDataPoint
39229
+ *
39230
+ * @returns {ChartSeriesDataPoint[]} data for each series
39215
39231
  */
39216
39232
  addSeriesStackDS: function addSeriesStackDS(data, label, bsIds) {
39217
39233
  var _this4 = this;
@@ -39263,8 +39279,7 @@ var modules = {
39263
39279
  if (oData != null) {
39264
39280
  gdata = bdata + oData;
39265
39281
  } else {
39266
- gdata = null;
39267
- bdata = 0;
39282
+ gdata = odata;
39268
39283
  }
39269
39284
  } else {
39270
39285
  bdata = 0;
@@ -39283,7 +39298,9 @@ var modules = {
39283
39298
  * @param {object} label chart label
39284
39299
  * @param {boolean} isBase is Base(bottommost) series at stack chart
39285
39300
  *
39286
- * @returns {array} data for each series
39301
+ * @typedef {import('./index').ChartSeriesDataPoint} ChartSeriesDataPoint
39302
+ *
39303
+ * @returns {ChartSeriesDataPoint[]} data for each series
39287
39304
  */
39288
39305
  addSeriesDS: function addSeriesDS(data, label, isBase) {
39289
39306
  var _this$seriesList$Obje,
@@ -39360,7 +39377,10 @@ var modules = {
39360
39377
  * @param {object} ldata label data (x-axis value for vertical chart)
39361
39378
  * @param {object} odata original data (without stacked value)
39362
39379
  * @param {object} bdata base data (stacked value)
39363
- * @returns {object} data for each graph point
39380
+ *
39381
+ * @typedef {import('./index').ChartSeriesDataPoint} ChartSeriesDataPoint
39382
+ *
39383
+ * @returns {ChartSeriesDataPoint} data for each graph point
39364
39384
  */
39365
39385
  addData: function addData(gdata, ldata) {
39366
39386
  var _gdataColor;
@@ -39936,12 +39956,18 @@ var modules = {
39936
39956
  return result;
39937
39957
  },
39938
39958
 
39959
+ /**
39960
+ * @typedef {Object} LabelInfoResult
39961
+ * @property {number} labelIndex - 선택된 라벨의 인덱스
39962
+ * @property {object} hitInfo - 해당 위치에서의 히트 정보 (getItemByPosition 반환값)
39963
+ */
39964
+
39939
39965
  /**
39940
39966
  * Find label info by position x and y
39941
39967
  * @param {array} offset position x and y
39942
39968
  * @param {string | null} targetAxis target Axis Location ('xAxis', 'yAxis' , null)
39943
39969
  *
39944
- * @returns {object} clicked label information
39970
+ * @returns {LabelInfoResult} clicked label information
39945
39971
  */
39946
39972
  getLabelInfoByPosition: function getLabelInfoByPosition(offset, targetAxis) {
39947
39973
  var _Object$values$sort$, _Object$values$sort$2, _scrollbarOpt, _scale, _scale$labels, _scale3, _scale3$labels;
@@ -40048,11 +40074,14 @@ var modules = {
40048
40074
 
40049
40075
  /**
40050
40076
  * Get current mouse target label value in label array or calculated using mouse position
40077
+ *
40078
+ * @typedef {import('./index').MouseLabelValue} MouseLabelValue
40079
+ *
40051
40080
  * @param {string} targetAxis target Axis Location ('xAxis', 'yAxis')
40052
40081
  * @param {array} offset return value from getMousePosition()
40053
40082
  * @param {number} labelIndex
40054
40083
  *
40055
- * @returns {object} current mouse target label value
40084
+ * @returns {MouseLabelValue} current mouse target label value
40056
40085
  */
40057
40086
  getCurMouseLabelVal: function getCurMouseLabelVal(targetAxis, offset, labelIndex) {
40058
40087
  var _this9 = this;
@@ -41082,6 +41111,57 @@ var defaultsDeep = _baseRest(function(args) {
41082
41111
 
41083
41112
  /* harmony default export */ var lodash_es_defaultsDeep = (defaultsDeep);
41084
41113
 
41114
+ // CONCATENATED MODULE: ./node_modules/lodash-es/isNil.js
41115
+ /**
41116
+ * Checks if `value` is `null` or `undefined`.
41117
+ *
41118
+ * @static
41119
+ * @memberOf _
41120
+ * @since 4.0.0
41121
+ * @category Lang
41122
+ * @param {*} value The value to check.
41123
+ * @returns {boolean} Returns `true` if `value` is nullish, else `false`.
41124
+ * @example
41125
+ *
41126
+ * _.isNil(null);
41127
+ * // => true
41128
+ *
41129
+ * _.isNil(void 0);
41130
+ * // => true
41131
+ *
41132
+ * _.isNil(NaN);
41133
+ * // => false
41134
+ */
41135
+ function isNil(value) {
41136
+ return value == null;
41137
+ }
41138
+
41139
+ /* harmony default export */ var lodash_es_isNil = (isNil);
41140
+
41141
+ // CONCATENATED MODULE: ./node_modules/lodash-es/isUndefined.js
41142
+ /**
41143
+ * Checks if `value` is `undefined`.
41144
+ *
41145
+ * @static
41146
+ * @since 0.1.0
41147
+ * @memberOf _
41148
+ * @category Lang
41149
+ * @param {*} value The value to check.
41150
+ * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
41151
+ * @example
41152
+ *
41153
+ * _.isUndefined(void 0);
41154
+ * // => true
41155
+ *
41156
+ * _.isUndefined(null);
41157
+ * // => false
41158
+ */
41159
+ function isUndefined(value) {
41160
+ return value === undefined;
41161
+ }
41162
+
41163
+ /* harmony default export */ var lodash_es_isUndefined = (isUndefined);
41164
+
41085
41165
  // CONCATENATED MODULE: ./src/components/chart/helpers/helpers.constant.js
41086
41166
  var AXIS_UNITS = {
41087
41167
  x: {
@@ -41129,7 +41209,8 @@ var LINE_OPTION = {
41129
41209
  fill: false,
41130
41210
  fillOpacity: 0.4,
41131
41211
  showLegend: true,
41132
- passingValue: null
41212
+ passingValue: null,
41213
+ interpolation: 'none'
41133
41214
  };
41134
41215
  var BAR_OPTION = {
41135
41216
  show: true,
@@ -41316,13 +41397,13 @@ var TIME_INTERVALS = {
41316
41397
  /* harmony default export */ var helpers_canvas = ({
41317
41398
  /**
41318
41399
  * Calculate X position
41319
- * @param {any} value graph value
41400
+ * @param {number|null|undefined} value graph value
41320
41401
  * @param {number} min min value
41321
41402
  * @param {number} max max value
41322
41403
  * @param {number} area height for axis
41323
41404
  * @param {number} startPoint startPoint
41324
41405
  *
41325
- * @returns {any} position
41406
+ * @returns {number|null} position
41326
41407
  */
41327
41408
  calculateX: function calculateX(value, min, max, area) {
41328
41409
  var startPoint = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
@@ -41362,13 +41443,13 @@ var TIME_INTERVALS = {
41362
41443
 
41363
41444
  /**
41364
41445
  * Calculate Y position
41365
- * @param {any} value graph value
41446
+ * @param {number|null|undefined} value graph value
41366
41447
  * @param {number} min min value
41367
41448
  * @param {number} max max value
41368
41449
  * @param {number} area height for axis
41369
41450
  * @param {number} startPoint startPoint
41370
41451
  *
41371
- * @returns {any} position
41452
+ * @returns {number|null} position
41372
41453
  */
41373
41454
  calculateY: function calculateY(value, min, max, area) {
41374
41455
  var startPoint = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
@@ -41616,7 +41697,6 @@ var TIME_INTERVALS = {
41616
41697
 
41617
41698
 
41618
41699
 
41619
-
41620
41700
  var element_line_Line = /*#__PURE__*/function () {
41621
41701
  function Line(sId, opt, sIdx) {
41622
41702
  var _this = this;
@@ -41653,6 +41733,8 @@ var element_line_Line = /*#__PURE__*/function () {
41653
41733
  lineWidth: 2
41654
41734
  }
41655
41735
  };
41736
+ /** @type {import('../model/index').ChartSeriesDataPoint[]} */
41737
+
41656
41738
  this.data = [];
41657
41739
  this.beforeMouseXp = 0;
41658
41740
  this.beforeMouseYp = 0;
@@ -41660,17 +41742,33 @@ var element_line_Line = /*#__PURE__*/function () {
41660
41742
  this.size = {
41661
41743
  comboOffset: 0
41662
41744
  };
41663
- this.usePassingValue = !!this.passingValue;
41664
41745
  }
41665
- /**
41666
- * Draw series data
41667
- * @param {object} param object for drawing series data
41668
- *
41669
- * @returns {undefined}
41670
- */
41671
-
41672
41746
 
41673
41747
  _createClass(Line, [{
41748
+ key: "useLinearInterpolation",
41749
+ value: function useLinearInterpolation() {
41750
+ return this.interpolation === 'linear' || this.interpolation === 'none' && !!this.passingValue && this.hasPassingValueInData;
41751
+ }
41752
+ /**
41753
+ * @typedef {Object} LineDrawParam
41754
+ * @property {CanvasRenderingContext2D} ctx - 캔버스 렌더링 컨텍스트
41755
+ * @property {object} chartRect - 차트 영역 정보
41756
+ * @property {object} labelOffset - 라벨 오프셋 정보
41757
+ * @property {object} axesSteps - 축 스텝 정보
41758
+ * @property {object} [selectLabel] - 선택된 라벨 정보
41759
+ * @property {object} [selectSeries] - 선택된 시리즈 정보
41760
+ * @property {object} [legendHitInfo] - 범례 히트 정보
41761
+ * @property {boolean} [isBrush] - 브러시 사용 여부
41762
+ */
41763
+
41764
+ /**
41765
+ * Draw series data
41766
+ * @param {LineDrawParam} param object for drawing series data
41767
+ *
41768
+ * @returns {undefined}
41769
+ */
41770
+
41771
+ }, {
41674
41772
  key: "draw",
41675
41773
  value: function draw(param) {
41676
41774
  var _selectLabel$selected,
@@ -41733,8 +41831,7 @@ var element_line_Line = /*#__PURE__*/function () {
41733
41831
  }
41734
41832
 
41735
41833
  var endPoint = chartRect.y2 - labelOffset.bottom;
41736
- var x;
41737
- var y;
41834
+ var isLinearInterpolation = this.useLinearInterpolation();
41738
41835
  var barAreaByCombo = 0;
41739
41836
  var minmaxX = axesSteps.x[this.xAxisIndex];
41740
41837
  var minmaxY = axesSteps.y[this.yAxisIndex];
@@ -41759,51 +41856,40 @@ var element_line_Line = /*#__PURE__*/function () {
41759
41856
  }; // draw line
41760
41857
 
41761
41858
 
41762
- var needCutoff = false;
41763
- this.data.reduce(function (prev, curr) {
41764
- x = getXPos(curr.x);
41765
- y = getYPos(curr.y);
41859
+ var prevValid;
41860
+ this.data.forEach(function (curr) {
41861
+ var _prevValid, _prevValid2;
41766
41862
 
41767
- if (x !== null) {
41768
- x += helpers_util.aliasPixel(x);
41769
- }
41863
+ var x = getXPos(curr.x);
41864
+ var y = getYPos(curr.y);
41770
41865
 
41771
- if (_this2.usePassingValue) {
41772
- if (curr.o === _this2.passingValue) {
41773
- y = getYPos(prev.y);
41866
+ if (_this2.isExistGrp && isLinearInterpolation && curr.o === null) {
41867
+ var _curr$b;
41774
41868
 
41775
- if (prev.o === null) {
41776
- needCutoff = true;
41777
- }
41869
+ y = getYPos((_curr$b = curr.b) !== null && _curr$b !== void 0 ? _curr$b : 0);
41870
+ }
41778
41871
 
41779
- if (_this2.isExistGrp && !needCutoff) {
41780
- var _curr$b;
41872
+ if (x !== null) {
41873
+ x += helpers_util.aliasPixel(x);
41874
+ }
41781
41875
 
41782
- y = getYPos((_curr$b = curr.b) !== null && _curr$b !== void 0 ? _curr$b : 0);
41783
- ctx.lineTo(x, y);
41784
- }
41876
+ curr.xp = x;
41877
+ curr.yp = y;
41785
41878
 
41786
- curr.xp = x;
41787
- curr.yp = y;
41788
- return curr;
41879
+ if (isLinearInterpolation && curr.o === null) {
41880
+ if (!_this2.isExistGrp) {
41881
+ return;
41789
41882
  }
41790
41883
  }
41791
41884
 
41792
- var isNullValue = helpers_util.isNullOrUndefined(prev.o) || helpers_util.isNullOrUndefined(curr.o) || helpers_util.isNullOrUndefined(curr.x) || helpers_util.isNullOrUndefined(curr.y);
41793
-
41794
- if (isNullValue || needCutoff) {
41885
+ if (lodash_es_isNil((_prevValid = prevValid) === null || _prevValid === void 0 ? void 0 : _prevValid.y) && !_this2.isExistGrp || !isLinearInterpolation && (lodash_es_isNil((_prevValid2 = prevValid) === null || _prevValid2 === void 0 ? void 0 : _prevValid2.y) || lodash_es_isNil(curr.o))) {
41795
41886
  ctx.moveTo(x, y);
41796
- needCutoff = false;
41797
41887
  } else {
41798
41888
  ctx.lineTo(x, y);
41799
41889
  }
41800
41890
 
41801
- curr.xp = x; // eslint-disable-line
41802
-
41803
- curr.yp = y; // eslint-disable-line
41804
-
41805
- return curr;
41806
- }, this.data[0]);
41891
+ prevValid = curr;
41892
+ });
41807
41893
  ctx.stroke();
41808
41894
 
41809
41895
  if (this.segments) {
@@ -41843,20 +41929,22 @@ var element_line_Line = /*#__PURE__*/function () {
41843
41929
  var valueArray = this.data.map(function (item) {
41844
41930
  return item === null || item === void 0 ? void 0 : item.o;
41845
41931
  });
41932
+ /** @type {Array<[number, number]>} */
41933
+
41846
41934
  var needFillDataIndexList = [];
41847
41935
 
41848
41936
  for (var i = 0; i < valueArray.length + 1; i++) {
41849
- if (helpers_util.isNullOrUndefined(valueArray[i])) {
41937
+ if (isLinearInterpolation && lodash_es_isUndefined(valueArray[i]) || !isLinearInterpolation && lodash_es_isNil(valueArray[i])) {
41850
41938
  if (start !== null && end !== null) {
41851
41939
  var temp = valueArray.slice(start, i);
41852
41940
  var lastNormalValueIndex = temp.findLastIndex(function (item) {
41853
- return item !== helpers_util.isNullOrUndefined(item) && item !== _this2.passingValue;
41941
+ return !lodash_es_isNil(item) && item !== null;
41854
41942
  });
41855
41943
  needFillDataIndexList.push([start, start + lastNormalValueIndex]);
41856
41944
  start = null;
41857
41945
  end = null;
41858
41946
  }
41859
- } else if (valueArray[i] === this.passingValue) {
41947
+ } else if (isLinearInterpolation && valueArray[i] === null) {
41860
41948
  end = i;
41861
41949
  } else {
41862
41950
  start = start === null ? i : start;
@@ -41886,7 +41974,7 @@ var element_line_Line = /*#__PURE__*/function () {
41886
41974
 
41887
41975
  if (ix === startIndex) {
41888
41976
  ctx.moveTo(currData.xp, currData.yp);
41889
- } else if (_this2.isExistGrp || _this2.passingValue !== currData.o) {
41977
+ } else if (_this2.isExistGrp || currData.o !== null) {
41890
41978
  ctx.lineTo(currData.xp, currData.yp);
41891
41979
  }
41892
41980
 
@@ -41912,14 +42000,19 @@ var element_line_Line = /*#__PURE__*/function () {
41912
42000
  ctx.strokeStyle = helpers_util.colorStringToRgba(mainColor, mainColorOpacity);
41913
42001
  var focusStyle = helpers_util.colorStringToRgba(pointFillColor, 1);
41914
42002
  var blurStyle = helpers_util.colorStringToRgba(pointFillColor, pointFillColorOpacity);
42003
+ var isLinearSingle = this.interpolation === 'linear' && this.data.filter(function (item) {
42004
+ return item.o !== null;
42005
+ }).length === 1;
41915
42006
  this.data.forEach(function (curr, ix) {
41916
42007
  var _this2$data, _this2$data2;
41917
42008
 
41918
- if (curr.xp === null || curr.yp === null || curr.o === _this2.passingValue) {
42009
+ if (curr.xp === null || curr.yp === null || curr.o === null) {
41919
42010
  return;
41920
42011
  }
41921
42012
 
41922
- var isSingle = helpers_util.isNullOrUndefined((_this2$data = _this2.data[ix - 1]) === null || _this2$data === void 0 ? void 0 : _this2$data.o) && helpers_util.isNullOrUndefined((_this2$data2 = _this2.data[ix + 1]) === null || _this2$data2 === void 0 ? void 0 : _this2$data2.o);
42013
+ var prevData = (_this2$data = _this2.data[ix - 1]) === null || _this2$data === void 0 ? void 0 : _this2$data.o;
42014
+ var nextData = (_this2$data2 = _this2.data[ix + 1]) === null || _this2$data2 === void 0 ? void 0 : _this2$data2.o;
42015
+ var isSingle = !isLinearInterpolation && lodash_es_isNil(prevData) && lodash_es_isNil(nextData) || isLinearSingle;
41923
42016
  var isSelectedLabel = selectedLabelIndexList.includes(ix);
41924
42017
 
41925
42018
  if (_this2.point || isSingle || isSelectedLabel) {
@@ -41950,7 +42043,7 @@ var element_line_Line = /*#__PURE__*/function () {
41950
42043
  o = gdata.o;
41951
42044
  ctx.save();
41952
42045
 
41953
- if (xp !== null && yp !== null && o !== this.passingValue && this.pointHighlight) {
42046
+ if (xp !== null && yp !== null && o !== null && this.pointHighlight) {
41954
42047
  ctx.strokeStyle = helpers_util.colorStringToRgba(this.color, 0);
41955
42048
  ctx.fillStyle = helpers_util.colorStringToRgba(this.color, this.highlight.maxShadowOpacity);
41956
42049
  helpers_canvas.drawPoint(ctx, this.pointStyle, this.highlight.maxShadowSize, xp, yp);
@@ -41988,6 +42081,7 @@ var element_line_Line = /*#__PURE__*/function () {
41988
42081
  return !helpers_util.isNullOrUndefined(data.x);
41989
42082
  });
41990
42083
  var SPARE_XP = 0.5;
42084
+ var isLinearInterpolation = this.useLinearInterpolation();
41991
42085
 
41992
42086
  if (gdata !== null && gdata !== void 0 && gdata.length) {
41993
42087
  if (typeof dataIndex === 'number' && this.show) {
@@ -42071,7 +42165,7 @@ var element_line_Line = /*#__PURE__*/function () {
42071
42165
  }
42072
42166
  }
42073
42167
 
42074
- if (this.usePassingValue && (item === null || item === void 0 ? void 0 : (_item$data = item.data) === null || _item$data === void 0 ? void 0 : _item$data.o) === this.passingValue) {
42168
+ if (isLinearInterpolation && (item === null || item === void 0 ? void 0 : (_item$data = item.data) === null || _item$data === void 0 ? void 0 : _item$data.o) === null) {
42075
42169
  item.data = null;
42076
42170
  }
42077
42171
 
@@ -44743,6 +44837,47 @@ var model_series_modules = {
44743
44837
  Store: model_store,
44744
44838
  Series: model_series
44745
44839
  });
44840
+ /**
44841
+ * @typedef {Object} ChartDOMSize
44842
+ * @property {number} width - 차트 DOM의 너비
44843
+ * @property {number} height - 차트 DOM의 높이
44844
+ */
44845
+
44846
+ /**
44847
+ * @typedef {Object} ChartRect
44848
+ * @property {number} x1 - 차트 영역의 시작 X 좌표
44849
+ * @property {number} x2 - 차트 영역의 끝 X 좌표
44850
+ * @property {number} y1 - 차트 영역의 시작 Y 좌표
44851
+ * @property {number} y2 - 차트 영역의 끝 Y 좌표
44852
+ * @property {number} chartWidth - 실제 차트 그리기 영역의 너비
44853
+ * @property {number} chartHeight - 실제 차트 그리기 영역의 높이
44854
+ * @property {number} width - 전체 차트 컨테이너의 너비
44855
+ * @property {number} height - 전체 차트 컨테이너의 높이
44856
+ */
44857
+
44858
+ /**
44859
+ * @typedef {Object} MouseLabelValue
44860
+ * @property {string|number} labelVal - 마우스 위치에 해당하는 라벨 값
44861
+ * @property {number} labelIdx - 라벨 인덱스 (없으면 -1)
44862
+ */
44863
+
44864
+ /**
44865
+ * @typedef {Object} ChartSeriesDataPoint
44866
+ * @property {number|null} x - x축 값 또는 라벨
44867
+ * @property {number|null} y - y축 값 또는 데이터 값
44868
+ * @property {number|null} o - 원본 데이터 값
44869
+ * @property {number|null} b - 스택형 차트의 베이스 값
44870
+ * @property {number|null} xp - x좌표 위치(픽셀 등)
44871
+ * @property {number|null} yp - y좌표 위치(픽셀 등)
44872
+ * @property {number|null} w - 너비
44873
+ * @property {number|null} h - 높이
44874
+ * @property {string|null} dataColor - 데이터 색상
44875
+ * @property {string|null} dataTextColor - 텍스트 색상
44876
+ */
44877
+
44878
+ /**
44879
+ * @typedef {'none' | 'linear' | 'zero'} InterpolationType
44880
+ */
44746
44881
  // CONCATENATED MODULE: ./src/components/chart/scale/scale.js
44747
44882
 
44748
44883
 
@@ -51229,7 +51364,7 @@ var plugins_interaction_modules = {
51229
51364
  if (item !== null && item !== void 0 && item.data) {
51230
51365
  var gdata = void 0;
51231
51366
 
51232
- if (item.data.o === null) {
51367
+ if (item.data.o === null && series.interpolation !== 'zero') {
51233
51368
  if (!series.isExistGrp) {
51234
51369
  gdata = isHorizontal ? item.data.x : item.data.y;
51235
51370
  }
@@ -54564,8 +54699,9 @@ var chart_core_EvChart = /*#__PURE__*/function () {
54564
54699
  }
54565
54700
  /**
54566
54701
  * Get chart DOM size and set canvas size
54702
+ * @typedef {import('./model/index').ChartDOMSize} ChartDOMSize
54567
54703
  *
54568
- * @returns {object} chart size information
54704
+ * @returns {ChartDOMSize} chart size information
54569
54705
  */
54570
54706
 
54571
54707
  }, {
@@ -54585,8 +54721,9 @@ var chart_core_EvChart = /*#__PURE__*/function () {
54585
54721
  }
54586
54722
  /**
54587
54723
  * Calculate chart size
54724
+ * @typedef {import('./model/index').ChartRect} ChartRect
54588
54725
  *
54589
- * @returns {object} chart size information
54726
+ * @returns {ChartRect} chart size information
54590
54727
  */
54591
54728
 
54592
54729
  }, {