buttons for graph control