From febd5aeecbea2e09b7a9fc8884d214c7cb7e1739 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=94=E8=B7=91=E7=9A=84=E9=9D=A2=E6=9D=A1?= <1262327911@qq.com> Date: Mon, 28 Mar 2022 20:25:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9br=E6=A0=87=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../echart/bottom/bottomRightChart/chart.vue | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/components/echart/bottom/bottomRightChart/chart.vue b/src/components/echart/bottom/bottomRightChart/chart.vue index 317cf90..fca83e4 100644 --- a/src/components/echart/bottom/bottomRightChart/chart.vue +++ b/src/components/echart/bottom/bottomRightChart/chart.vue @@ -17,6 +17,21 @@ export default { options: {}, // 定义颜色 colorList: { + title: { + text: "", + textStyle: { + color: "#D3D6DD", + fontSize: 24, + fontWeight: "normal" + }, + subtext: newData.year + "/" + newData.weekCategory[6], + subtextStyle: { + color: "#fff", + fontSize: 16 + }, + top: 50, + left: 80 + }, linearYtoG: { type: "linear", x: 0,