From c341252195ecd63899e2ceb6679df9f5b8b3faa0 Mon Sep 17 00:00:00 2001 From: qsj <731458905@qq.com> Date: Mon, 18 Mar 2024 09:20:56 +0800 Subject: [PATCH] =?UTF-8?q?echarts=E5=9B=BE=E8=A1=A8=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Echart_face/index.tsx | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/moduleIOT/pages/iotCarePlan/components/Echart_face/index.tsx b/src/moduleIOT/pages/iotCarePlan/components/Echart_face/index.tsx index 1147913..95b65ef 100644 --- a/src/moduleIOT/pages/iotCarePlan/components/Echart_face/index.tsx +++ b/src/moduleIOT/pages/iotCarePlan/components/Echart_face/index.tsx @@ -79,8 +79,8 @@ const seriesData = [ const option: EChartOption ={ grid: { // 让图表占满容器 - top: "0rpx", - left: "28rpx", + top: "10rpx", + left: "35rpx", right: "28rpx", bottom: "17rpx", }, @@ -353,7 +353,16 @@ const seriesData = [ let arr =[2,3,4,5,6,7] return ( - + + + {/* - + */}