fix tooltip for chart