From 03a14e3f405c379a7afdacd1cd8641ebd04311f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=B6=E6=99=B6=20=E5=BC=A0?= Date: Mon, 16 Aug 2021 18:08:38 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=20=E6=B7=BB=E5=8A=A0=E9=BC=A0?= =?UTF-8?q?=E6=A0=87=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/charts/chart-options.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/components/charts/chart-options.js b/src/components/charts/chart-options.js index 6367f311..3b12feef 100644 --- a/src/components/charts/chart-options.js +++ b/src/components/charts/chart-options.js @@ -232,7 +232,15 @@ const pieWithTable = { } const singleValueLine = { tooltip: { - show: false + show: true, + enterable: true, + showContent: true, + appendToBody: true, + trigger: 'axis', + textStyle: { + width: '20px', + overflow: 'truncate' + } }, xAxis: { type: 'time',