fix tooltip for line charts