fix tooltip for histogram by using event x and y