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.
package/dist/evui.umd.js CHANGED
@@ -11180,7 +11180,7 @@ module.exports = exports;
11180
11180
  /***/ "9224":
11181
11181
  /***/ (function(module) {
11182
11182
 
11183
- module.exports = JSON.parse("{\"a\":\"3.4.116\"}");
11183
+ module.exports = JSON.parse("{\"a\":\"3.4.117\"}");
11184
11184
 
11185
11185
  /***/ }),
11186
11186
 
@@ -38826,7 +38826,21 @@ var modules = {
38826
38826
  } else {
38827
38827
  seriesIDs.forEach(function (seriesID) {
38828
38828
  var series = _this.seriesList[seriesID];
38829
- var sData = data[seriesID];
38829
+ var hasPassingValueInData = data[seriesID].some(function (item) {
38830
+ return item === series.passingValue;
38831
+ });
38832
+ series.hasPassingValueInData = hasPassingValueInData;
38833
+ var sData = data[seriesID].map(function (item) {
38834
+ if (series.interpolation === 'zero' && !item) {
38835
+ return 0;
38836
+ }
38837
+
38838
+ if (item === series.passingValue) {
38839
+ return null;
38840
+ }
38841
+
38842
+ return item;
38843
+ });
38830
38844
 
38831
38845
  if (series && sData) {
38832
38846
  if (series.isExistGrp && series.stackIndex && !series.isOverlapping) {
@@ -39220,7 +39234,9 @@ var modules = {
39220
39234
  * @param {array} bsIds stacked base data ID List
39221
39235
  * @param {number} sIdx series ordered index
39222
39236
  *
39223
- * @returns {array} data for each series
39237
+ * @typedef {import('./index').ChartSeriesDataPoint} ChartSeriesDataPoint
39238
+ *
39239
+ * @returns {ChartSeriesDataPoint[]} data for each series
39224
39240
  */
39225
39241
  addSeriesStackDS: function addSeriesStackDS(data, label, bsIds) {
39226
39242
  var _this4 = this;
@@ -39272,8 +39288,7 @@ var modules = {
39272
39288
  if (oData != null) {
39273
39289
  gdata = bdata + oData;
39274
39290
  } else {
39275
- gdata = null;
39276
- bdata = 0;
39291
+ gdata = odata;
39277
39292
  }
39278
39293
  } else {
39279
39294
  bdata = 0;
@@ -39292,7 +39307,9 @@ var modules = {
39292
39307
  * @param {object} label chart label
39293
39308
  * @param {boolean} isBase is Base(bottommost) series at stack chart
39294
39309
  *
39295
- * @returns {array} data for each series
39310
+ * @typedef {import('./index').ChartSeriesDataPoint} ChartSeriesDataPoint
39311
+ *
39312
+ * @returns {ChartSeriesDataPoint[]} data for each series
39296
39313
  */
39297
39314
  addSeriesDS: function addSeriesDS(data, label, isBase) {
39298
39315
  var _this$seriesList$Obje,
@@ -39369,7 +39386,10 @@ var modules = {
39369
39386
  * @param {object} ldata label data (x-axis value for vertical chart)
39370
39387
  * @param {object} odata original data (without stacked value)
39371
39388
  * @param {object} bdata base data (stacked value)
39372
- * @returns {object} data for each graph point
39389
+ *
39390
+ * @typedef {import('./index').ChartSeriesDataPoint} ChartSeriesDataPoint
39391
+ *
39392
+ * @returns {ChartSeriesDataPoint} data for each graph point
39373
39393
  */
39374
39394
  addData: function addData(gdata, ldata) {
39375
39395
  var _gdataColor;
@@ -39945,12 +39965,18 @@ var modules = {
39945
39965
  return result;
39946
39966
  },
39947
39967
 
39968
+ /**
39969
+ * @typedef {Object} LabelInfoResult
39970
+ * @property {number} labelIndex - 선택된 라벨의 인덱스
39971
+ * @property {object} hitInfo - 해당 위치에서의 히트 정보 (getItemByPosition 반환값)
39972
+ */
39973
+
39948
39974
  /**
39949
39975
  * Find label info by position x and y
39950
39976
  * @param {array} offset position x and y
39951
39977
  * @param {string | null} targetAxis target Axis Location ('xAxis', 'yAxis' , null)
39952
39978
  *
39953
- * @returns {object} clicked label information
39979
+ * @returns {LabelInfoResult} clicked label information
39954
39980
  */
39955
39981
  getLabelInfoByPosition: function getLabelInfoByPosition(offset, targetAxis) {
39956
39982
  var _Object$values$sort$, _Object$values$sort$2, _scrollbarOpt, _scale, _scale$labels, _scale3, _scale3$labels;
@@ -40057,11 +40083,14 @@ var modules = {
40057
40083
 
40058
40084
  /**
40059
40085
  * Get current mouse target label value in label array or calculated using mouse position
40086
+ *
40087
+ * @typedef {import('./index').MouseLabelValue} MouseLabelValue
40088
+ *
40060
40089
  * @param {string} targetAxis target Axis Location ('xAxis', 'yAxis')
40061
40090
  * @param {array} offset return value from getMousePosition()
40062
40091
  * @param {number} labelIndex
40063
40092
  *
40064
- * @returns {object} current mouse target label value
40093
+ * @returns {MouseLabelValue} current mouse target label value
40065
40094
  */
40066
40095
  getCurMouseLabelVal: function getCurMouseLabelVal(targetAxis, offset, labelIndex) {
40067
40096
  var _this9 = this;
@@ -41091,6 +41120,57 @@ var defaultsDeep = _baseRest(function(args) {
41091
41120
 
41092
41121
  /* harmony default export */ var lodash_es_defaultsDeep = (defaultsDeep);
41093
41122
 
41123
+ // CONCATENATED MODULE: ./node_modules/lodash-es/isNil.js
41124
+ /**
41125
+ * Checks if `value` is `null` or `undefined`.
41126
+ *
41127
+ * @static
41128
+ * @memberOf _
41129
+ * @since 4.0.0
41130
+ * @category Lang
41131
+ * @param {*} value The value to check.
41132
+ * @returns {boolean} Returns `true` if `value` is nullish, else `false`.
41133
+ * @example
41134
+ *
41135
+ * _.isNil(null);
41136
+ * // => true
41137
+ *
41138
+ * _.isNil(void 0);
41139
+ * // => true
41140
+ *
41141
+ * _.isNil(NaN);
41142
+ * // => false
41143
+ */
41144
+ function isNil(value) {
41145
+ return value == null;
41146
+ }
41147
+
41148
+ /* harmony default export */ var lodash_es_isNil = (isNil);
41149
+
41150
+ // CONCATENATED MODULE: ./node_modules/lodash-es/isUndefined.js
41151
+ /**
41152
+ * Checks if `value` is `undefined`.
41153
+ *
41154
+ * @static
41155
+ * @since 0.1.0
41156
+ * @memberOf _
41157
+ * @category Lang
41158
+ * @param {*} value The value to check.
41159
+ * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
41160
+ * @example
41161
+ *
41162
+ * _.isUndefined(void 0);
41163
+ * // => true
41164
+ *
41165
+ * _.isUndefined(null);
41166
+ * // => false
41167
+ */
41168
+ function isUndefined(value) {
41169
+ return value === undefined;
41170
+ }
41171
+
41172
+ /* harmony default export */ var lodash_es_isUndefined = (isUndefined);
41173
+
41094
41174
  // CONCATENATED MODULE: ./src/components/chart/helpers/helpers.constant.js
41095
41175
  var AXIS_UNITS = {
41096
41176
  x: {
@@ -41138,7 +41218,8 @@ var LINE_OPTION = {
41138
41218
  fill: false,
41139
41219
  fillOpacity: 0.4,
41140
41220
  showLegend: true,
41141
- passingValue: null
41221
+ passingValue: null,
41222
+ interpolation: 'none'
41142
41223
  };
41143
41224
  var BAR_OPTION = {
41144
41225
  show: true,
@@ -41325,13 +41406,13 @@ var TIME_INTERVALS = {
41325
41406
  /* harmony default export */ var helpers_canvas = ({
41326
41407
  /**
41327
41408
  * Calculate X position
41328
- * @param {any} value graph value
41409
+ * @param {number|null|undefined} value graph value
41329
41410
  * @param {number} min min value
41330
41411
  * @param {number} max max value
41331
41412
  * @param {number} area height for axis
41332
41413
  * @param {number} startPoint startPoint
41333
41414
  *
41334
- * @returns {any} position
41415
+ * @returns {number|null} position
41335
41416
  */
41336
41417
  calculateX: function calculateX(value, min, max, area) {
41337
41418
  var startPoint = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
@@ -41371,13 +41452,13 @@ var TIME_INTERVALS = {
41371
41452
 
41372
41453
  /**
41373
41454
  * Calculate Y position
41374
- * @param {any} value graph value
41455
+ * @param {number|null|undefined} value graph value
41375
41456
  * @param {number} min min value
41376
41457
  * @param {number} max max value
41377
41458
  * @param {number} area height for axis
41378
41459
  * @param {number} startPoint startPoint
41379
41460
  *
41380
- * @returns {any} position
41461
+ * @returns {number|null} position
41381
41462
  */
41382
41463
  calculateY: function calculateY(value, min, max, area) {
41383
41464
  var startPoint = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
@@ -41625,7 +41706,6 @@ var TIME_INTERVALS = {
41625
41706
 
41626
41707
 
41627
41708
 
41628
-
41629
41709
  var element_line_Line = /*#__PURE__*/function () {
41630
41710
  function Line(sId, opt, sIdx) {
41631
41711
  var _this = this;
@@ -41662,6 +41742,8 @@ var element_line_Line = /*#__PURE__*/function () {
41662
41742
  lineWidth: 2
41663
41743
  }
41664
41744
  };
41745
+ /** @type {import('../model/index').ChartSeriesDataPoint[]} */
41746
+
41665
41747
  this.data = [];
41666
41748
  this.beforeMouseXp = 0;
41667
41749
  this.beforeMouseYp = 0;
@@ -41669,17 +41751,33 @@ var element_line_Line = /*#__PURE__*/function () {
41669
41751
  this.size = {
41670
41752
  comboOffset: 0
41671
41753
  };
41672
- this.usePassingValue = !!this.passingValue;
41673
41754
  }
41674
- /**
41675
- * Draw series data
41676
- * @param {object} param object for drawing series data
41677
- *
41678
- * @returns {undefined}
41679
- */
41680
-
41681
41755
 
41682
41756
  _createClass(Line, [{
41757
+ key: "useLinearInterpolation",
41758
+ value: function useLinearInterpolation() {
41759
+ return this.interpolation === 'linear' || this.interpolation === 'none' && !!this.passingValue && this.hasPassingValueInData;
41760
+ }
41761
+ /**
41762
+ * @typedef {Object} LineDrawParam
41763
+ * @property {CanvasRenderingContext2D} ctx - 캔버스 렌더링 컨텍스트
41764
+ * @property {object} chartRect - 차트 영역 정보
41765
+ * @property {object} labelOffset - 라벨 오프셋 정보
41766
+ * @property {object} axesSteps - 축 스텝 정보
41767
+ * @property {object} [selectLabel] - 선택된 라벨 정보
41768
+ * @property {object} [selectSeries] - 선택된 시리즈 정보
41769
+ * @property {object} [legendHitInfo] - 범례 히트 정보
41770
+ * @property {boolean} [isBrush] - 브러시 사용 여부
41771
+ */
41772
+
41773
+ /**
41774
+ * Draw series data
41775
+ * @param {LineDrawParam} param object for drawing series data
41776
+ *
41777
+ * @returns {undefined}
41778
+ */
41779
+
41780
+ }, {
41683
41781
  key: "draw",
41684
41782
  value: function draw(param) {
41685
41783
  var _selectLabel$selected,
@@ -41742,8 +41840,7 @@ var element_line_Line = /*#__PURE__*/function () {
41742
41840
  }
41743
41841
 
41744
41842
  var endPoint = chartRect.y2 - labelOffset.bottom;
41745
- var x;
41746
- var y;
41843
+ var isLinearInterpolation = this.useLinearInterpolation();
41747
41844
  var barAreaByCombo = 0;
41748
41845
  var minmaxX = axesSteps.x[this.xAxisIndex];
41749
41846
  var minmaxY = axesSteps.y[this.yAxisIndex];
@@ -41768,51 +41865,40 @@ var element_line_Line = /*#__PURE__*/function () {
41768
41865
  }; // draw line
41769
41866
 
41770
41867
 
41771
- var needCutoff = false;
41772
- this.data.reduce(function (prev, curr) {
41773
- x = getXPos(curr.x);
41774
- y = getYPos(curr.y);
41868
+ var prevValid;
41869
+ this.data.forEach(function (curr) {
41870
+ var _prevValid, _prevValid2;
41775
41871
 
41776
- if (x !== null) {
41777
- x += helpers_util.aliasPixel(x);
41778
- }
41872
+ var x = getXPos(curr.x);
41873
+ var y = getYPos(curr.y);
41779
41874
 
41780
- if (_this2.usePassingValue) {
41781
- if (curr.o === _this2.passingValue) {
41782
- y = getYPos(prev.y);
41875
+ if (_this2.isExistGrp && isLinearInterpolation && curr.o === null) {
41876
+ var _curr$b;
41783
41877
 
41784
- if (prev.o === null) {
41785
- needCutoff = true;
41786
- }
41878
+ y = getYPos((_curr$b = curr.b) !== null && _curr$b !== void 0 ? _curr$b : 0);
41879
+ }
41787
41880
 
41788
- if (_this2.isExistGrp && !needCutoff) {
41789
- var _curr$b;
41881
+ if (x !== null) {
41882
+ x += helpers_util.aliasPixel(x);
41883
+ }
41790
41884
 
41791
- y = getYPos((_curr$b = curr.b) !== null && _curr$b !== void 0 ? _curr$b : 0);
41792
- ctx.lineTo(x, y);
41793
- }
41885
+ curr.xp = x;
41886
+ curr.yp = y;
41794
41887
 
41795
- curr.xp = x;
41796
- curr.yp = y;
41797
- return curr;
41888
+ if (isLinearInterpolation && curr.o === null) {
41889
+ if (!_this2.isExistGrp) {
41890
+ return;
41798
41891
  }
41799
41892
  }
41800
41893
 
41801
- var isNullValue = helpers_util.isNullOrUndefined(prev.o) || helpers_util.isNullOrUndefined(curr.o) || helpers_util.isNullOrUndefined(curr.x) || helpers_util.isNullOrUndefined(curr.y);
41802
-
41803
- if (isNullValue || needCutoff) {
41894
+ 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))) {
41804
41895
  ctx.moveTo(x, y);
41805
- needCutoff = false;
41806
41896
  } else {
41807
41897
  ctx.lineTo(x, y);
41808
41898
  }
41809
41899
 
41810
- curr.xp = x; // eslint-disable-line
41811
-
41812
- curr.yp = y; // eslint-disable-line
41813
-
41814
- return curr;
41815
- }, this.data[0]);
41900
+ prevValid = curr;
41901
+ });
41816
41902
  ctx.stroke();
41817
41903
 
41818
41904
  if (this.segments) {
@@ -41852,20 +41938,22 @@ var element_line_Line = /*#__PURE__*/function () {
41852
41938
  var valueArray = this.data.map(function (item) {
41853
41939
  return item === null || item === void 0 ? void 0 : item.o;
41854
41940
  });
41941
+ /** @type {Array<[number, number]>} */
41942
+
41855
41943
  var needFillDataIndexList = [];
41856
41944
 
41857
41945
  for (var i = 0; i < valueArray.length + 1; i++) {
41858
- if (helpers_util.isNullOrUndefined(valueArray[i])) {
41946
+ if (isLinearInterpolation && lodash_es_isUndefined(valueArray[i]) || !isLinearInterpolation && lodash_es_isNil(valueArray[i])) {
41859
41947
  if (start !== null && end !== null) {
41860
41948
  var temp = valueArray.slice(start, i);
41861
41949
  var lastNormalValueIndex = temp.findLastIndex(function (item) {
41862
- return item !== helpers_util.isNullOrUndefined(item) && item !== _this2.passingValue;
41950
+ return !lodash_es_isNil(item) && item !== null;
41863
41951
  });
41864
41952
  needFillDataIndexList.push([start, start + lastNormalValueIndex]);
41865
41953
  start = null;
41866
41954
  end = null;
41867
41955
  }
41868
- } else if (valueArray[i] === this.passingValue) {
41956
+ } else if (isLinearInterpolation && valueArray[i] === null) {
41869
41957
  end = i;
41870
41958
  } else {
41871
41959
  start = start === null ? i : start;
@@ -41895,7 +41983,7 @@ var element_line_Line = /*#__PURE__*/function () {
41895
41983
 
41896
41984
  if (ix === startIndex) {
41897
41985
  ctx.moveTo(currData.xp, currData.yp);
41898
- } else if (_this2.isExistGrp || _this2.passingValue !== currData.o) {
41986
+ } else if (_this2.isExistGrp || currData.o !== null) {
41899
41987
  ctx.lineTo(currData.xp, currData.yp);
41900
41988
  }
41901
41989
 
@@ -41921,14 +42009,19 @@ var element_line_Line = /*#__PURE__*/function () {
41921
42009
  ctx.strokeStyle = helpers_util.colorStringToRgba(mainColor, mainColorOpacity);
41922
42010
  var focusStyle = helpers_util.colorStringToRgba(pointFillColor, 1);
41923
42011
  var blurStyle = helpers_util.colorStringToRgba(pointFillColor, pointFillColorOpacity);
42012
+ var isLinearSingle = this.interpolation === 'linear' && this.data.filter(function (item) {
42013
+ return item.o !== null;
42014
+ }).length === 1;
41924
42015
  this.data.forEach(function (curr, ix) {
41925
42016
  var _this2$data, _this2$data2;
41926
42017
 
41927
- if (curr.xp === null || curr.yp === null || curr.o === _this2.passingValue) {
42018
+ if (curr.xp === null || curr.yp === null || curr.o === null) {
41928
42019
  return;
41929
42020
  }
41930
42021
 
41931
- 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);
42022
+ var prevData = (_this2$data = _this2.data[ix - 1]) === null || _this2$data === void 0 ? void 0 : _this2$data.o;
42023
+ var nextData = (_this2$data2 = _this2.data[ix + 1]) === null || _this2$data2 === void 0 ? void 0 : _this2$data2.o;
42024
+ var isSingle = !isLinearInterpolation && lodash_es_isNil(prevData) && lodash_es_isNil(nextData) || isLinearSingle;
41932
42025
  var isSelectedLabel = selectedLabelIndexList.includes(ix);
41933
42026
 
41934
42027
  if (_this2.point || isSingle || isSelectedLabel) {
@@ -41959,7 +42052,7 @@ var element_line_Line = /*#__PURE__*/function () {
41959
42052
  o = gdata.o;
41960
42053
  ctx.save();
41961
42054
 
41962
- if (xp !== null && yp !== null && o !== this.passingValue && this.pointHighlight) {
42055
+ if (xp !== null && yp !== null && o !== null && this.pointHighlight) {
41963
42056
  ctx.strokeStyle = helpers_util.colorStringToRgba(this.color, 0);
41964
42057
  ctx.fillStyle = helpers_util.colorStringToRgba(this.color, this.highlight.maxShadowOpacity);
41965
42058
  helpers_canvas.drawPoint(ctx, this.pointStyle, this.highlight.maxShadowSize, xp, yp);
@@ -41997,6 +42090,7 @@ var element_line_Line = /*#__PURE__*/function () {
41997
42090
  return !helpers_util.isNullOrUndefined(data.x);
41998
42091
  });
41999
42092
  var SPARE_XP = 0.5;
42093
+ var isLinearInterpolation = this.useLinearInterpolation();
42000
42094
 
42001
42095
  if (gdata !== null && gdata !== void 0 && gdata.length) {
42002
42096
  if (typeof dataIndex === 'number' && this.show) {
@@ -42080,7 +42174,7 @@ var element_line_Line = /*#__PURE__*/function () {
42080
42174
  }
42081
42175
  }
42082
42176
 
42083
- 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) {
42177
+ if (isLinearInterpolation && (item === null || item === void 0 ? void 0 : (_item$data = item.data) === null || _item$data === void 0 ? void 0 : _item$data.o) === null) {
42084
42178
  item.data = null;
42085
42179
  }
42086
42180
 
@@ -44752,6 +44846,47 @@ var model_series_modules = {
44752
44846
  Store: model_store,
44753
44847
  Series: model_series
44754
44848
  });
44849
+ /**
44850
+ * @typedef {Object} ChartDOMSize
44851
+ * @property {number} width - 차트 DOM의 너비
44852
+ * @property {number} height - 차트 DOM의 높이
44853
+ */
44854
+
44855
+ /**
44856
+ * @typedef {Object} ChartRect
44857
+ * @property {number} x1 - 차트 영역의 시작 X 좌표
44858
+ * @property {number} x2 - 차트 영역의 끝 X 좌표
44859
+ * @property {number} y1 - 차트 영역의 시작 Y 좌표
44860
+ * @property {number} y2 - 차트 영역의 끝 Y 좌표
44861
+ * @property {number} chartWidth - 실제 차트 그리기 영역의 너비
44862
+ * @property {number} chartHeight - 실제 차트 그리기 영역의 높이
44863
+ * @property {number} width - 전체 차트 컨테이너의 너비
44864
+ * @property {number} height - 전체 차트 컨테이너의 높이
44865
+ */
44866
+
44867
+ /**
44868
+ * @typedef {Object} MouseLabelValue
44869
+ * @property {string|number} labelVal - 마우스 위치에 해당하는 라벨 값
44870
+ * @property {number} labelIdx - 라벨 인덱스 (없으면 -1)
44871
+ */
44872
+
44873
+ /**
44874
+ * @typedef {Object} ChartSeriesDataPoint
44875
+ * @property {number|null} x - x축 값 또는 라벨
44876
+ * @property {number|null} y - y축 값 또는 데이터 값
44877
+ * @property {number|null} o - 원본 데이터 값
44878
+ * @property {number|null} b - 스택형 차트의 베이스 값
44879
+ * @property {number|null} xp - x좌표 위치(픽셀 등)
44880
+ * @property {number|null} yp - y좌표 위치(픽셀 등)
44881
+ * @property {number|null} w - 너비
44882
+ * @property {number|null} h - 높이
44883
+ * @property {string|null} dataColor - 데이터 색상
44884
+ * @property {string|null} dataTextColor - 텍스트 색상
44885
+ */
44886
+
44887
+ /**
44888
+ * @typedef {'none' | 'linear' | 'zero'} InterpolationType
44889
+ */
44755
44890
  // CONCATENATED MODULE: ./src/components/chart/scale/scale.js
44756
44891
 
44757
44892
 
@@ -51238,7 +51373,7 @@ var plugins_interaction_modules = {
51238
51373
  if (item !== null && item !== void 0 && item.data) {
51239
51374
  var gdata = void 0;
51240
51375
 
51241
- if (item.data.o === null) {
51376
+ if (item.data.o === null && series.interpolation !== 'zero') {
51242
51377
  if (!series.isExistGrp) {
51243
51378
  gdata = isHorizontal ? item.data.x : item.data.y;
51244
51379
  }
@@ -54573,8 +54708,9 @@ var chart_core_EvChart = /*#__PURE__*/function () {
54573
54708
  }
54574
54709
  /**
54575
54710
  * Get chart DOM size and set canvas size
54711
+ * @typedef {import('./model/index').ChartDOMSize} ChartDOMSize
54576
54712
  *
54577
- * @returns {object} chart size information
54713
+ * @returns {ChartDOMSize} chart size information
54578
54714
  */
54579
54715
 
54580
54716
  }, {
@@ -54594,8 +54730,9 @@ var chart_core_EvChart = /*#__PURE__*/function () {
54594
54730
  }
54595
54731
  /**
54596
54732
  * Calculate chart size
54733
+ * @typedef {import('./model/index').ChartRect} ChartRect
54597
54734
  *
54598
- * @returns {object} chart size information
54735
+ * @returns {ChartRect} chart size information
54599
54736
  */
54600
54737
 
54601
54738
  }, {