From 4e98fd9ece8b2de1bfd68170d11c25253c534c39 Mon Sep 17 00:00:00 2001 From: junjun Date: Mon, 22 Aug 2022 10:30:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A7=86=E5=9B=BE):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=80=91=E5=B8=83=E5=9B=BE=E7=BB=B4=E5=BA=A6=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E4=B8=BA=E6=97=B6=E9=97=B4=E6=A0=BC=E5=BC=8F=E6=97=B6=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=90=88=E8=AE=A1=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/chart/waterfall/waterfall.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/chart/chart/waterfall/waterfall.js b/frontend/src/views/chart/chart/waterfall/waterfall.js index 50fc18db85..ee20f50307 100644 --- a/frontend/src/views/chart/chart/waterfall/waterfall.js +++ b/frontend/src/views/chart/chart/waterfall/waterfall.js @@ -106,7 +106,11 @@ export function baseWaterfallOptionAntV(plot, container, chart, action) { } function getMeta(chart) { - const meta = {} + const meta = { + field: { + type: 'cat' + } + } const yaxis = JSON.parse(chart.yaxis) if (yaxis && yaxis.length > 0) { const f = yaxis[0]