add proper labels on top of graph on hover