evui 3.4.110 → 3.4.112

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
@@ -11173,7 +11173,7 @@ module.exports = exports;
11173
11173
  /***/ "9224":
11174
11174
  /***/ (function(module) {
11175
11175
 
11176
- module.exports = JSON.parse("{\"a\":\"3.4.110\"}");
11176
+ module.exports = JSON.parse("{\"a\":\"3.4.112\"}");
11177
11177
 
11178
11178
  /***/ }),
11179
11179
 
@@ -38829,9 +38829,9 @@ var modules = {
38829
38829
 
38830
38830
  if (series && sData) {
38831
38831
  if (series.isExistGrp && series.stackIndex && !series.isOverlapping) {
38832
- series.data = _this.addSeriesStackDS(sData, label, series.bsIds, series.stackIndex);
38832
+ series.data = _this.addSeriesStackDS(sData, label, series.bsIds, series.stackIndex, series.interpolation);
38833
38833
  } else {
38834
- series.data = _this.addSeriesDS(sData, label, series.isExistGrp);
38834
+ series.data = _this.addSeriesDS(sData, label, series.isExistGrp, series.interpolation);
38835
38835
  }
38836
38836
 
38837
38837
  series.minMax = _this.getSeriesMinMax(series.data);
@@ -39218,13 +39218,17 @@ var modules = {
39218
39218
  * @param {object} label chart label
39219
39219
  * @param {array} bsIds stacked base data ID List
39220
39220
  * @param {number} sIdx series ordered index
39221
+ * @param {import('./index').InterpolationType} interpolation interpolation type
39221
39222
  *
39222
- * @returns {array} data for each series
39223
+ * @typedef {import('./index').ChartSeriesDataPoint} ChartSeriesDataPoint
39224
+ *
39225
+ * @returns {ChartSeriesDataPoint[]} data for each series
39223
39226
  */
39224
39227
  addSeriesStackDS: function addSeriesStackDS(data, label, bsIds) {
39225
39228
  var _this4 = this;
39226
39229
 
39227
39230
  var sIdx = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
39231
+ var interpolation = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 'none';
39228
39232
  var isHorizontal = this.options.horizontal;
39229
39233
  var sdata = [];
39230
39234
 
@@ -39271,15 +39275,14 @@ var modules = {
39271
39275
  if (oData != null) {
39272
39276
  gdata = bdata + oData;
39273
39277
  } else {
39274
- gdata = null;
39275
- bdata = 0;
39278
+ gdata = odata;
39276
39279
  }
39277
39280
  } else {
39278
39281
  bdata = 0;
39279
39282
  gdata = oData;
39280
39283
  }
39281
39284
 
39282
- sdata.push(_this4.addData(gdata, ldata, odata, bdata));
39285
+ sdata.push(_this4.addData(gdata, ldata, odata, bdata, interpolation));
39283
39286
  }
39284
39287
  });
39285
39288
  return sdata;
@@ -39290,13 +39293,17 @@ var modules = {
39290
39293
  * @param {object} data chart series info
39291
39294
  * @param {object} label chart label
39292
39295
  * @param {boolean} isBase is Base(bottommost) series at stack chart
39296
+ * @param {import('./index').InterpolationType} interpolation interpolation type
39297
+ *
39298
+ * @typedef {import('./index').ChartSeriesDataPoint} ChartSeriesDataPoint
39293
39299
  *
39294
- * @returns {array} data for each series
39300
+ * @returns {ChartSeriesDataPoint[]} data for each series
39295
39301
  */
39296
39302
  addSeriesDS: function addSeriesDS(data, label, isBase) {
39297
39303
  var _this$seriesList$Obje,
39298
39304
  _this5 = this;
39299
39305
 
39306
+ var interpolation = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'none';
39300
39307
  var isHorizontal = this.options.horizontal;
39301
39308
  var sdata = [];
39302
39309
  var passingValue = (_this$seriesList$Obje = this.seriesList[Object.keys(this.seriesList)[0]]) === null || _this$seriesList$Obje === void 0 ? void 0 : _this$seriesList$Obje.passingValue;
@@ -39311,7 +39318,7 @@ var modules = {
39311
39318
 
39312
39319
  if (ldata !== null) {
39313
39320
  var isPassingValueWithStack = isBase && !helpers_util.isNullOrUndefined(passingValue) && gdata === passingValue;
39314
- sdata.push(_this5.addData(isPassingValueWithStack ? 0 : gdata, ldata, gdata));
39321
+ sdata.push(_this5.addData(isPassingValueWithStack ? 0 : gdata, ldata, gdata, null, interpolation));
39315
39322
  }
39316
39323
  });
39317
39324
  return sdata;
@@ -39368,13 +39375,18 @@ var modules = {
39368
39375
  * @param {object} ldata label data (x-axis value for vertical chart)
39369
39376
  * @param {object} odata original data (without stacked value)
39370
39377
  * @param {object} bdata base data (stacked value)
39371
- * @returns {object} data for each graph point
39378
+ * @param {import('./index').InterpolationType} interpolation interpolation type
39379
+ *
39380
+ * @typedef {import('./index').ChartSeriesDataPoint} ChartSeriesDataPoint
39381
+ *
39382
+ * @returns {ChartSeriesDataPoint} data for each graph point
39372
39383
  */
39373
39384
  addData: function addData(gdata, ldata) {
39374
39385
  var _gdataColor;
39375
39386
 
39376
39387
  var odata = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
39377
39388
  var bdata = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
39389
+ var interpolation = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 'none';
39378
39390
  var data;
39379
39391
  var gdataValue = null;
39380
39392
  var odataValue = null;
@@ -39387,7 +39399,7 @@ var modules = {
39387
39399
  gdataColor = gdata.color;
39388
39400
  dataTextColor = gdata.textColor;
39389
39401
  } else {
39390
- gdataValue = gdata !== null && gdata !== void 0 ? gdata : null;
39402
+ gdataValue = interpolation === 'zero' && !gdata ? bdata !== null && bdata !== void 0 ? bdata : 0 : gdata !== null && gdata !== void 0 ? gdata : null;
39391
39403
  }
39392
39404
 
39393
39405
  if (odata !== null && _typeof(odata) === 'object') {
@@ -39944,12 +39956,18 @@ var modules = {
39944
39956
  return result;
39945
39957
  },
39946
39958
 
39959
+ /**
39960
+ * @typedef {Object} LabelInfoResult
39961
+ * @property {number} labelIndex - 선택된 라벨의 인덱스
39962
+ * @property {object} hitInfo - 해당 위치에서의 히트 정보 (getItemByPosition 반환값)
39963
+ */
39964
+
39947
39965
  /**
39948
39966
  * Find label info by position x and y
39949
39967
  * @param {array} offset position x and y
39950
39968
  * @param {string | null} targetAxis target Axis Location ('xAxis', 'yAxis' , null)
39951
39969
  *
39952
- * @returns {object} clicked label information
39970
+ * @returns {LabelInfoResult} clicked label information
39953
39971
  */
39954
39972
  getLabelInfoByPosition: function getLabelInfoByPosition(offset, targetAxis) {
39955
39973
  var _Object$values$sort$, _Object$values$sort$2, _scrollbarOpt, _scale, _scale$labels, _scale3, _scale3$labels;
@@ -40056,11 +40074,14 @@ var modules = {
40056
40074
 
40057
40075
  /**
40058
40076
  * Get current mouse target label value in label array or calculated using mouse position
40077
+ *
40078
+ * @typedef {import('./index').MouseLabelValue} MouseLabelValue
40079
+ *
40059
40080
  * @param {string} targetAxis target Axis Location ('xAxis', 'yAxis')
40060
40081
  * @param {array} offset return value from getMousePosition()
40061
40082
  * @param {number} labelIndex
40062
40083
  *
40063
- * @returns {object} current mouse target label value
40084
+ * @returns {MouseLabelValue} current mouse target label value
40064
40085
  */
40065
40086
  getCurMouseLabelVal: function getCurMouseLabelVal(targetAxis, offset, labelIndex) {
40066
40087
  var _this9 = this;
@@ -41090,6 +41111,57 @@ var defaultsDeep = _baseRest(function(args) {
41090
41111
 
41091
41112
  /* harmony default export */ var lodash_es_defaultsDeep = (defaultsDeep);
41092
41113
 
41114
+ // CONCATENATED MODULE: ./node_modules/lodash-es/isUndefined.js
41115
+ /**
41116
+ * Checks if `value` is `undefined`.
41117
+ *
41118
+ * @static
41119
+ * @since 0.1.0
41120
+ * @memberOf _
41121
+ * @category Lang
41122
+ * @param {*} value The value to check.
41123
+ * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
41124
+ * @example
41125
+ *
41126
+ * _.isUndefined(void 0);
41127
+ * // => true
41128
+ *
41129
+ * _.isUndefined(null);
41130
+ * // => false
41131
+ */
41132
+ function isUndefined(value) {
41133
+ return value === undefined;
41134
+ }
41135
+
41136
+ /* harmony default export */ var lodash_es_isUndefined = (isUndefined);
41137
+
41138
+ // CONCATENATED MODULE: ./node_modules/lodash-es/isNil.js
41139
+ /**
41140
+ * Checks if `value` is `null` or `undefined`.
41141
+ *
41142
+ * @static
41143
+ * @memberOf _
41144
+ * @since 4.0.0
41145
+ * @category Lang
41146
+ * @param {*} value The value to check.
41147
+ * @returns {boolean} Returns `true` if `value` is nullish, else `false`.
41148
+ * @example
41149
+ *
41150
+ * _.isNil(null);
41151
+ * // => true
41152
+ *
41153
+ * _.isNil(void 0);
41154
+ * // => true
41155
+ *
41156
+ * _.isNil(NaN);
41157
+ * // => false
41158
+ */
41159
+ function isNil(value) {
41160
+ return value == null;
41161
+ }
41162
+
41163
+ /* harmony default export */ var lodash_es_isNil = (isNil);
41164
+
41093
41165
  // CONCATENATED MODULE: ./src/components/chart/helpers/helpers.constant.js
41094
41166
  var AXIS_UNITS = {
41095
41167
  x: {
@@ -41137,7 +41209,8 @@ var LINE_OPTION = {
41137
41209
  fill: false,
41138
41210
  fillOpacity: 0.4,
41139
41211
  showLegend: true,
41140
- passingValue: null
41212
+ passingValue: null,
41213
+ interpolation: 'none'
41141
41214
  };
41142
41215
  var BAR_OPTION = {
41143
41216
  show: true,
@@ -41324,13 +41397,13 @@ var TIME_INTERVALS = {
41324
41397
  /* harmony default export */ var helpers_canvas = ({
41325
41398
  /**
41326
41399
  * Calculate X position
41327
- * @param {any} value graph value
41400
+ * @param {number|null|undefined} value graph value
41328
41401
  * @param {number} min min value
41329
41402
  * @param {number} max max value
41330
41403
  * @param {number} area height for axis
41331
41404
  * @param {number} startPoint startPoint
41332
41405
  *
41333
- * @returns {any} position
41406
+ * @returns {number|null} position
41334
41407
  */
41335
41408
  calculateX: function calculateX(value, min, max, area) {
41336
41409
  var startPoint = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
@@ -41370,13 +41443,13 @@ var TIME_INTERVALS = {
41370
41443
 
41371
41444
  /**
41372
41445
  * Calculate Y position
41373
- * @param {any} value graph value
41446
+ * @param {number|null|undefined} value graph value
41374
41447
  * @param {number} min min value
41375
41448
  * @param {number} max max value
41376
41449
  * @param {number} area height for axis
41377
41450
  * @param {number} startPoint startPoint
41378
41451
  *
41379
- * @returns {any} position
41452
+ * @returns {number|null} position
41380
41453
  */
41381
41454
  calculateY: function calculateY(value, min, max, area) {
41382
41455
  var startPoint = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
@@ -41624,7 +41697,6 @@ var TIME_INTERVALS = {
41624
41697
 
41625
41698
 
41626
41699
 
41627
-
41628
41700
  var element_line_Line = /*#__PURE__*/function () {
41629
41701
  function Line(sId, opt, sIdx) {
41630
41702
  var _this = this;
@@ -41661,6 +41733,8 @@ var element_line_Line = /*#__PURE__*/function () {
41661
41733
  lineWidth: 2
41662
41734
  }
41663
41735
  };
41736
+ /** @type {import('../model/index').ChartSeriesDataPoint[]} */
41737
+
41664
41738
  this.data = [];
41665
41739
  this.beforeMouseXp = 0;
41666
41740
  this.beforeMouseYp = 0;
@@ -41668,11 +41742,23 @@ var element_line_Line = /*#__PURE__*/function () {
41668
41742
  this.size = {
41669
41743
  comboOffset: 0
41670
41744
  };
41671
- this.usePassingValue = !!this.passingValue;
41745
+ this.usePassingValue = !lodash_es_isUndefined(this.passingValue) && this.interpolation === 'linear';
41672
41746
  }
41747
+ /**
41748
+ * @typedef {Object} LineDrawParam
41749
+ * @property {CanvasRenderingContext2D} ctx - 캔버스 렌더링 컨텍스트
41750
+ * @property {object} chartRect - 차트 영역 정보
41751
+ * @property {object} labelOffset - 라벨 오프셋 정보
41752
+ * @property {object} axesSteps - 축 스텝 정보
41753
+ * @property {object} [selectLabel] - 선택된 라벨 정보
41754
+ * @property {object} [selectSeries] - 선택된 시리즈 정보
41755
+ * @property {object} [legendHitInfo] - 범례 히트 정보
41756
+ * @property {boolean} [isBrush] - 브러시 사용 여부
41757
+ */
41758
+
41673
41759
  /**
41674
41760
  * Draw series data
41675
- * @param {object} param object for drawing series data
41761
+ * @param {LineDrawParam} param object for drawing series data
41676
41762
  *
41677
41763
  * @returns {undefined}
41678
41764
  */
@@ -41741,8 +41827,6 @@ var element_line_Line = /*#__PURE__*/function () {
41741
41827
  }
41742
41828
 
41743
41829
  var endPoint = chartRect.y2 - labelOffset.bottom;
41744
- var x;
41745
- var y;
41746
41830
  var barAreaByCombo = 0;
41747
41831
  var minmaxX = axesSteps.x[this.xAxisIndex];
41748
41832
  var minmaxY = axesSteps.y[this.yAxisIndex];
@@ -41767,51 +41851,40 @@ var element_line_Line = /*#__PURE__*/function () {
41767
41851
  }; // draw line
41768
41852
 
41769
41853
 
41770
- var needCutoff = false;
41771
- this.data.reduce(function (prev, curr) {
41772
- x = getXPos(curr.x);
41773
- y = getYPos(curr.y);
41854
+ var prevValid;
41855
+ this.data.forEach(function (curr) {
41856
+ var _prevValid, _prevValid2, _prevValid3;
41774
41857
 
41775
- if (x !== null) {
41776
- x += helpers_util.aliasPixel(x);
41777
- }
41858
+ var x = getXPos(curr.x);
41859
+ var y = getYPos(curr.y);
41778
41860
 
41779
- if (_this2.usePassingValue) {
41780
- if (curr.o === _this2.passingValue) {
41781
- y = getYPos(prev.y);
41861
+ if (_this2.isExistGrp && _this2.usePassingValue && curr.o === _this2.passingValue) {
41862
+ var _curr$b;
41782
41863
 
41783
- if (prev.o === null) {
41784
- needCutoff = true;
41785
- }
41864
+ y = getYPos((_curr$b = curr.b) !== null && _curr$b !== void 0 ? _curr$b : 0);
41865
+ }
41786
41866
 
41787
- if (_this2.isExistGrp && !needCutoff) {
41788
- var _curr$b;
41867
+ if (x !== null) {
41868
+ x += helpers_util.aliasPixel(x);
41869
+ }
41789
41870
 
41790
- y = getYPos((_curr$b = curr.b) !== null && _curr$b !== void 0 ? _curr$b : 0);
41791
- ctx.lineTo(x, y);
41792
- }
41871
+ curr.xp = x;
41872
+ curr.yp = y;
41793
41873
 
41794
- curr.xp = x;
41795
- curr.yp = y;
41796
- return curr;
41874
+ if (_this2.usePassingValue && curr.o === _this2.passingValue) {
41875
+ if (!_this2.isExistGrp) {
41876
+ return;
41797
41877
  }
41798
41878
  }
41799
41879
 
41800
- var isNullValue = helpers_util.isNullOrUndefined(prev.o) || helpers_util.isNullOrUndefined(curr.o) || helpers_util.isNullOrUndefined(curr.x) || helpers_util.isNullOrUndefined(curr.y);
41801
-
41802
- if (isNullValue || needCutoff) {
41880
+ if (lodash_es_isNil((_prevValid = prevValid) === null || _prevValid === void 0 ? void 0 : _prevValid.y) && _this2.usePassingValue && _this2.passingValue !== ((_prevValid2 = prevValid) === null || _prevValid2 === void 0 ? void 0 : _prevValid2.o) || !_this2.usePassingValue && lodash_es_isNil(curr.o) && _this2.interpolation !== 'zero' || !_this2.usePassingValue && lodash_es_isNil((_prevValid3 = prevValid) === null || _prevValid3 === void 0 ? void 0 : _prevValid3.y) || lodash_es_isNil(curr.o) && curr.y == null && _this2.passingValue !== curr.o) {
41803
41881
  ctx.moveTo(x, y);
41804
- needCutoff = false;
41805
41882
  } else {
41806
41883
  ctx.lineTo(x, y);
41807
41884
  }
41808
41885
 
41809
- curr.xp = x; // eslint-disable-line
41810
-
41811
- curr.yp = y; // eslint-disable-line
41812
-
41813
- return curr;
41814
- }, this.data[0]);
41886
+ prevValid = curr;
41887
+ });
41815
41888
  ctx.stroke();
41816
41889
 
41817
41890
  if (this.segments) {
@@ -41851,20 +41924,24 @@ var element_line_Line = /*#__PURE__*/function () {
41851
41924
  var valueArray = this.data.map(function (item) {
41852
41925
  return item === null || item === void 0 ? void 0 : item.o;
41853
41926
  });
41927
+ /** @type {Array<[number, number]>} */
41928
+
41854
41929
  var needFillDataIndexList = [];
41855
41930
 
41856
41931
  for (var i = 0; i < valueArray.length + 1; i++) {
41857
- if (helpers_util.isNullOrUndefined(valueArray[i])) {
41932
+ var isNoneInterpolation = this.interpolation === 'none' || this.usePassingValue && this.passingValue !== null;
41933
+
41934
+ if (isNoneInterpolation ? lodash_es_isNil(valueArray[i]) : lodash_es_isUndefined(valueArray[i])) {
41858
41935
  if (start !== null && end !== null) {
41859
41936
  var temp = valueArray.slice(start, i);
41860
41937
  var lastNormalValueIndex = temp.findLastIndex(function (item) {
41861
- return item !== helpers_util.isNullOrUndefined(item) && item !== _this2.passingValue;
41938
+ return !lodash_es_isNil(item) && item !== _this2.passingValue;
41862
41939
  });
41863
41940
  needFillDataIndexList.push([start, start + lastNormalValueIndex]);
41864
41941
  start = null;
41865
41942
  end = null;
41866
41943
  }
41867
- } else if (valueArray[i] === this.passingValue) {
41944
+ } else if (this.usePassingValue && valueArray[i] === this.passingValue) {
41868
41945
  end = i;
41869
41946
  } else {
41870
41947
  start = start === null ? i : start;
@@ -41894,7 +41971,7 @@ var element_line_Line = /*#__PURE__*/function () {
41894
41971
 
41895
41972
  if (ix === startIndex) {
41896
41973
  ctx.moveTo(currData.xp, currData.yp);
41897
- } else if (_this2.isExistGrp || _this2.passingValue !== currData.o) {
41974
+ } else if (_this2.isExistGrp || _this2.passingValue !== currData.o || _this2.interpolation === 'zero' && lodash_es_isNil(currData.o)) {
41898
41975
  ctx.lineTo(currData.xp, currData.yp);
41899
41976
  }
41900
41977
 
@@ -41927,7 +42004,7 @@ var element_line_Line = /*#__PURE__*/function () {
41927
42004
  return;
41928
42005
  }
41929
42006
 
41930
- 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);
42007
+ var isSingle = _this2.interpolation === 'none' && 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);
41931
42008
  var isSelectedLabel = selectedLabelIndexList.includes(ix);
41932
42009
 
41933
42010
  if (_this2.point || isSingle || isSelectedLabel) {
@@ -44751,6 +44828,47 @@ var model_series_modules = {
44751
44828
  Store: model_store,
44752
44829
  Series: model_series
44753
44830
  });
44831
+ /**
44832
+ * @typedef {Object} ChartDOMSize
44833
+ * @property {number} width - 차트 DOM의 너비
44834
+ * @property {number} height - 차트 DOM의 높이
44835
+ */
44836
+
44837
+ /**
44838
+ * @typedef {Object} ChartRect
44839
+ * @property {number} x1 - 차트 영역의 시작 X 좌표
44840
+ * @property {number} x2 - 차트 영역의 끝 X 좌표
44841
+ * @property {number} y1 - 차트 영역의 시작 Y 좌표
44842
+ * @property {number} y2 - 차트 영역의 끝 Y 좌표
44843
+ * @property {number} chartWidth - 실제 차트 그리기 영역의 너비
44844
+ * @property {number} chartHeight - 실제 차트 그리기 영역의 높이
44845
+ * @property {number} width - 전체 차트 컨테이너의 너비
44846
+ * @property {number} height - 전체 차트 컨테이너의 높이
44847
+ */
44848
+
44849
+ /**
44850
+ * @typedef {Object} MouseLabelValue
44851
+ * @property {string|number} labelVal - 마우스 위치에 해당하는 라벨 값
44852
+ * @property {number} labelIdx - 라벨 인덱스 (없으면 -1)
44853
+ */
44854
+
44855
+ /**
44856
+ * @typedef {Object} ChartSeriesDataPoint
44857
+ * @property {number|null} x - x축 값 또는 라벨
44858
+ * @property {number|null} y - y축 값 또는 데이터 값
44859
+ * @property {number|null} o - 원본 데이터 값
44860
+ * @property {number|null} b - 스택형 차트의 베이스 값
44861
+ * @property {number|null} xp - x좌표 위치(픽셀 등)
44862
+ * @property {number|null} yp - y좌표 위치(픽셀 등)
44863
+ * @property {number|null} w - 너비
44864
+ * @property {number|null} h - 높이
44865
+ * @property {string|null} dataColor - 데이터 색상
44866
+ * @property {string|null} dataTextColor - 텍스트 색상
44867
+ */
44868
+
44869
+ /**
44870
+ * @typedef {'none' | 'linear' | 'zero'} InterpolationType
44871
+ */
44754
44872
  // CONCATENATED MODULE: ./src/components/chart/scale/scale.js
44755
44873
 
44756
44874
 
@@ -51237,7 +51355,7 @@ var plugins_interaction_modules = {
51237
51355
  if (item !== null && item !== void 0 && item.data) {
51238
51356
  var gdata = void 0;
51239
51357
 
51240
- if (item.data.o === null) {
51358
+ if (item.data.o === null && series.interpolation !== 'zero') {
51241
51359
  if (!series.isExistGrp) {
51242
51360
  gdata = isHorizontal ? item.data.x : item.data.y;
51243
51361
  }
@@ -54544,8 +54662,9 @@ var chart_core_EvChart = /*#__PURE__*/function () {
54544
54662
  }
54545
54663
  /**
54546
54664
  * Get chart DOM size and set canvas size
54665
+ * @typedef {import('./model/index').ChartDOMSize} ChartDOMSize
54547
54666
  *
54548
- * @returns {object} chart size information
54667
+ * @returns {ChartDOMSize} chart size information
54549
54668
  */
54550
54669
 
54551
54670
  }, {
@@ -54565,8 +54684,9 @@ var chart_core_EvChart = /*#__PURE__*/function () {
54565
54684
  }
54566
54685
  /**
54567
54686
  * Calculate chart size
54687
+ * @typedef {import('./model/index').ChartRect} ChartRect
54568
54688
  *
54569
- * @returns {object} chart size information
54689
+ * @returns {ChartRect} chart size information
54570
54690
  */
54571
54691
 
54572
54692
  }, {