fix tooltip in graphs