Handle hover event over curves.