SpreadSheets - Charts and Graphs - Notes
SpreadSheets - Charts and Graphs - Notes
BICT 1101
Lecture 3: Spreadsheets (Charts)
CREATING CHARTS
The command groups used to create charts in Excel are contained
in the Insert tab .
To create a basic chart in Excel that you can modify and format
later, start by entering the data for the chart on a worksheet.
Then, you select that data and choose a chart type to graphically
display the data. Simply by choosing a chart type, a chart layout,
and a chart style—all of which are within easy reach on the
ribbon’s Insert and Charts tab.
CREATING CHARTS
BUILDING CHARTS
A chart is a graphical representation of numeric data in a
worksheet.
Data values are represented by graphs with combinations of
lines, vertical or horizontal rectangles (columns and bars),
points, and other shapes.
CREATING CHARTS
To create a chart or change an existing chart, you can choose
from 16 chart types with numerous subtypes and combo charts.
CREATING CHARTS
Selecting Data to Include in a Chart
You can begin creating one of Excel’s common chart types by
clicking its image on the Insert tab of the ribbon. More important
than the chart type, however, is the selection of the data you want
to display graphically.
What aspects of the data do you want viewers to notice?
In this exercise, we will select data for use in an Excel chart that
returns your calculations and data in a color-coded pie chart with
sections identified by numbers or labels.
CREATING CHARTS
There are two approaches to identifying the data for your chart.
Selecting multiple ranges at one time that will become the different
chart elements (This depends on how efficiently your data has been
laid out in the worksheet).
Identifying the chart type and then select the data for each chart
element.
We will first look at choosing the ranges then adding and removing
certain chart elements .
CREATING CHARTS
LAUNCH Excel.
1. OPEN the Mzuzu Coffee Financial History file.
2. Select B2:B8 (the 2014 data).
3. Click the Insert tab, and in the Charts group, click the Pie
button.
Click the first 2-D Pie chart in the drop-down menu. A color-
coded pie chart with sections identified by number is displayed.
CREATING CHARTS
4. Move the mouse pointer to the largest slice. The ScreenTip
shows Series 1 Point 1 Value: 2014 (39%). This corresponds
to the label 2014 rather than actual data.
5. Point to the second largest slice and you’ll see that the value
is 1575, which is the amount for the total. Neither the column
label (2014) nor the total sales amount should be included as
pie slices.
6. Click in the chart’s white space and press Delete. The chart
is now removed from the worksheet.
CREATING CHARTS
To delete a chart, click in the white space then press the Delete
key on your keyboard. Clicking on the graphic or another chart
element and press Delete, only deletes the selected element.
7. Select B3:B7. Click the Insert tab and, in the Charts group,
click Pie and then click the first 2-D Pie chart. The correct
data is displayed, but the chart is difficult to interpret with
only numbers to identify the parts of the pie.
CREATING CHARTS
When you insert a chart into your worksheet, the Chart Tools tabs
(Design and Format) become available in Excel’s ribbon with the
Design tab active by default.
Select the Insert tab on the ribbon each time to insert a chart.
8. Click in the chart’s white space and press Delete.
9. Select A2:B7, click the Insert tab, and click Pie in the Charts
group. Click the first 2-D Pie chart.
The data is clearly identified with a title and a label for each
colored slice of the pie.
CREATING CHARTS
10. Move the mouse pointer to a blank spot within the chart
and drag the chart to move it below the data.
11. Click outside of the chart, click File, and then click Print.
Notice that the Annual Sales data appears with the chart on the
page.
12. Press Esc and then click on the Chart and choose File,
Print.
Now notice that the chart appears by itself on the page.
CREATING CHARTS
To print just an embedded chart on a workbook, select the chart
before you choose File, Print.
13.SAVE the workbook.
Our exercise illustrated that the chart’s data selection must contain
sufficient information to interpret the data at a glance.
Excel did not distinguish between the column B label and its data when
you selected only the data in column B.
Although the label is formatted as text, because the column label was
numeric, it was interpreted as data to be included in the chart.
When you expanded the selection to include the row labels, 2014 was
correctly recognized as a label and displayed as the title for the pie chart.
CREATING CHARTS
When you select data and create a pie chart, the chart is placed
on the worksheet.
This is referred to as an embedded chart, meaning it is placed on
the worksheet rather than on a separate chart sheet, a sheet that
contains only a chart.
Moving a Chart
After inserting a chart, by default it is embedded in the
worksheet. Clicking a corner of a chart or the midpoint of any
side displays sizing handles (two-sided vertical, horizontal, or
diagonal white arrows).
CREATING CHARTS
Sizing handles can be used to change the size of a chart.
Clicking in the white space and drag, using the four-headed black
mouse pointer moves the chart.
You might want a chart to be reviewed with the worksheet data or
you might want the chart to stand on its own.
In the exercise to follow we will move a chart to a new chart sheet
in the workbook.
CREATING CHARTS
Move a Chart
1. Click in the white space on the chart to select it.
2. Click the Design tab, and then click the Move Chart button.
3. In the Move Chart dialog box, click in the New sheet box
and type 2014 Pie to create the name of your new chart sheet.
4. Click OK.
The chart becomes a separate sheet in the workbook.
CREATING CHARTS
5. Click on the Sales worksheet tab to return to the data
portion of the workbook.
To return the chart to the Sales sheet, you could go to the 2014 Pie
tab, click the Move Chart button again, and in the Object in box,
select Sales (the name of the sheet).
CREATING CHARTS
Choosing the Right Chart for Your Data
You can create most charts, such as column and bar charts, from
data that you have arranged in rows or columns in a worksheet.
Some charts, such as pie and bubble charts, require a specific data
arrangement.
CREATING CHARTS
Column chart works well for comparisons. In a 2-D or 3-D
column chart, each data marker is represented by a column.
In a stacked column, data markers are stacked so that the top of
the column is the total of the same category (or time) from each
data series.
A line chart shows points connected by a line for each value.
We will look at how to create a column chart and a line chart to
illustrate the increase in coffee and espresso sales at Mzuzu
Coffee during a five-year period
CREATING CHARTS
Choose the Right Chart for Your Data
1. Select cells A2:F7.
Make sure you do not include row 8, the Total Sales row. It is
standard practice not to include totals in column and bar
charts.
2. Click the Insert tab, and in the Charts group, click Insert
Column or Bar Chart. In the drop-down list, move to each of
the options.
CREATING CHARTS
Excel shows a preview of the chart on the worksheet and a
description and tips for the selected chart type, when you pause
on an option.
Under 3-D Column, move to the first option.
The ScreenTip shows that the type of chart is a 3-D Clustered
Column.
Excel suggests using this chart type to compare values when the
order of categories is not important.
CREATING CHARTS
3. In the drop-down list, click 3-D Clustered Column.
The column chart illustrates the sales for each of the revenue
categories for the five-year period.
The Chart Tools tab appears with the Design tab active.
4. Anywhere in a blank area on the chart, click and drag the
chart below the worksheet data and position it at the far left.
5. Click outside the column chart to deselect it.
Notice that the Chart Tools tab disappears.
CREATING CHARTS
6. Select A2:F7, click the Insert tab, and in the Charts group,
click Line (first chart in the second row).
In the 2-D Line group, click the Line with Markers option.
Position the line chart next to the column chart.
Study the two charts.
In the column chart, Coffee and Espresso are by far the largest
revenue sources, but Coffee Accessories are catching up.
On the line chart, Coffee and Espresso increase over time, but that
Coffee Accessories increases faster. Bakery items are decreasing,
and the Deli sales is a bit up and down.
CREATING CHARTS
7. Click the column chart and click the Design tab.
8. Click the Move Chart button and in the New sheet box, type
Column and then click OK.
9. Click the Sales worksheet tab, select the line chart, click the
Move Chart button, and in the New sheet box, type Line.
Click OK.
CREATING CHARTS
Column and line charts provide two views of the same data,
illustrating that the chart type you choose depends on the
analysis you want the chart to portray.
The pie chart, which shows values as part of the whole, displays the
distribution of sales for one year.
Column charts also facilitate comparisons among items but also
over time periods.
A line chart’s strength is showing trends over time.
CREATING CHARTS
The line chart we created in our exercise includes data markers
to indicate each year’s sales.
A data marker is a bar, area, dot, slice, or other symbol in a
chart that represents a single data point or value that originates
from a worksheet cell.
Related data markers in a chart constitute a data series.
CREATING CHARTS
Using Recommended Charts
There is a vast amount of chart types to choose from in Excel.
Excel 2016 has a feature to help narrow the choices depending on
the data that you select.
It is the Recommended Charts button.
In the following exercise, we will select different sets of data and
observe what choices the Recommended Charts button displays.
CREATING CHARTS
STEP BY STEP Use Recommended Charts
1. Click the Sales worksheet tab.
2. Select the Year labels and Coffee and Espresso cells A2:F3,
click the Insert tab, and then click the Recommended Charts
button.
Excel recommends four chart types and explains when you
should use each of the charts underneath the example.
3. Click the other three chart types and read each description.
Click the Line chart and then click OK.
CREATING CHARTS
4. Click the Move Chart button, and in the New sheet box, type Coffee Line and
then click OK.
5. Click the Sales worksheet tab, select A2:F2, hold down Ctrl, and select
A8:F8.
6. Click the Recommended Charts button. The recommended choices are the
same as in Step 2 because the first row includes years and the second row
includes values. Click OK.
Row 3 to 7
7. Click the Move Chart button, and in the New sheet box, type Total Line and
then click OK.
8. Unhide.
CREATING CHARTS
Creating a Bar Chart
Bar charts are similar to column charts and can be used to
illustrate comparisons among individual items.
Data that is arranged in columns or rows on a worksheet can be
plotted in a bar chart.
Clustered bar charts compare values across categories.
Stacked bar charts show the relationship of individual items to the
whole of that item.
The side-by-side bar charts we will create here illustrates two
views of the same data.
CREATING CHARTS
STEP BY STEP Create a Bar Chart
1. Click the Sales worksheet tab.
2. Select cells A2:F7 and on the Insert tab, in the Charts
group, click the Insert Column or Bar Chart button.
A ScreenTip displays the chart type name when you hover the
mouse pointer on its button or subtype option.
CREATING CHARTS
3. Under 3-D Bar, click the 3-D Clustered Bar subtype.
The data is displayed in a clustered bar chart and the Design tab
is active on the Chart Tools tab.
4. Drag the clustered bar chart to the left, below the
worksheet data.
5. Select A2:F7. On the Insert tab, in the Charts group, click
the Insert Column or Bar Chart button.
6. Under 3-D Bar, click the 3-D Stacked Bar subtype.
7. Position the stacked bar graph next to the 3-D bar graph.
CREATING CHARTS
8. Click the Move Chart button, and in the New sheet box,
type Stacked Bar and then click OK.
9. Click the Sales worksheet tab, click the clustered bar chart,
click the Move Chart button, and in the New sheet box, type
Clustered Bar and then click OK.
CREATING CHARTS
The Charts group on the Insert tab contains nine buttons leading
to multiple chart types (including a combined chart type).
To create one of these charts, select the worksheet data and click
the button and choose one of the chart type options.
You can select from any chart type by clicking the Charts dialog
box launcher to open the Insert Chart dialog box. The
Recommended Charts shows in the first tab.
CREATING CHARTS
Click on the All Charts tab in the dialog box to see samples of all
types and subtypes of charts.
When you click a chart type in the left pane of the dialog box, the
first chart of that type is selected in the right pane.
You can also scroll through the right pane and select any chart
subtype.
Different examples display to determine whether you want the data
interpreted in rows and columns vs. columns and rows.
CREATING CHARTS
FORMATTING A CHART WITH A QUICK STYLE OR LAYOUT
After you create a chart, you can instantly change its appearance by applying
a predefined style or layout.
Excel provides a variety of useful quick styles and quick layouts from which
you can choose.
After creating a chart, the Chart Tools tab becomes available and the Design
and Format tabs and Quick Layout button appear on the ribbon.
CREATING CHARTS
Formatting a Chart with a Quick Style
Predefined layouts and styles are timesaving features that you can use to enhance
the appearance of your charts. In this exercise, we will apply a Quick Style to
your chart.
STEP BY STEP Format a Chart with a Quick Style
1. Click on the 2014 Pie chart tab. If the Design tab is not visible and the
buttons active, click the white space inside the chart boundary and click the
Design tab if necessary.
2. One of the Chart Styles is already selected. Click each of the styles until you
come to the style with the labels and percentages shown next to each pie slice.
If necessary, click the down arrow to select more styles.
CREATING CHARTS
3. The chart colors are determined by the theme of your
worksheet. Click the Change Colors button and move the
mouse pointer over each of the different rows to see the
preview of the pie change.
4. Click Color 3 to make the change. This change affects only
the current chart.
CREATING CHARTS
Formatting a Chart with a Quick Layout
In addition to the colors and patterns, you can change which
elements appear on your chart.
This includes items such as axis titles, data tables, and the
position of the legend. In this exercise, we will apply a Quick
Layout to your chart to display a data table under the chart.
STEP BY STEP Format a Chart with a Quick Layout
1. Click the Column chart tab.
CREATING CHARTS
2. Click the Design tab, and then click the Quick Layout
button. As you move to each of the options, the chart changes
to preview what it will look like if you select the option.
3. Click Layout 5. The data table appears under the chart.
The years (2014–2018) act as both the x-axis labels and
column headers of the data table.
CREATING CHARTS
You can also use the design buttons on the right of a selected
chart to change the style and color and select which elements
appear on the chart.
Click on the chart and click the first button, the Chart Elements
button, to select which items appear on the chart.
Click the second button, Chart Styles, and choose which style and
color you want.
The third button, Chart Filters, enables you to filter your chart
data to see only a portion of the source data charted.
CREATING CHARTS
FORMATTING THE PARTS OF A CHART MANUALLY
The Format tab provides a variety of ways to format chart
elements. To format a chart element, click the chart element that
you want to change and then use the appropriate commands
from the Format tab.
The following list defines some of the chart elements you can
manually format in Excel:
Chart area: The entire chart and all its elements.
Plot area: The area bounded by the axes.
CREATING CHARTS
Axis: A line bordering the chart plot area used as a frame of reference for
measurement.
Data Series: Row or column of data represented by a line, set of columns,
bars or other chart type.
Title: Descriptive text that is aligned to an axis or at the top of a chart.
Data labels: Text that provides additional information about a data
marker, which represents a single data point or value that originates from a
worksheet cell.
Legend: A box that identifies the patterns or colors that are assigned to the
data series or categories in a chart.
CREATING CHARTS
To learn the elements of the chart, click the Chart Elements
drop-down list.
Editing and Adding Text on Charts
So far we have been using the default text on the charts created.
You can edit existing titles or labels in a similar way that you do
in a worksheet. Click the label, select the text, and type the new
text. If the element isn’t visible, you can add it by checking the
Chart Elements option or inserting a text box.
CREATING CHARTS
STEP BY STEP Edit and Add Text on Charts
1. Click the 2014 Pie chart tab.
2. Click the 2014 title, move the insertion point to the end of
the label and click. Type a space and then type Annual Sales.
The text appears in all caps based on the current layout.
3. Select the label text. Click the Home tab and click the Font
dialog box launcher. The Font dialog box appears.
CREATING CHARTS
4. Click the All Caps check box to uncheck this option. Click
OK.
5. Click on the Format tab and then in the Insert Shapes
group, click the Text Box button. Click the lower-left corner
of the chart area and type your initials and today’s date in the
text box.
CREATING CHARTS
6. Edit the chart titles on each of the charts as follows:
Chart Title Text
Column Chart Title Annual Sales
Column Axis Title Thousands
Line Chart Title Annual Sales (Thousands)
Stacked Bar Chart Title Annual Sales
Clustered Bar Chart Title Annual Sales
CREATING CHARTS
If you have difficulty viewing the text as you type a new chart title or axis title,
select the text box containing the title, click in the formula bar (just to the right
of the fx button), type the new text, and press Enter.
CREATING CHARTS
Formatting a Data Series
Use commands on the Format tab to add or change fill colors or
patterns applied to chart elements.
Select the element to format and click on one of the buttons on
the ribbon or display the Format pane to add fill color or a
pattern to the selected chart element.
STEP BY STEP Format a Data Series
1. Click the 2014 Pie chart tab.
CREATING CHARTS
2. Click in the largest slice of the pie. You can see data
selectors around each of the pie slices.
3. Click the largest pie slice again and you should see data
selectors only on the slice.
Click the Shape Fill button and choose Dark Red. The Coffee
and Espresso pie slice changes to dark red.
4. Click the Column chart tab.
CREATING CHARTS
5. Click the tallest bar (Coffee and Espresso).
Notice that the five bars have data selectors.
Click the Shape Fill button and select Dark Red.
All five bars and the legend color for Coffee and Espresso changes
to dark red.
6. Click the Shape Effects button, click Bevel and notice the
options available.
7. Click the first Bevel option (Circle/Round). Repeat this
option for each of the data series.
CREATING CHARTS
8. In addition to the Shape Fill, Shape Outline, and Shape Effects buttons, you
can also change the elements with the Shape Styles dialog box launcher. Select
any data series in the column chart, if necessary.
On the Format tab, in the Shape Styles group, click the Shape Styles dialog box
launcher. The Format Data Series pane opens with the Series Options button
selected.
9. Click each of the three buttons under the Series Options label and look at
the choices. Click one of the Coffee Accessories columns.
10. Click the Fill & Line button, choose Fill, and select Picture or texture fill
from the options.
11. Click the Texture drop-down arrow and choose the Brown Marble option.
CREATING CHARTS
When you use the mouse to point to an element in the chart, the
element name appears in a ScreenTip. You can select the element
you want to format by clicking the arrow next to the Chart
Elements box in the Current Selection group on the Format tab.
This list is chart specific.
When you click the arrow, the list will include all elements that
you have included in the displayed chart.
CREATING CHARTS
Changing the Chart’s Border Line
You can create an outline around a chart element. Just select the
element and apply one of the predefined outlines or click Shape
Outline to format the shape of a selected chart element.
You can also apply a border around the entire chart. Select an
element or the chart and use the colored outlines in the Shape
Styles group on the Format tab, or click Shape Outline and
choose a color.
CREATING CHARTS
STEP BY STEP Change the Chart’s Border Line
1. Click the Line chart tab and choose the Format tab.
2. In the Current Selection group, click the arrow in the
Chart Elements selection box and then click Chart Area.
3. Click the More arrow in the Shape Styles group. The
Shape Styles gallery opens.
4. Scroll through the outline styles to locate Colored
Outline – Blue, Accent 1.
CREATING CHARTS
5. Click Colored Outline – Blue, Accent 1.
You might not notice a change because of the thin line width.
6. In the Format Chart Area pane, click the Border arrow to expand
that section.
7. Click the Width up arrow, until you get to 2.5 pt.
Now you can see that the chart is outlined with a light blue border.
8. Click the Coffee and Espresso line.
9. In the Color drop-down button, under the Line section, choose
Dark Red.
CREATING CHARTS
Modifying a Chart’s Legend
You can modify the content of the legend, change the position of
the legend relative to the chart, expand or collapse the legend
box, edit the text that is displayed, and change character
attributes.
In the chart you modify in this exercise, changing the font colors
in the legend to match the blocks in the columns provides an
additional visual aid that enables the viewer to quickly see the
income contribution for each category.
CREATING CHARTS
STEP BY STEP Modify a Chart’s Legend
1. Click the Line chart tab.
2. On the Format tab, click the Chart Elements drop-down arrow and
choose Legend.
3. If the Format Legend pane does not appear, click the Format Selection
button.
4. Click the Legend Options button.
5. In the Legend Position section, click Right to move the legend to the right
side of the chart.
6. Click the Coffee and Espresso label in the legend.
CREATING CHARTS
7. Click the Text Options button to display the menus for the
text.
8. In the Fill Color drop-down, choose Dark Red so the text in
the legend matches the line color.
9. Click the 2014 Pie chart tab.
10. Click the Coffee and Espresso label twice. If necessary,
click the Text Options button and underneath Text Fill, click
the Color button, and then choose Dark Red to change the text
color.
CREATING CHARTS
MODIFYING A CHART
Sometimes the chart that you add from the Insert tab and modify
through the Quick Layout and Chart Styles still isn’t exactly
what you want. In addition to using the creation and design
features mentioned previously, you can modify a chart by adding
or deleting individual elements or by moving or resizing the
chart.
You can also change the chart type without having to delete the
existing chart and create a new one or change how Excel selects
data as its data elements by changing rows to columns
CREATING CHARTS
Adding Elements to a Chart
Adding elements to a chart can provide additional information
that was not available in the data you selected to create the chart.
In some cases, adding data labels helps make a chart more
understandable. We will use the Chart Elements button to add
items to a chart in the exercise below.
STEP BY STEP Add Elements to a Chart
1. Click the Stacked Bar chart tab.
CREATING CHARTS
2. If necessary, click in a white space of the chart to select the
chart and make the buttons in the upper-right corner appear.
3. Click the Chart Elements button. A menu appears showing
which elements are currently on the chart (checked boxes) and
which are not (unchecked boxes).
4. Click the Axis Titles box to check the box and add both a
vertical and horizontal axis placeholder.
CREATING CHARTS
5. The Axis Title on the bottom of the screen has selection
indicators to indicate it is selected.
Click in the formula bar just above the chart, type Thousands,
and then press Enter.
6. Click the Total Line chart tab, click the Chart Elements
button, and select the Axis Titles option. This time the vertical
Axis Title is selected. You can click any label placeholder to
select it if it is already on a chart. Click in the formula bar,
type Thousands for the vertical title, and then press Enter.
CREATING CHARTS
7. Repeat the previous step to add a vertical axis title of
Thousands for the Coffee Line chart and the horizontal axis
title for the Clustered Bar chart.
8. Click the Stacked Bar chart tab, click the Chart Elements
button, and then select the Data Labels option. Labels appear
for each of the bars on the chart.
CREATING CHARTS
Deleting Elements from a Chart
When a chart becomes too cluttered, you may need to delete
nonessential elements. You can select an element on the chart and
press the Delete key. You can also select an element in the Chart
Elements drop-down in the Current Selection group and press
Delete.
We will use next exercise to delete elements from some charts.
CREATING CHARTS
STEP BY STEP Delete Elements from a Chart
1. On the Stacked Bar chart sheet tab, click the vertical Axis
Title and then press Delete.
2. Repeat Step 1 to delete the following generic Axis Title labels:
Chart tab Vertical or Horizontal Axis Title
Coffee Line Horizontal
Total Line Horizontal
Clustered Bar Vertical
CREATING CHARTS
3. Right-click the Stacked Bar chart tab and select Move or
Copy.
In the Before sheet list box, select Clustered Bar, click the
Create a copy check box, and then click OK to create
another copy of the Stacked Bar chart.
4. Double-click the Stacked Bar (2) label for the tab and type
Sales Increase for the new name.
5. Click the $150 data label for the Bakery in 2018. All data
labels for bakery have selection indicators. Press Delete.
CREATING CHARTS
6. Repeat Step 5 for Coffee Accessories, Packaged Coffee/Tea, and
Deli data labels.
7. Click the Annual Sales title, click in the formula bar, and then
type Coffee, Espresso, and Accessories only Consistent Sales
Increase. Press Enter.
8. You can also hide data series. Click the Chart Filters button on
the right side of the chart and in the Series group, click Bakery to
uncheck it.
9. Repeat step 8 for Packaged Coffee/Tea and Deli and click the
Apply button.
CREATING CHARTS
10. After looking at the chart, you might decide it is better to
keep all of the data series.
Repeat Steps 8 and 9 to recheck the Bakery, Packaged Coffee
/Tea, and Deli series and click the Apply button.
It is important to remember that whether the chart is embedded in
the worksheet or located on a chart sheet, the chart is linked to the
worksheet data.
Any changes in the worksheet data are reflected in the chart.
Likewise, if the worksheet data is deleted, the chart is also deleted.
CREATING CHARTS
Adding Additional Data Series
You might need to add additional data to a chart. In this case, the
CEO of the company has asked you to create a new data sheet that
breaks out coffee and espresso and packaged coffee and tea to see if
you can see any new trends.
STEP BY STEP Add Additional Data Series
1. Right-click the Sales worksheet tab, select Move or Copy,
scroll to the bottom of the Before sheet list, and select (move
to end).
CREATING CHARTS
Click the Create a copy checkbox and click OK. Double-click the
Sales (2) tab, type Sales Exp, and then press Enter.
2. On the Sales Exp sheet, select A2:F7, click the Insert tab,
click the Insert Column or Bar Chart button, and then under
2-D Column, click the Clustered Column option.
3. Insert rows below Coffee and Espresso and Packaged
Coffee/Tea. Edit the labels and values.
Expresso/Premium Coffees, 105, 210, 410, 610, 810
Packaged Tea, 15, 25, 45, 100,150
CREATING CHARTS
4. Right-click in a blank area of the chart, and choose Select
Data. The Select Data Source dialog box opens.
5. Click the Add button and in the Series name box, click cell
A4. In the Series values box, delete the entry and drag on the
worksheet to select cells B4:F4.
6. Click OK, then click the Move Up button multiple times to
move the Espresso/Premium Coffees label below Coffee.
CREATING CHARTS
7. Repeat Steps 5 and 6 with Packaged Tea in A8 and the data
in B8:F8 so the label is below Packaged Coffee. Click OK to
accept the changes and return to the sheet.
CREATING CHARTS
Resizing a Chart
You can point to a corner of a chart or the midpoint of any side to display
sizing handles (two-sided arrows). Use the side handles to change the
chart height or width. Use the corner sizing handles to change both height
and width. In this exercise, we will learn to resize the chart.
STEP BY STEP Resize a Chart
USE the workbook from the previous exercise. The Sales Exp sheet should
be selected.
1. On the Sales Exp sheet, move the mouse pointer to the white space to
the left of the chart title. The mouse is a black four-headed arrow. Drag
to move the chart to the left edge of the sheet and below row 11.
CREATING CHARTS
2. Move the mouse to the lower-right corner of the chart. The
mouse pointer changes to a two-headed diagonal arrow. Drag
the mouse pointer so the lower-right corner of the chart is in
cell H28. The chart expands to take up more of the screen and
you can see the columns and legend easier.
3. Click the Chart Title, click in the formula bar, and type
Detailed Annual Sales. Click a blank area of the chart and
point to the right center resize handle.
CREATING CHARTS
Choosing a Different Chart Type
For most 2-D and 3-D charts, you can change the chart type and
give it a completely different look.
If a chart contains multiple data series, you can also select a
different chart type for any single data series, creating a
combined chart. You cannot combine a 2-D and a 3-D chart,
however.
CREATING CHARTS
STEP BY STEP Choose a Different Chart Type
USE the workbook from the previous exercise. The Sales Exp
sheet should be visible and the chart selected.
1. Click the Design tab and select the Change Chart Type
button. The Change Chart Type dialog box opens.
2. Click each of the chart types on the left and you will see a
set of different icons representing subtypes for each of the
chart types. Click the Column button. Click the Stacked
Column subtype (second icon in the right pane, at the top of
the dialog box).
CREATING CHARTS
3. Click OK.
4. Click the Move Chart button and in the New sheet box,
type Det Sales. Click OK.
5. COPY the Det Sales chart sheet before the Sales Exp
sheet and name the tab Det Sales Es.
6. On the Design tab, using the Change Chart Type button,
change the chart back to a Clustered Column and then click
OK.
7. Click one of the Espresso/Premium Coffees columns.
CREATING CHARTS
8. On the Design tab, click the Change Chart Type button.
9. The Change Chart Type dialog box opens to the Combo chart
type. In the Espresso/Premium Coffees Chart Type box, select Line.
10. Click OK and edit the chart title to read WOW! Look at
Espresso/Premium Coffee Sales!.
11. Click the Format tab and in the Insert Shapes group, click the
Arrow button and drag the arrow from the chart title to the
Espresso line. Use the Shape Outline button to change the arrow to
Red and the Weight to 3 pt.