mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-05 05:04:44 +02:00
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>
This commit is contained in:
parent
6d13662148
commit
67f6bad529
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user