work on graph display