Skip to content

Commit

Permalink
Merge pull request #12 from ValtechMobility/dlcm/map_plugin_frontend_…
Browse files Browse the repository at this point in the history
…improvements

fix popup
  • Loading branch information
philipher29 authored Jul 5, 2023
2 parents 90329cd + 7cad9f2 commit f58e869
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,8 @@ export default function PluginCountryMapPieChart(
div
.html(`${ d.data.pie_detail }: ${ d.data['SUM(count_vin)'] }`)
.style('opacity', 1)
.style('left', `${ d3.event.pageX - x}px`)
.style('top', `${ d3.event.pageY - y - 130}px`);
.style('left', `${ d3.event.pageX - x + 5}px`)
.style('top', `${ d3.event.pageY - y - 5}px`);
})
.on('mouseout', function () {
div.html('').style('opacity', 0);
Expand Down

0 comments on commit f58e869

Please sign in to comment.