From fb89f71e5f56f9e02853c206154093af9b701511 Mon Sep 17 00:00:00 2001 From: liuying <1427574514@qq.com> Date: 周三, 30 10月 2024 13:30:33 +0800 Subject: [PATCH] 大屏整改 --- yiqi_screen/src/components/ProdlineHealthy.vue | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/yiqi_screen/src/components/ProdlineHealthy.vue b/yiqi_screen/src/components/ProdlineHealthy.vue index 582367b..5459b18 100644 --- a/yiqi_screen/src/components/ProdlineHealthy.vue +++ b/yiqi_screen/src/components/ProdlineHealthy.vue @@ -17,11 +17,12 @@ this.option = { legend: { orient: "vertical", - bottom: '10%', + bottom: '30%', right: '6%', textStyle:{ color:'#fff' }, + itemHeight: 5, // 璁剧疆鍥句緥椤圭殑楂樺害 itemWidth: 5, // 璁剧疆鍥句緥椤圭殑瀹藉害 data: [ { @@ -40,8 +41,10 @@ ], }, radar: { - center:['43%','55%'], - radius:'65%', + // center:['43%','55%'], + center: ["33%", "50%"], + // radius:'65%', + radius:'30%', indicator: [ { name: "浜�", max: 100, color: "#fff" }, { name: "鐜�", max: 100, color: "#fff" }, @@ -164,4 +167,10 @@ </script> <style> + #echarts2 { + width: 2.89rem; + height: 2.6rem; + transform: scaleY(2); + /* border: 1px solid red; */ + } </style> \ No newline at end of file -- Gitblit v1.9.3