If Excel is installed on your computer, you can take advantage of the advanced charting capabilities in Word.
What do you want to do?
Learn about charts
Charts are used to display series of numeric data in a graphical format to make it easier to understand large quantities of data and the relationship between different series of data.
1. Worksheet data
2. Chart created from worksheet data
Excel supports many types of charts to help you display data in ways that are meaningful to your audience. When you create a chart or change an existing chart, you can select from a variety of chart types (such as a column chart or a pie chart) and their subtypes (such as a stacked column chart or a pie in 3-D chart). You can also create a combination chart by using more than one chart type in your chart.
For more information about the chart types that you can select in Excel, see Available chart types.
Getting to know the elements of a chart
A chart has many elements. Some of these elements are displayed by default, others can be added as needed. You can change the display of the chart elements by moving them to other locations in the chart, resizing them, or by changing the format. You can also remove chart elements that you do not want to display.
1. The chart area of the chart.
2. The plot area of the chart.
3. The data points of the data series that are plotted in the chart.
4. The horizontal (category) and vertical (value) axis along which the data is plotted in the chart.
5. The legend of the chart.
6. A chart and axis title that you can use in the chart.
7. A data label that you can use to identify the details of a data point in a data series.
Modifying a basic chart to meet your needs
After you create a chart, you can modify any one of its elements. For example, you might want to change the way that axes are displayed, add a chart title, move or hide the legend, or display additional chart elements.
To modify a chart, you can:
-
Change the display of chart axes You can specify the scale of axes and adjust the interval between the values or categories that are displayed. To make your chart easier to read, you can also add tick marks to an axis, and specify the interval at which they will appear.
-
Add titles and data labels to a chart To help clarify the information that appears in your chart, you can add a chart title, axis titles, and data labels.
-
Add a legend or data table You can show or hide a legend, change its location, or modify the legend entries. In some charts, you can also show a data table that displays the legend keys and the values that are presented in the chart.
-
Apply special options for each chart type Special lines (such as high-low lines and trendlines), bars (such as up-down bars and error bars), data markers, and other options are available for different chart types.
Applying a predefined chart layout and chart style for a professional look
Instead of manually adding or changing chart elements or formatting the chart, you can quickly apply a predefined chart layout and chart style to your chart. Word provides a variety of useful predefined layouts and styles that you can select, but you can fine-tune a layout or style if it is needed by making manual changes to the layout and format of individual chart elements, such as the chart area, plot area, data series, or legend of the chart.
When you apply a predefined chart layout, a specific set of chart elements (such as titles, a legend, a data table, or data labels) are displayed in a specific arrangement in your chart. You can select from a variety of layouts that are provided for each chart type.
When you apply a predefined chart style, the chart is formatted based on the document theme that you have applied, so that your chart matches your organization's or your own theme colors (a set of colors), theme fonts (a set of heading and body text fonts), and theme effects (a set of lines and fill effects).
You cannot create your own chart layouts or styles, but you can create chart templates that include the chart layout and formatting that you want.
Adding eye-catching formatting to a chart
In addition to applying a predefined chart style, you can easily apply formatting to individual chart elements such as data markers, the chart area, the plot area, and the numbers and text in titles and labels to give your chart a custom, eye-catching look. You can apply specific shape styles and WordArt styles, and you can also format the shapes and text of chart elements manually.
To add formatting, you can:
-
Fill chart elements You can use colors, textures, pictures, and gradient fills to help draw attention to specific chart elements.
-
Change the outline of chart elements You can use colors, line styles, and line weights to emphasize chart elements.
-
Add special effects to chart elements You can apply special effects, such as shadow, reflection, glow, soft edges, bevel, and 3-D rotation to chart element shapes, which gives your chart a finished look.
-
Format text and numbers You can format text and numbers in titles, labels, and text boxes on a chart as you would text and numbers on a worksheet. To make text and numbers stand out, you can even apply WordArt styles.
Reusing charts by creating chart templates
If you want to reuse a chart that you customized to meet your needs, you can save that chart as a chart template (*.crtx) in the chart templates folder. When you create a chart, you can then apply the chart template just as you would any other built-in chart type. In fact, chart templates are custom chart types — you can also use them to change the chart type of an existing chart. If you use a specific chart template frequently, you can save it as the default chart type.
Step 1: Create a basic chart
You can add a chart to your Word document in one of two ways: insert a chart by embedding it into your Word document, or paste an Excel chart into your Word document that is linked to data in an Office Excel 2007 worksheet. The main differences between embedded charts and linked charts are where the data is stored and how you update the data after you place it in the Word document.
Note: Some chart types require a specific data arrangement in the Excel worksheet. For more information, see Arrange the Excel worksheet data.
Insert a chart by embedding it in your document
When you embed an Excel chart, information in the Word file doesn't change if you modify the source Excel file. Embedded objects become part of the Word file and, after they are inserted, they are no longer part of the source file.
Because the information is totally contained in one Word document, embedding is useful when you don't want the information to reflect changes in the source file, or when you don't want the document recipients to be concerned with updating the linked information.
-
In your Word document, click Insert > Chart.
-
Select the type of chart you want, such as column or pie chart, and click OK. (If you're not sure which to choose, move down the All Charts list to preview each type.)
-
Enter your data into the spreadsheet that automatically opens with the chart. The chart will update to match the data after you finish typing data into one cell and move to the next.
-
In Word, click where you want to insert the chart.
-
On the Insert tab, in the Illustrations group, click Chart.
-
In the Insert Chart dialog box, click a chart, and then click OK.
-
Enter your data into the spreadsheet that automatically opens with the chart. The chart will update to match the data after you finish typing data into one cell and move to the next.
-
In Word, click where you want to insert the chart.
-
On the Insert tab, in the Illustrations group, click Chart.
-
In the Insert Chart dialog box, click a chart, and then click OK.
Office Excel 2007 opens in a separate window and displays sample data on a worksheet.
-
In the Excel window, replace the sample data by clicking a cell on the worksheet and then typing the data that you want.
You can also replace the sample axis labels in Column A and the legend entry name in Row 1.
Note: After you update the worksheet, the chart in Word will be updated automatically with the new data.
-
In Excel, click the Microsoft Office Button , and then click Save As.
-
In the Save As dialog box, in the Save in list, select the folder or drive that you want to save the worksheet to.
To save the worksheet to a new folder, click Create New Folder .
-
In the File name box, type a new name for the file.
-
Click Save.
-
In Excel, click the Microsoft Office Button , and then click Close.
Paste a linked Excel chart into your document
You can create and copy a chart in an external Excel 2007 worksheet, and paste a linked version of the chart into your Word document. When a chart is linked, information can be updated if the external Excel worksheet is modified. Linked data is stored in the Excel worksheet. The Word document stores only the location of the source file, and it displays a representation of the linked data.
Linking is also useful when you want to include information that is maintained independently, such as data collected by a different department, and when you need to keep that information up-to-date in a Word document. For more information about creating charts in Excel, see Create a chart.
-
In Excel, select the chart by clicking its border, and then on the Home tab, in the Clipboard group, click Cut.
The chart is removed, but the data remains in Excel.
-
In Word, click where you want to insert the chart in the document.
-
On the Home tab, in the Clipboard group, click Paste.
The Paste Options button indicates that the chart is linked to data in Excel.
-
Save the Word document with the chart that you linked to data in Excel.
When you reopen the Word document, click Yes to update the Excel data.
You can also create visual representations of information by using SmartArt graphics. For more information, see Create a SmartArt graphic.
Arrange the Excel worksheet data
For most charts, such as column and bar charts, you can plot the data that you arrange in rows or columns on a worksheet into a chart. However, some chart types (such as pie and bubble charts) require a specific data arrangement.
-
On the worksheet, arrange the data that you want to plot in a chart.
The data can be arranged in rows or columns — Excel automatically determines the best way to plot the data in the chart. Some chart types (such as pie and bubble charts) require a specific data arrangement as described in the following table.
For this chart type
Arrange the data
Column, bar, line, area, surface, or radar chart
In columns or rows, such as:
Lorem
Ipsum
1
2
3
4
Or:
Lorem
1
3
Ipsum
2
4
Pie or doughnut chart
For one data series, in one column or row of data and one column or row of data labels, such as:
A
1
B
2
C
3
Or:
A
B
C
1
2
3
For multiple data series, in multiple columns or rows of data and one column or row of data labels, such as:
A
1
2
B
3
4
C
5
6
Or:
A
B
C
1
2
3
4
5
6
XY (scatter) or bubble chart
In columns, placing x values in the first column and corresponding y values and bubble size values in adjacent columns, like:
X
Y
Bubble size
1
2
3
4
5
6
Stock chart
In columns or rows in the following order, using names or dates as labels:
high values, low values, and closing values
Like:
Date
High
Low
Close
1/1/2002
46.125
42
44.063
Or:
Date
1/1/2002
High
46.125
Low
42
Close
44.063
-
Select the cells that contain the data that you want to use for the chart.
Tip: If you select only one cell, Excel automatically plots all cells that contain data that is adjacent to that cell into a chart. If the cells that you want to plot in a chart are not in a continuous range, you can select nonadjacent cells or ranges as long as the selection forms a rectangle. You can also hide the rows or columns that you do not want to plot in the chart.
How to select cells, ranges, rows, or columns
To select
Do this
A single cell
Click the cell, or press the arrow keys to move to the cell.
A range of cells
Click the first cell in the range, and then drag to the last cell, or hold down SHIFT while you press the arrow keys to extend the selection.
You can also select the first cell in the range, and then press F8 to extend the selection by using the arrow keys. To stop extending the selection, press F8 again.
A large range of cells
Click the first cell in the range, and then hold down SHIFT while you click the last cell in the range. You can scroll to make the last cell visible.
All cells on a worksheet
Click the Select All button.
To select the entire worksheet, you can also press CTRL+A.
If the worksheet contains data, CTRL+A selects the current region. Pressing CTRL+A a second time selects the entire worksheet.
Nonadjacent cells or cell ranges
Select the first cell or range of cells, and then hold down CTRL while you select the other cells or ranges.
You can also select the first cell or range of cells, and then press SHIFT+F8 to add another nonadjacent cell or range to the selection. To stop adding cells or ranges to the selection, press SHIFT+F8 again.
Note: You cannot cancel the selection of a cell or range of cells in a nonadjacent selection without canceling the entire selection.
An entire row or column
Click the row or column heading.
1. Row heading
2. Column heading
You can also select cells in a row or column by selecting the first cell and then pressing CTRL+SHIFT+ARROW key (RIGHT ARROW or LEFT ARROW for rows, UP ARROW or DOWN ARROW for columns).
If the row or column contains data, CTRL+SHIFT+ARROW key selects the row or column to the last used cell. Pressing CTRL+SHIFT+ARROW key a second time selects the entire row or column.
Adjacent rows or columns
Drag across the row or column headings. Or select the first row or column; then hold down SHIFT while you select the last row or column.
Nonadjacent rows or columns
Click the column or row heading of the first row or column in your selection; then hold down CTRL while you click the column or row headings of other rows or columns that you want to add to the selection.
The first or last cell in a row or column
Select a cell in the row or column, and then press CTRL+ARROW key (RIGHT ARROW or LEFT ARROW for rows, UP ARROW or DOWN ARROW for columns).
The first or last cell on a worksheet or in a Microsoft Office Excel table
Press CTRL+HOME to select the first cell on the worksheet or in an Excel list.
Press CTRL+END to select the last cell on the worksheet or in an Excel list that contains data or formatting.
Cells to the last used cell on the worksheet (lower-right corner)
Select the first cell, and then press CTRL+SHIFT+END to extend the selection of cells to the last used cell on the worksheet (lower-right corner).
Cells to the beginning of the worksheet
Select the first cell, and then press CTRL+SHIFT+HOME to extend the selection of cells to the beginning of the worksheet.
More or fewer cells than the active selection
Hold down SHIFT while you click the last cell that you want to include in the new selection. The rectangular range between the active cell and the cell that you click becomes the new selection.
To cancel a selection of cells, click any cell on the worksheet.
-
On the Insert tab, in the Charts group, do one of the following:
-
Click the chart type, and then click a chart subtype that you want to use.
-
To see all available chart types, click a chart type, and then click All Chart Types or the More menu item to display the Insert Chart dialog box, click the arrows to scroll through all available chart types and chart subtypes, and then click the ones that you want to use.
A ScreenTip displays the chart type name when you rest the mouse pointer over any chart type or chart subtype. For more information about the chart types that you can use, see Available chart types.
-
-
By default, the chart is placed on the worksheet as an embedded chart. If you want to place the chart in a separate chart sheet, you can change its location by doing the following:
-
Click the embedded chart to select it.
This displays the Chart Tools tab.
-
On the Design tab, in the Location group, click Move Chart.
-
Under Choose where you want the chart to be placed, do one of the following:
-
To display the chart in a chart sheet, click New sheet.
If you want to replace the suggested name for the chart, you can type a new name in the New sheet box.
-
To display the chart as an embedded chart in a worksheet, click Object in, and then click a worksheet in the Object in box.
-
-
-
To quickly create a chart that is based on the default chart type, select the data that you want to use for the chart, and then press ALT+F1. When you press ALT+F1, the chart is displayed as an embedded chart.
-
When you create a chart, Excel determines the orientation of the data series based on the nnumber of worksheet rows and columns that are included in the chart. After you create a chart, you can change the way that worksheet rows and columns are plotted in the chart by switching rows to columns or vice versa.
-
If you no longer need a chart, you can delete it. Click the chart to select it, and then press DELETE.
Step 2: Change the layout or style of a chart
After you create a chart, you can instantly change its look. Instead of manually adding or changing chart elements or formatting the chart, you can quickly apply a predefined layout and style to your chart. Word provides a variety of useful predefined layouts and styles (or quick layouts and quick styles) that you can select from, but you can customize a layout or style as needed by manually changing the layout and format of individual chart elements.
Apply a predefined chart layout
-
Click the chart that you want to format by using a predefined chart layout.
This displays the Chart Tools tab, adding the Design and Format tabs.
-
On the Design tab, in the Chart Layouts group, click Quick Layout, and then click the chart layout that you want to use.
To see all available layouts, click More .
-
Click the chart that you want to format by using a predefined chart layout.
This displays the Chart Tools, adding the Design, Layout, and Format tabs.
-
On the Design tab, in the Chart Layouts group, click the chart layout that you want to use.
Apply a predefined chart style
-
Click the chart that you want to format by using a predefined chart style.
This displays the Chart Tools, adding the Design and Format tabs.
-
On the Design tab, in the Chart Styles group, click the chart style that you want to use.
To see all predefined chart styles, click More .
-
Click the chart that you want to format by using a predefined chart style.
This displays the Chart Tools, adding the Design, Layout, and Format tabs.
-
On the Design tab, in the Chart Styles group, click the chart style that you want to use.
Note: When the size of the Excel window is reduced, chart styles will be available in the Quick Styles gallery in the Chart Styles group.
To see all predefined chart styles, click More .
Change the format of chart elements manually
-
Click the chart or the chart element for which you want to change the style, or do the following to select a chart element from a list of chart elements.
-
Click a chart to display the Chart Tools.
-
On the Format tab, in the Current Selection group, click the arrow next to the Chart Elements box, and then click the chart element that you want.
-
-
On the Format tab, do any of the following:
-
To format any selected chart element, in the Current Selection group, click Format Selection, and then select the formatting options that you want.
-
To format the shape of a selected chart element, in the Shape Styles group, click the style that you want, or click Shape Fill, Shape Outline, or Shape Effects, and then select the formatting options that you want.
-
To format the text in a selected chart element by using WordArt, in the WordArt Styles group, click the style that you want, or click Text Fill, Text Outline, or Text Effects, and then select the formatting options that you want.
Note: After you apply a WordArt style, you cannot remove the WordArt format. If you do not want the WordArt style that you applied, you can select another WordArt style, or you can click Undo on the Quick Access Toolbar to return to the previous text format.
Tip: To use regular text formatting to format the text in chart elements, you can right-click or select the text, and then click the formatting options that you want on the Mini toolbar. You can also use the formatting buttons on the Ribbon (Home tab, Font group).
-
Step 3: Add or remove titles or data labels
To make a chart easier to understand, you can add titles, such as a chart title and axis titles. Axis titles are typically available for all axes that can be displayed in a chart, including depth (series) axes in 3-D charts. Some chart types (such as radar charts) have axes, but they cannot display axis titles. Chart types that do not have axes (such as pie and doughnut charts) cannot display axis titles either.
You can also link chart and axis titles to corresponding text in worksheet cells by creating a reference to those cells. Linked titles are automatically updated in the chart when you change the corresponding text on the worksheet.
To quickly identify a data series in a chart, you can add data labels to the data points of the chart. By default, the data labels are linked to values on the worksheet, and they update automatically when changes are made to these values.
Add a chart title
-
Click the chart to which you want to add a title, and then click the Chart Elements button.
-
In the Chart Elements list that appears, select Chart Title.
-
In the Chart Title text box that appears in the chart, type the text that you want.
To insert a line break, click to place the pointer where you want to break the line, and then press ENTER.
-
To format the text, select it, and then click the formatting options that you want on the Mini toolbar.
-
Click the chart to which you want to add a title.
This displays the Chart Tools, adding the Design, Layout, and Format tabs.
-
On the Layout tab, in the Labels group, click Chart Title.
-
Click Centered Overlay Title or Above Chart.
-
In the Chart Title text box that appears in the chart, type the text that you want.
To insert a line break, click to place the pointer where you want to break the line, and then press ENTER.
-
To format the text, select it, and then click the formatting options that you want on the Mini toolbar.
You can also use the formatting buttons on the Ribbon (Home tab, Font group). To format the whole title, you can right-click it, click Format Chart Title, and then select the formatting options that you want.
Add axis titles
-
Click the chart to which you want to add axis titles, and then click the Chart Elements button.
-
In the Chart Elements list that appears, select Axis Titles.
-
Select the axis titles that are added to your chart and type the text that you want.
-
To format the text, select it, and then click the formatting options that you want on the Mini toolbar.
-
Click the chart to which you want to add axis titles.
This displays the Chart Tools, adding the Design, Layout, and Format tabs.
-
On the Layout tab, in the Labels group, click Axis Titles.
-
Do any of the following:
-
To add a title to a primary horizontal (category) axis, click Primary Horizontal Axis Title, and then click the option that you want.
If the chart has a secondary horizontal axis, you can also click Secondary Horizontal Axis Title.
-
To add a title to primary vertical (value) axis, click Primary Vertical Axis Title, and then click the option that you want.
If the chart has a secondary vertical axis, you can also click Secondary Vertical Axis Title.
-
To add a title to a depth (series) axis, click Depth Axis Title, and then click the option that you want.
Note: This option is only available when the selected chart is a true 3-D chart, such as a 3-D column chart.
-
-
In the Axis Title text box that appears in the chart, type the text that you want.
To insert a line break, click to place the pointer where you want to break the line, and then press ENTER.
-
To format the text, select it, and then click the formatting options that you want on the Mini toolbar.
You can also use the formatting buttons on the Ribbon (Home tab, Font group). To format the whole title, you can right-click it, click Format Axis Title , and then select the formatting options that you want.
Notes:
-
If you switch to another chart type that does not support axis titles (such as a pie chart), the axis titles will no longer be displayed. The titles will be displayed again when you switch back to a chart type that does support axis titles.
-
Axis titles that are displayed for secondary axes will be lost when you switch to a chart type that does not display secondary axes.
-
Add data labels
-
Click the chart to which you want to add data labels, and then click the Chart Elements button.
-
In the Chart Elements list that appears, select Data Labels.
-
Select the data labels that are added to your chart and type the text that you want.
Note: Depending on the chart type that you used, different data label options will be available.
For more information about how to change data label entries or how to reposition data labels, see Add or remove data labels in a chart.
-
On a chart, do one of the following:
-
To add a data label to all data points of all data series, click the chart area.
-
To add a data label to all data points of a data series, click anywhere in the data series that you want to label.
-
To add a data label to a single data point in a data series, click the data series that contains the data point that you want to label, and then click the data point that you want to label.
This displays the Chart Tools, adding the Design, Layout, and Format tabs.
-
-
On the Layout tab, in the Labels group, click Data Labels, and then click the display option that you want.
Note: Depending on the chart type that you used, different data label options will be available.
For more information about how to change data label entries or how to reposition data labels, see Add or remove data labels in a chart.
Step 4: Show or hide a legend
When you create a chart, the legend appears, but you can hide the legend or change its location after you create the chart.
-
Click the chart in which you want to show or hide the legend, and then click the Chart Elements button.
-
In the Chart Elements list that appears, select or clear Legend.
When a chart has a legend displayed, you can modify the individual legend entries. For more information, see Modify chart legend entries.
-
Click the chart in which you want to show or hide a legend.
This displays the Chart Tools, adding the Design, Layout, and Format tabs.
-
On the Layout tab, in the Labels group, click Legend.
-
Do one of the following:
-
To hide the legend, click None.
To quickly remove a legend or a legend entry from a chart, you can select it, and then press DELETE. You can also right-click the legend or a legend entry, and then click Delete.
-
To display a legend, click the display option that you want.
Note: When you click one of the display options, the legend moves, and the plot area automatically adjusts to make room for it. If you move and size the legend by using the mouse, the plot area does not automatically adjust.
-
For additional options, click More Legend Options, and then select the display option that you want.
Tip: By default, a legend does not overlap the chart. If you have space constraints, you might be able to reduce the size of the chart by clearing the Show the legend without overlapping the chart check box.
-
When a chart has a legend displayed, you can modify the individual legend entries. For more information, see Modify chart legend entries.
Step 5: Display or hide primary chart axes or gridlines
When you create a chart, primary axes are displayed for most chart types. You can turn them on or off as needed. When you add axes, you can specify the level of detail that you want the axes to display. A depth axis is displayed when you create a 3-D chart.
To make a chart easier to read, you can display or hide the horizontal and vertical chart gridlines that extend from any horizontal and vertical axes across the plot area of the chart.
-
Click the chart in which you want to display or hide axes or gridlines, and then click the Chart Elements button.
-
In the Chart Elements list that appears, select or clear Axes or Gridlines.
-
Click the chart for which you want to display or hide axes or gridlines.
This displays the Chart Tools, adding the Design, Layout, and Format tabs.
-
On the Layout tab, in the Axes group, click Axes or Gridlines, and then select the option you want.
Step 6: Move or resize a chart
You can move a chart to any location on a document. You can also change the size of the chart for a better fit.
Move a chart
-
To move a chart, drag it to the location that you want.
Resize a chart
To resize a chart, do one of the following:
-
Click the chart, and then drag the sizing handles to the size that you want.
-
On the Format tab, in the Size group, enter the size in the Shape Height and Shape Width box.
For more sizing options, on the Format tab, in the Size group, click the Dialog Box Launcher . On the Size tab, you can select options to size, rotate, or scale the chart.
Step 7: Save a chart as a template
If you want to create another chart like the one that you just created, you can save the chart as a template that you can use as the basis for other similar charts.
-
Right-click the chart that you want to save as a template, and then click Save as Template.
-
In the File name box, type a name for the template.
Note: A chart template contains chart formatting and stores the colors that are in use when you save the chart as a template. When you use a chart template to create a chart in another workbook, the new chart uses the colors of the chart template — not the colors of the document theme that is currently applied to the workbook. To use the document theme colors instead of the chart template colors, right-click the chart area, and then click Reset to Match Style on the shortcut menu.
-
Click the chart that you want to save as a template.
-
On the Design tab, in the Type group, click Save as Template.
-
In the File name box, type a name for the template.
Note: A chart template contains chart formatting and stores the colors that are in use when you save the chart as a template. When you use a chart template to create a chart in another workbook, the new chart uses the colors of the chart template — not the colors of the document theme that is currently applied to the workbook. To use the document theme colors instead of the chart template colors, right-click the chart area, and then click Reset to Match Style on the shortcut menu.
No comments:
Post a Comment