Customizing the Look of Pie Charts
One pie chart represents a single data set, and each wedge is one data point value in
that set (the first data point from each data series). If the data series are in rows, only
the first column is used in creating the chart; if the data series are in columns, only the
first row is used in creating the chart. You can chart any data set by moving it to the
first row or column of the table in the Chart Data Editor.
To adjust the look of an individual pie wedge, you must first select the pie chart, and
then select the wedges you want to change.
Here are ways to select pie wedges in a selected pie chart:
To select any wedge, click it.
m
To select all the wedges, select any wedge and press Command-A.
m
To select nonadjacent wedges, hold down the Command key as you select each wedge.
m
To select a continuous range of wedges, select the first wedge, and then hold down
m
the Shift key as you select the last wedge.
150
Chapter 9
Creating Charts from Data
Chapter 9
Creating Charts from Data
151
Changing Pie Chart Colors and Textures
To change chart colors and textures:
1
To fill series elements with specially designed colors or textures, click Inspector in
the toolbar, click the Chart inspector button, and then click Chart Colors. Choose a
fill type (for example, 3D Texture Fills) from the first pop-up menu, and choose a fill
collection (for example, Marble or Wood) from the second pop-up menu. Then do one
of the following:
To fill all the wedges, click Apply All. The first fill is applied to elements in the first series,
the second fill to elements in the second series, and so on.
To fill a single wedge, drag the fill to the wedge.
2
To adjust the opacity, stroke, shadow, and other graphical attributes of individual pie
wedges, select the wedge you want to change, click the Graphic inspector button, and
then make the adjustments you want.
When adjusting the opacity and fill, note that dragging the Opacity slider at the
Â
bottom of the Graphic inspector changes the opacity of the chart as a whole.
To affect only a selected series, select it, and then adjust the opacity of the color
fill, gradient fill, or tinted image fill, as needed. For more details, see “Adjusting
Opacity” on page 99 and “Filling an Object with a Solid Color” on page 100.
To learn about using one of your own images as a fill, see “
Â
Filling an Object with an
Image” on page 102.
To learn about changing the look of the line around the element, see “
Â
Changing the
Style of Borders” on page 96.
To learn about changing the shadows, see “
Â
Adding Shadows to Pie Charts and
Wedges” on page 153.
To learn about changing the depth qualities of a 3D pie chart, see “
Â
Adjusting Scene
Settings for 3D Charts” on page 157.
Showing Labels in a Pie Chart
To show series and data point labels in pie charts, use the Chart inspector.
To show series names or data point labels in a pie chart:
1
Select the chart or individual pie wedges for which you want to show a label or
series name.
2
Click Inspector in the toolbar, and then click the Chart inspector button.
3
Select Labels, and then drag the Position slider to place the data point label closer
to—or farther away from—the center of the pie, or specify a value in the field to set
the wedge’s distance from the center of the pie as a percentage of the pie’s radius.
4
To display the values in a particular format, choose one of the following from the
Format pop-up menu and adjust the options:
Number: Displays the data point value with no units. In the Decimals field, specify
how many decimal places you want to appear. To display negative values preceded
by a minus sign or in parentheses, choose –100 or (100) from the pop-up menu.
Select Separator if you want to separate the orders of magnitude on the left side of
the decimal.
Currency: Displays the data point value as a monetary amount. Select the currency
unit symbol from the Symbol pop-up menu. In the Decimals field, specify how many
decimal places you want to appear. To display negative values preceded by a minus
sign or in parentheses, choose –100 or (100) from the pop-up menu. Select Separator if
you want to separate the orders of magnitude on the left side of the decimal.
Percentage: Displays the data point value as divided by 100. In the Decimals field,
specify how many decimal places you want to appear. To display negative values
preceded by a minus sign or in parentheses, choose –100 or (100) from the pop-up
menu. Select Separator if you want to separate the orders of magnitude on the left
side of the decimal.
Date and Time: Displays data point values with a date and time format.
Duration: Displays data point values as a unit of time, for example, seconds, minutes,
or weeks.
Fraction: Displays data point values less than 1 as one integer over another. (If your
values are greater than 1, you won’t see any fractional representation of your data.)
Choose how accurately you want the fractions rounded off in the Accuracy pop-up
menu. Choosing an option such as Halves or Quarters represents the values as a
portion of the total pie, rounded to the nearest division you selected.
Scientific: Displays data point values in scientific notation, where 10 raised to a power
is represented as E+ an integer. In the Decimals field, specify how many decimal places
you want to appear.
Custom: Choose a custom number format you’ve already created, or create a new
one. See “Using Your Own Formats for Displaying Values in Table Cells” on page 184 for
more information.
5
To show the series name, select Show Series Name.
152
Chapter 9
Creating Charts from Data
Chapter 9
Creating Charts from Data
153
Separating Individual Wedges from a Pie Chart
To make pie wedges more visually prominent, you can separate them from the pie.
Separate a pie wedge by
using the Explode slider.
Here are ways to separate individual pie wedges:
To move a single wedge away from the center of a 2D or 3D pie chart, select it and
m
then drag it or drag the Explode slider in the Chart inspector.
To move multiple wedges away from the center of a 2D or 3D pie chart, hold down the
m
Shift or Command key while selecting the wedges you want, and then drag them or
drag the Explode slider in the Chart inspector.
To separate all the wedges away from the center of a 3D pie chart, select the chart
m
before dragging the Explode slider in the Chart inspector.
Adding Shadows to Pie Charts and Wedges
You can put shadows on individual pie wedges or on the pie as a whole. Putting
shadows on individual wedges makes it look as if the wedges are on different layers, so
when you add a shadow to a pie wedge, it’s generally a good idea to separate it first.
To add shadows:
1
Select the chart or individual pie wedges. Click Inspector in the toolbar, and then click
the Chart inspector button. Do one of the following:
Â
To add shadows to individually selected wedges, choose Individual from the Shadow
pop-up menu.
Â
To add a shadow to the chart as a whole, choose Group from the Shadow
pop-up menu.
2
To set shadow attributes, use the Graphic inspector.
See “Adding Shadows” on page 98 for instructions.
Rotating 2D Pie Charts
You can use various techniques for rotating a 2D pie chart.
Here are ways to rotate a pie chart:
Select the chart, click Inspector in the toolbar, click the Chart inspector button, and
m
then use the Rotation Angle wheel or field.
Click Inspector in the toolbar, click the Metrics inspector button, and then drag the
m
Rotate wheel or use the Angle controls to set the angle of the chart.
Select the chart, hold down the Command key and move the pointer toward an active
m
selection handle until it changes to a curved, double-headed arrow, and then drag a
selection handle.
To rotate the chart in 45-degree increments, press the Shift and Command keys while
m
dragging a selection handle or the Rotate wheel.