improve graph display