diff --git a/src/main/webapp/common/js/hippo/chart-springy.js b/src/main/webapp/common/js/hippo/chart-springy.js index dcae85a94..bfd76ecc8 100644 --- a/src/main/webapp/common/js/hippo/chart-springy.js +++ b/src/main/webapp/common/js/hippo/chart-springy.js @@ -24,15 +24,19 @@ function drawSpringy(graphdata, targetId, width, height) { for(var i=0; i 0) { + var htOffset = $(targetId).offset(); + $('#ServerBox').tmpl(this.data).css({'top':e.pageY - htOffset.top, 'left':e.pageX - htOffset.left}).appendTo(targetId); + } } }); } diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html index 51261ee6d..0c78c4c2f 100644 --- a/src/main/webapp/index.html +++ b/src/main/webapp/index.html @@ -548,5 +548,19 @@ $(document).ready(function () { + \ No newline at end of file