Section 9.1. Charting 101


9.1. Charting 101

Excel provides a dizzying number of different chart types, but they all share a few things. In this section, you'll learn about basic Excel charting concepts that apply to almost all types of charts; you'll also create a few basic charts . At the end of this chapter, you'll take a tour of Excel's most useful chart types.

To create a chart, Excel needs to translate your numbers into a graphical representation. The process of drawing numbers on a graph is called plotting . Before you plot your information on a chart, you should make sure your data's laid out properly.

Here are some tips:

  • Structure your data in a simple grid of rows and columns .

  • Don't include blank cells between rows or columns.

  • Include titles, if you'd like them to appear in your chart. You can use category titles for each column of data (placed in the first row, atop each column) and an overall chart title (placed just above the category-title row).


Tip: You can also label each row by placing titles in the far-left column, if it makes sense. If you're comparing the sales numbers for different products, list the name of each product in the first column on the left, with the sales figures in the following columns.

If you follow these guidelines, you can expect to create the sort of chart shown in Figure 9-1.

To create the chart shown in Figure 9-1, Excel performs a few straightforward steps (you'll learn the specifics of how to actually create this chart in the next section). First, it extracts the text for the chart title from cell A1. Next , it examines the range of data (from $14,000 to $64,000) and uses it to set the valueor Y-axisscale. You'll notice that the scale starts at $0, and stretches up to $80,000 in order to give your data a little room to breathe. (You could configure these numbers manually, but Excel automatically makes common-sense guesses like these by looking at the data you're asking it to chart.) After setting the vertical scale, Excel adds the labels along the bottom axis (also known as the X-axis or category axis), and draws the columns of appropriate height.

9.1.1. Embedded and Standalone Charts

The chart in Figure 9-1 is an embedded chart. Embedded charts appear in a worksheet, in a floating box alongside your data. You can move the chart by dragging the box around your worksheet, although depending on where you put it, you may obscure some of your data.

Your other option is to create a standalone chart, which looks the same but occupies an entire worksheet. That means that your chart data and your chart are placed on separate worksheets.

Figure 9-1. This worksheet shows a table of data and a simple column chart based on Excel's standard chart settings. Nothing fancy, but it gets the job done.


Usually, you'll use an embedded chart if you want to create printouts that combine both your worksheet data and one or more charts. On the other hand, if you want to print the charts separately, it's more convenient to use standalone charts. That way, you can print an entire workbook at once and have the charts and the data on separate pages.


Tip: If you use embedded charts, you still have the option of printing just the chart, sized so that it fills a full sheet of paper. Simply select the chart and then choose Office button Print.
NOSTALGIA CORNER
Charts Get a Facelift

If you've worked with charts in a previous version of Excel, you'll notice that Excel 2007 adds some serious eye candy . Overall, the types of charts you can create and the options to plot your data are the same as in previous versions. However, the rendering engine , the system that turns your data into lines and shapes , is completely new.

Along with the new rendering engine, Excel 2007 also changes the way you create your charts. Gone is the frumpy Chart Wizard. Now, the ribbon provides quick chart creation and easy-access options for changing every aspect of a chart, from its gridlines to its legend.


9.1.2. Creating a Chart with the Ribbon

So how do you create a chart like the one shown in Figure 9-1? Easyall it takes is a couple of clicks in the ribbon. Here's how it works:

  1. Select the range of cells that includes the data you want to chart, including the column and row headings and any chart title .

    If you were using the data shown in Figure 9-1, you'd select cells A1 to B7.

    For speedier chart building, just position your cursor somewhere inside the data you want to chart. Excel then automatically selects the range of cells that it thinks you want. Of course, it never hurts to remove the possibility for error by explicitly selecting what you want to use before you get started.


    Tip: And for even easier charting, start by creating an Excel table (Chapter 8) to hold the data you want to chart. Then, if you position yourself somewhere inside the table and create a new chart, Excel automatically selects all the data. It also automatically updates the chart if you add new rows or remove existing data.
  2. Head to the ribbon's Insert Charts section. Youll see a separate button for each type of chart (including column charts, line charts, pie charts, and so on). Click the type you want .

    When you choose a chart type, you get a drop-down list of subtypes (Figure 9-2).

    Figure 9-2. Under each chart choice are yet more subtypes, which add to the fun. If you select the Column type (shown here), you'll get subtypes for two- and three-dimensional column charts, and variants that use cone and pyramid shapes. If you hover over one of these subtypes, a box appears with a brief description of the chart.


    The different chart types are explained in more detail later in this chapter. For now, it's best to stick to some of the more easily understood choices, like Bar, Column, or Pie. Remember, the chart choices are just the starting point, as you'll still be able to configure a wide range of details that control things like the titles, colors, and overall organization of your chart.

  3. Click the subtype you want .

    Excel inserts a new embedded chart alongside your data, using the standard options (which you can fine-tune later).


Note: If you don't want to make any choices, you can actually build a chart with one key press. Just highlight your data and press F11. This step creates a column chart on a new worksheet. Although you can't undo this operation, you can always delete the new chart worksheet and start over.

9.1.3. The Chart Tools Ribbon Tabs

When you select a chart, Excel adds three new tabs to the ribbon under the Chart Tools heading. These tabs let you control the details of your charts:

  • Design . This tab lets you change the chart type and the linked data that the chart uses.

  • Layout . This tab lets you configure individual parts of the chart. You can add shapes, pictures, and text labels, and you can configure the chart's gridlines, axes, and background.

  • Format . This tab lets you format individual chart elements, so you can transform ordinary items into eye candy. You can adjust the font, fill, and borders uses for chart titles and shapes, among other things.

In this chapter, you'll spend most of your time using the Chart Tools Design tab.



Excel 2007 for Starters. The Missing Manual
Excel 2007 for Starters. The Missing Manual
ISBN: 596528329
EAN: N/A
Year: 2004
Pages: 75

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net