From 147ddf9861fcabd06b7420de2dfd19554881e932 Mon Sep 17 00:00:00 2001 From: ngfchl Date: Wed, 7 Dec 2022 15:53:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=98=BE=E7=A4=BA=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/auto_pt/status.html | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/templates/auto_pt/status.html b/templates/auto_pt/status.html index dfd70dd..e53f6b3 100644 --- a/templates/auto_pt/status.html +++ b/templates/auto_pt/status.html @@ -594,22 +594,21 @@ params.forEach((param, index) => { let temp = param.value == 0 ? '' : `
- - ${param.seriesName}: ${renderSize(param.value)} + ${param.seriesName}: + ${renderSize(param.value)}
` text += temp }) - return `
${text}
` }, - //position: function (point, params, dom, rect, size) { - // return [point[1], 0] - //}, - + position: function (point, params, dom, rect, size) { + console.log(point) + return [point[1], 8] + }, order: 'valueDesc', confine: false, - extraCssText: 'box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);z-index: 9999;', // 附加阴影样式 + extraCssText: 'box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);', // 附加阴影样式 }, legend: { show: false,