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,