From b25e40f7315a507bca04d1e96200317c04c68ee3 Mon Sep 17 00:00:00 2001 From: Ovilia Date: Thu, 24 Oct 2024 15:44:49 +0800 Subject: [PATCH] fix(lineRange): use disableTooltip apache/echarts#20447 --- custom-series/lineRange/src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom-series/lineRange/src/index.ts b/custom-series/lineRange/src/index.ts index ab9eae0..65ebbba 100644 --- a/custom-series/lineRange/src/index.ts +++ b/custom-series/lineRange/src/index.ts @@ -102,7 +102,7 @@ const renderItem = ( shadowOffsetX: areaStyle.shadowOffsetX, shadowOffsetY: areaStyle.shadowOffsetY, }, - silent: true, + disableTooltip: true, } as Polygon); } @@ -128,7 +128,7 @@ const renderItem = ( pathData: pathDataStart, }, style: polylineStyle, - silent: true, + disableTooltip: true, } as Polyline); group.children.push({ type: 'path', @@ -136,7 +136,7 @@ const renderItem = ( pathData: pathDataEnd, }, style: polylineStyle, - silent: true, + disableTooltip: true, } as Polyline); } return group;