Excel XP
Formatting a Chart
Introduction
By the end of this lesson, learners should be able to:
- Format the chart title
- Format the chart legend
- Format the axis
Formatting the Chart Title
The Chart Title can be formatted to change color, pattern, typeface, size and alignment using the Format Chart Title dialog box.
To format the chart title:
- Select the Chart Title.
- Click the Format Button on the Chart Toolbar (or double click the Chart Title).
- The Format Chart Title dialog box contains three different tabs-Patterns, Font and Alignment-that can be used to format the Chart Title.
- The Patterns tab lets you define borders and fill colors (see lesson 13).
- The Font tab lets you define Font, Font Style, Size and Color (see lesson 11).
- The Alignment tab lets you define horizontal and vertical cell placement, as well as text orientation (see lesson 11).
- Click the OK button to accept the Chart Title format changes.
Formatting the Chart Legend
The chart legend displays very useful information about the chart. Like a roadmap, the Legend identifies what different colors or objects represent in the chart. The Chart Legend, like the Chart Title and Category Axis Labels, can be formatted to your liking.
To Format the Chart Legend:
- Press the show/hide legend button on the Chart Toolbar to turn on the Legend display. (This button acts like a toggle by turning the display on or off.)
- Click to select the Chart Legend.
- Click the Format Button on the Chart Toolbar (or double click the chart legend).
- The Format Legend dialog box contains three different tabs-Patterns, Font and Alignment-that can be used to format the Chart Title.
- The Patterns tab lets you define borders and fill colors.
- The Font tab lets you define Font, Font Style, Size and Color.
- The Placement tab lets you define the location where the Legend will appear on the chart.
- Click the OK button to accept the Chart Legend format changes.
The only way to change the actual text that appears in the Chart Legend is to change the Source Data in the worksheet.
Formatting the Axis Labels
We've previously made reference to a Y-axis and an X-axis in Excel. In Excel, a graph represents a data in two dimensions. The number of items sold in January is data on two dimensions: number of items and month. The number of items might be plotted on one axis, Y-axis, while the month may be plotted on the X-axis. The Y-axis runs up-and-down on the graph. The X-axis runs left-to-right.
When formatting the Axis labels in your chart, you can adjust the numbers on the Scale of the chart as well as change font, color, and style.
To Format an Axis:
- Click anywhere in the Axis label that you want to edit:
- Click the Format Button on the Chart Toolbar (or double click the chart axis).
- The Format Axis dialog box contains five different tabs-Patterns, Font and Alignment-that can be used to format the Chart Title.
- The Patterns tab lets you define borders and tick marks.
- The Scale tab lets you define numeric intervals on the Value (Y) Axis scale.
- The Font tab lets you define Font, Font Style, Size and Color.
- The Number tab lets you define the format of numbers displayed in the Axis (see lesson 12).
- The Alignment tabs let you define text orientation (see lesson 11).
- Click the OK button to accept the Axis format changes.
You can also use the angle axis buttons on the chart toolbar to change the angle of the value and category axis.
Changing the Data Series Color
When a chart is created in Excel XP you notice that color is automatically applied to the Data Series. You can keep this format or change it for each Data Series in the chart. Many different aspects of each data series can be changed, but you'll probably change the color of bars, columns, pie slices and areas most often.
To Change the Color of a Data Series:
- Select the data series that you wish to edit.
- Click the Format Button on the Chart Toolbar (or double click the data series).
- Use the Format Data Series dialog box to pick a new color.
- Click the OK button to accept the Data Series color changes.
Challenge
- Type the following information on the worksheet:
In cell A2, type October
In cell A3, type November
In cell A4, type December
In cell B1, type Clothes
In cell B2, type 124
In cell B3, type 78
In cell B4, type 97
In cell C1, type Movies
In cell C2, type 12
In cell C3, type 18
In cell C4, type 20
In cell D1, type Books
In cell D2, type 45
In cell D3, type 78
In cell D4, type 15 - Create an embedded Bar Chart that plots October, November and December on the Y- axis. The Legend will comprise Clothes, Movies and Books.
- Assign a Chart Name in the Titles tab of the Chart Options dialog box.
- Format the Chart Name by assigning it a Verdana font, bold font style, size of 20 and the color red.
- Format the Chart Legend so that its Placement is at the top of the screen.
- Format the X-axis so the Text Orientation is 45 degrees for each label in the Data Series.
- Select a Data Series color and change it to another color.