commit bar and graphic function

commit bar and graphic function