Select the chart axis. Click the Layout tab under Chart Tools. Click Axis to change the formatting and layout of axis. Click Gridlines to show or hide major or minor gridlines.