From 6f8703e889140c3c852cb2db7656c29497d29d05 Mon Sep 17 00:00:00 2001 From: wisonic Date: Fri, 25 Oct 2024 18:12:28 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E5=9B=BE=E8=A1=A8):=20=E6=89=A9?= =?UTF-8?q?=E5=A4=A7=E7=80=91=E5=B8=83=E5=9B=BE=E7=9A=84=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E8=A7=A6=E5=8F=91=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chart/components/js/panel/charts/bar/waterfall.ts | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/bar/waterfall.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/bar/waterfall.ts index d1dfaef39a..608aece2af 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/bar/waterfall.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/bar/waterfall.ts @@ -86,16 +86,7 @@ export class Waterfall extends G2PlotChartView { xField: 'field', yField: 'value', seriesField: 'category', - appendPadding: getPadding(chart), - interactions: [ - { - type: 'tooltip', - cfg: { - start: [{ trigger: 'interval:mousemove', action: 'tooltip:show' }], - end: [{ trigger: 'interval:mouseleave', action: 'tooltip:hide' }] - } - } - ] + appendPadding: getPadding(chart) } const options = this.setupOptions(chart, baseOptions) const { Waterfall: G2Waterfall } = await import('@antv/g2plot/esm/plots/waterfall')