fix tooltip for line chart