From 67f6bad5295aa76e710913dda94c37790a2fa7a7 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 28 Mar 2025 22:12:44 +0000 Subject: [PATCH] buildperf: Tweak tooltip positioning for usability The tooltop contains a key hyperlink to make the graphs usable. Make it easier to click on the link by removing the space between the data point and the tooltip. (From OE-Core rev: a090076e42eb9b41da55fc01ccbbb68f9b8a8cb8) Signed-off-by: Richard Purdie --- scripts/lib/build_perf/html/measurement_chart.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lib/build_perf/html/measurement_chart.html b/scripts/lib/build_perf/html/measurement_chart.html index 5e4f4be336..86435273cf 100644 --- a/scripts/lib/build_perf/html/measurement_chart.html +++ b/scripts/lib/build_perf/html/measurement_chart.html @@ -40,7 +40,7 @@ trigger: 'axis', enterable: true, position: function (point, params, dom, rect, size) { - return [point[0]+20, '10%']; + return [point[0], '0%']; }, formatter: function (param) { const value = param[0].value[1] @@ -93,7 +93,7 @@ trigger: 'axis', enterable: true, position: function (point, params, dom, rect, size) { - return [point[0]+20, '10%']; + return [point[0], '0%']; }, formatter: function (param) { const value = param[0].value