add option to disable the graph grid