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.common.js +6 -3
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +6 -3
- package/dist/evui.umd.js.map +1 -1
- package/dist/evui.umd.min.js +1 -1
- package/dist/evui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/chart/plugins/plugins.interaction.js +6 -2
package/package.json
CHANGED
|
@@ -97,7 +97,7 @@ const modules = {
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
// tooltip 기반 indicator가 아직 설정되지 않은 경우에만 일반 indicator 처리
|
|
100
|
-
if (!args.hoveredLabel &&
|
|
100
|
+
if (!args.hoveredLabel && !this.isNotUseIndicator()) {
|
|
101
101
|
// line 차트가 아니고 line series가 없거나, tooltip이 없을 때는 일반 indicator 표시
|
|
102
102
|
const hasLineSeries = Object.values(this.seriesList || {}).some(series => series.type === 'line');
|
|
103
103
|
if ((type !== 'line' && !hasLineSeries) || !tooltip.use || !Object.keys(hitInfo.items).length) {
|
|
@@ -906,7 +906,7 @@ const modules = {
|
|
|
906
906
|
// 1. 먼저 공통으로 사용할 데이터 인덱스 결정
|
|
907
907
|
const targetDataIndex = this.findClosestDataIndex(offset, sIds);
|
|
908
908
|
|
|
909
|
-
if (targetDataIndex === -1 && this.
|
|
909
|
+
if (targetDataIndex === -1 && !this.isNotUseIndicator()) {
|
|
910
910
|
return { items, hitId, maxTip: [maxs, maxv], maxHighlight: null };
|
|
911
911
|
}
|
|
912
912
|
|
|
@@ -1637,6 +1637,10 @@ const modules = {
|
|
|
1637
1637
|
return 'canvas';
|
|
1638
1638
|
},
|
|
1639
1639
|
|
|
1640
|
+
isNotUseIndicator() {
|
|
1641
|
+
return this.options.type === 'pie' || this.options.type === 'scatter' || this.options.type === 'heatMap';
|
|
1642
|
+
},
|
|
1643
|
+
|
|
1640
1644
|
/**
|
|
1641
1645
|
* Clear 'defaultSelectInfo'
|
|
1642
1646
|
*/
|