If you have not already done so, insert a chart by selecting it from the Insert menu, or double-click an existing chart to access the chart's configuration panel.
Click the Data tab.
If necessary, add the pen(s) to the chart. There are two ways to add pens (choose one):
Click the pen you want to configure and select the Grid tab. You can configure the same options for either the Horizontal Grid or the Vertical Grid.
Select the Show check box to show the (vertical or horizontal) grid.
Select the Draw Lines at Major Ticks check box if you want a line at each major tick mark.
Select the Draw Lines at Minor Ticks check box if you want a line at each minor tick mark.
If you do not want lines drawn at major nor minor tick marks, make sure the check boxes for these options are cleared and enter the number of lines in the Number of Lines box.
To change the color of the grid, click the Grid Color button and select from the color palette.
To change the style of the grid lines, select an option from the Grid Style list box.