To show and hide an Excel worksheet's gridlines, check or uncheck the "Gridlines" checkbox in the Show group of the View tab ...
Then, scroll through the options to add tabs, groups, and commands to your ribbon ... to select the different parts by clicking them on the chart itself, and Excel will automatically launch ...