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)