diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-28 22:12:44 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-28 22:14:14 +0000 |
commit | 67f6bad5295aa76e710913dda94c37790a2fa7a7 (patch) | |
tree | 68f609b50b10ffb665ac83d7e3dad18f861864c5 | |
parent | 6d1366214863065674676dd16354e9fff54408e8 (diff) | |
download | poky-67f6bad5295aa76e710913dda94c37790a2fa7a7.tar.gz |
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 <richard.purdie@linuxfoundation.org>
-rw-r--r-- | scripts/lib/build_perf/html/measurement_chart.html | 4 |
1 files 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 @@ | |||
40 | trigger: 'axis', | 40 | trigger: 'axis', |
41 | enterable: true, | 41 | enterable: true, |
42 | position: function (point, params, dom, rect, size) { | 42 | position: function (point, params, dom, rect, size) { |
43 | return [point[0]+20, '10%']; | 43 | return [point[0], '0%']; |
44 | }, | 44 | }, |
45 | formatter: function (param) { | 45 | formatter: function (param) { |
46 | const value = param[0].value[1] | 46 | const value = param[0].value[1] |
@@ -93,7 +93,7 @@ | |||
93 | trigger: 'axis', | 93 | trigger: 'axis', |
94 | enterable: true, | 94 | enterable: true, |
95 | position: function (point, params, dom, rect, size) { | 95 | position: function (point, params, dom, rect, size) { |
96 | return [point[0]+20, '10%']; | 96 | return [point[0], '0%']; |
97 | }, | 97 | }, |
98 | formatter: function (param) { | 98 | formatter: function (param) { |
99 | const value = param[0].value | 99 | const value = param[0].value |