Creating Line Graphs
If line graphs are what you need, you can create them in the same way as bar graphs. Line graphs do not have as many chart options because there are no bars to space or put shadows under. However, they have the same Axis options as bar graphs, so let’s create a line graph and use it to learn about that part of the Chart inspector.
- Start a new page layout document.
- Click the Charts button on the toolbar.
Click the Line Graph option.
- A line graph will appear with sample data. You use the same Chart Data Editor to change the values as you did with a bar graph.
- Bring up the Inspector window.
- Go to the Chart inspector.
- Click Axis.
We’ll start by setting some options for the Y axis. These are the same for the X axis.
- The pull-down menu provides a series of options you can select to turn on or off. You can decide whether elements such as a line for the axis, a line all the way around the chart, or the title, are shown at all.
- You can choose whether values are shown on the Y axis.
- You can also add tick marks. This set of items allows you to choose one of four options: no tick marks, inside tick marks, centered tick marks, and outside tick marks. Try each one to see how it looks with your particular graph.
You can also turn on or off gridlines in your graph.
- You can set the number of steps in the Y axis. For instance, when Steps was set to 4, the Y axis had four steps: 25, 50, 75, 100. Now that Steps is set to 5, the steps are 20, 40, 60, 80, and 100.
- You can change the format of the numbers (for instance, choosing currency instead of plain numbers).
- You can specify the number of decimal places shown.
You can choose how negative numbers are represented, with either a minus sign or in parentheses.
- Switch to the Series section of the Chart inspector.
- You can choose a different symbol for each point.
- You can switch to a curve rather than a straight line between points.
- Turn on Value Labels to have each point labeled with its value.