add tooltip for line