adding hover-over legend details