From 34080fce8b9b80a767bfc743ef8eb626c801d5bd Mon Sep 17 00:00:00 2001 From: Lei OT Date: Fri, 27 Oct 2023 14:17:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=A6=96=E9=A1=B5:=20=E8=B5=B0=E5=8A=BF?= =?UTF-8?q?=E4=B8=A4=E4=B8=AAY=E8=BD=B4=E4=B8=8D=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/MixTBWithKPI.jsx | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/components/MixTBWithKPI.jsx b/src/components/MixTBWithKPI.jsx index 5fd1eef..37dce81 100644 --- a/src/components/MixTBWithKPI.jsx +++ b/src/components/MixTBWithKPI.jsx @@ -51,7 +51,13 @@ export default observer((props) => { shape: 'cicle', }, xAxis: false, - yAxis: false, + yAxis: { + line: null, + grid: null, + label: false, + position: 'left', + min: 0, + }, meta: { [yField]: { sync: true, @@ -98,6 +104,13 @@ export default observer((props) => { yField, seriesField, xAxis: false, + yAxis: { + // line: null, + // grid: null, + // label: false, + position: 'left', + min: 0, + }, meta: merge( { ...cloneDeep(dataFieldAlias),