Redraw x labels when changing line