Fixes wrong y axis values for tooltips.

Closes issue #1805. 

The bug was introduced with the changes to events pull request. The wrong index value for the selected item on mouseover was being used to find the y axis value. It was always returning the 0th index value. This pull request fixes the issue by returning the correct indexed value for the element selected in the chart.