From e1b3d2632e49d1806e7c1776b3af6fd41dc794f8 Mon Sep 17 00:00:00 2001 From: wisonic-s Date: Wed, 3 Jul 2024 10:50:08 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E6=BC=8F=E6=96=97?= =?UTF-8?q?=E5=9B=BE=E6=97=B6=E9=97=B4=E7=BB=B4=E5=BA=A6=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chart/components/js/panel/charts/others/funnel.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/others/funnel.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/others/funnel.ts index 7ab8895c06..48060932aa 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/others/funnel.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/others/funnel.ts @@ -96,7 +96,12 @@ export class Funnel extends G2PlotChartView { end: [{ trigger: 'interval:mouseleave', action: 'tooltip:hide' }] } } - ] + ], + meta: { + field: { + type: 'cat' + } + } } const options = this.setupOptions(chart, baseOptions) const newChart = new G2Funnel(container, options)