add info box that shows hovered data point