From: Richard Purdie Date: Fri, 28 Mar 2025 22:12:44 +0000 (+0000) Subject: buildperf: Tweak tooltip positioning for usability X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a090076e42eb9b41da55fc01ccbbb68f9b8a8cb8;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Richard Purdie --- 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