have to refresh x axis