From 549f49a6f9d2feafbba8f9fc66cc87aa5c0a5d38 Mon Sep 17 00:00:00 2001 From: visiky <736929286@qq.com> Date: Wed, 19 May 2021 22:03:04 +0800 Subject: [PATCH] =?UTF-8?q?fix(issue-2502):=20=E4=BF=AE=E5=A4=8D=E5=AF=B9?= =?UTF-8?q?=E7=A7=B0=E6=9D=A1=E5=BD=A2=E5=9B=BE=20axis=20=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plots/bidirectional-bar/adaptor.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/plots/bidirectional-bar/adaptor.ts b/src/plots/bidirectional-bar/adaptor.ts index 10d9f04732..ae4152718b 100644 --- a/src/plots/bidirectional-bar/adaptor.ts +++ b/src/plots/bidirectional-bar/adaptor.ts @@ -168,8 +168,14 @@ function axis(params: Params): Params '' } }); + } else { + secondView.axis(xField, false); + } // 为 false 则是不显示 firstView 轴 if (xAxis === false) {