Fixed graph display to show correct data