Mercurial > gemma
changeset 3410:e5bc8f4924cb
afd: tooltips
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Thu, 23 May 2019 15:24:28 +0200 |
parents | c0f5f62343c9 |
children | f2e8f8beb913 |
files | client/src/components/fairway/AvailableFairwayDepth.vue |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/fairway/AvailableFairwayDepth.vue Thu May 23 14:47:33 2019 +0200 +++ b/client/src/components/fairway/AvailableFairwayDepth.vue Thu May 23 15:24:28 2019 +0200 @@ -530,7 +530,7 @@ const value = Number.parseFloat(hoursInDays(d.ldc)).toFixed(2); d3.select("#tooltip") .text(value) - .attr("y", y - 40) + .attr("y", y - 50) .attr("x", d3.event.pageX - dy); //d3.event.pageX gives coordinates relative to SVG //dy gives offset of svg on page @@ -564,7 +564,7 @@ ); d3.select("#tooltip") .text(value) - .attr("y", y - 40) + .attr("y", y - 50) .attr("x", d3.event.pageX - dy); //d3.event.pageX gives coordinates relative to SVG //dy gives offset of svg on page