handle mouse leave event on bar graph