templates/assets/js/chart.js
function (obj) {
            var curleft = 0, curtop = 0;
            if (obj.offsetParent) {
                do {
                    curleft += obj.offsetLeft;
                    curtop += obj.offsetTop;
                } while (obj = obj.offsetParent);
                return {x: curleft, y: curtop};
            }
        }
function (obj) {
            var curleft = 0, curtop = 0;
            if (obj.offsetParent) {
                do {
                    curleft += obj.offsetLeft;
                    curtop += obj.offsetTop;
                } while (obj = obj.offsetParent);
                return {x: curleft, y: curtop};
            }
        }
function ( obj ) { var curleft = 0 , curtop = 0 ; if ( obj . offsetParent ) { do { curleft += obj . offsetLeft ; curtop += obj . offsetTop ; } while ( obj = obj . offsetParent ) ; return { x : curleft , y : curtop } ; } }
Finding mouse position on chart
Finding mouse position on chart