From 21ddc9ec1b1b76d2ce20e512328e65acaf1af2bf Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期一, 16 一月 2023 10:35:15 +0800 Subject: [PATCH] 廊坊代码更新 --- src/components/echart16.vue | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/components/echart16.vue b/src/components/echart16.vue index f9838f9..10975ad 100644 --- a/src/components/echart16.vue +++ b/src/components/echart16.vue @@ -24,6 +24,7 @@ let option = { title: { text: '鏁版嵁鎬婚噺瓒嬪娍', + top:15, textStyle: { color: '#fff', }, @@ -38,7 +39,12 @@ }, }, legend: { + right:0, + top:30, data: ['澧為噺', '鎬婚噺'], + textStyle: { + color: '#fff', + }, }, toolbox: { feature: { @@ -135,11 +141,12 @@ <style lang="less" scoped> //@import url(); 寮曞叆鍏叡css绫� .echart4_box { - padding: 20px; - // background: rgba(0, 0, 0, 0.6); -} -#echart4 { + padding: 20px; width: 100%; height: 100%; } +#echart4 { + width: calc(100% - 40px); + height: calc(100% - 40px); +} </style> -- Gitblit v1.9.3