Fix chart line selection