evui 3.4.206 → 3.4.207

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
@@ -11200,7 +11200,7 @@ $({ target: 'Number', stat: true }, {
11200
11200
  /***/ "9224":
11201
11201
  /***/ (function(module) {
11202
11202
 
11203
- module.exports = JSON.parse("{\"a\":\"3.4.206\"}");
11203
+ module.exports = JSON.parse("{\"a\":\"3.4.207\"}");
11204
11204
 
11205
11205
  /***/ }),
11206
11206
 
@@ -51479,7 +51479,7 @@ var plugins_interaction_modules = {
51479
51479
  } // tooltip 기반 indicator가 아직 설정되지 않은 경우에만 일반 indicator 처리
51480
51480
 
51481
51481
 
51482
- if (!args.hoveredLabel && type !== 'pie' && type !== 'scatter' && type !== 'heatMap') {
51482
+ if (!args.hoveredLabel && !_this.isNotUseIndicator()) {
51483
51483
  // line 차트가 아니고 line series가 없거나, tooltip이 없을 때는 일반 indicator 표시
51484
51484
  var _hasLineSeries = Object.values(_this.seriesList || {}).some(function (series) {
51485
51485
  return series.type === 'line';
@@ -52376,7 +52376,7 @@ var plugins_interaction_modules = {
52376
52376
 
52377
52377
  var targetDataIndex = this.findClosestDataIndex(offset, sIds);
52378
52378
 
52379
- if (targetDataIndex === -1 && this.options.type !== 'pie') {
52379
+ if (targetDataIndex === -1 && !this.isNotUseIndicator()) {
52380
52380
  return {
52381
52381
  items: items,
52382
52382
  hitId: hitId,
@@ -53173,6 +53173,9 @@ var plugins_interaction_modules = {
53173
53173
 
53174
53174
  return 'canvas';
53175
53175
  },
53176
+ isNotUseIndicator: function isNotUseIndicator() {
53177
+ return this.options.type === 'pie' || this.options.type === 'scatter' || this.options.type === 'heatMap';
53178
+ },
53176
53179
 
53177
53180
  /**
53178
53181
  * Clear 'defaultSelectInfo'