From c6a7ae385379b3993ed22839ede9089c4a01e15d Mon Sep 17 00:00:00 2001 From: wisonic Date: Tue, 22 Oct 2024 16:17:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E5=88=86=E7=BB=84?= =?UTF-8?q?=E6=9F=B1=E7=8A=B6=E5=9B=BE=E6=97=A5=E6=9C=9F=E5=AD=90=E7=BB=B4?= =?UTF-8?q?=E5=BA=A6=E6=8E=92=E5=BA=8F=E6=97=A0=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/js/panel/charts/bar/bar.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/bar/bar.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/bar/bar.ts index 691da4991e..bfa692942c 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/bar/bar.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/bar/bar.ts @@ -488,7 +488,12 @@ export class GroupBar extends StackBar { this.baseOptions = { ...this.baseOptions, isGroup: true, - isStack: false + isStack: false, + meta: { + category: { + type: 'cat' + } + } } this.axis = [...BAR_AXIS_TYPE, 'xAxisExt'] }