Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Excel_2010_Bible.pdf
Скачиваний:
26
Добавлен:
13.03.2015
Размер:
11.18 Mб
Скачать

Part III: Creating Charts and Graphics

FIGURE 18.36

Plotting temperature data with a stock chart.

Learning More

This chapter introduced Excel charts, including examples of the types of charts that you can create. For many uses, the information in this chapter is sufficient to create a wide variety of charts.

Those who require control over every aspect of their charts can find the information they need in the next chapter. It picks up where this one left off and covers the details involved in creating the perfect chart.

436

CHAPTER

Learning Advanced

Charting

Excel makes creating a basic chart very easy. Select your data, choose a chart type, and you’re finished. You may take a few extra seconds and select one of the prebuilt Chart Layouts, and maybe even select

one of the Chart Styles. But if your goal is to create the most effective chart possible, you probably want to take advantage of the additional customization techniques available in Excel.

Customizing a chart involves changing its appearance as well as possibly adding new elements to it. These changes can be purely cosmetic (such as changing colors modifying line widths, or adding a shadow) or quite substantial (say, changing the axis scales or adding a second Value Axis). Chart elements that you might add include such features as a data table, a trend line, or error bars.

The preceding chapter introduced charting in Excel and described how to create basic charts. This chapter takes the topic to the next level. You learn how to customize your charts to the maximum so that they look exactly as you want. You also pick up some slick charting tricks that will make your charts even more impressive.

Selecting Chart Elements

Modifying a chart is similar to everything else you do in Excel: First you make a selection (in this case, select a chart element), and then you issue a command to do something with the selection.

You can select only one chart element (or one group of chart elements) at a time. For example, if you want to change the font for two axis labels, you must work on each set of axis labels separately.

IN THIS CHAPTER

Understanding chart customization

Changing basic chart elements

Working with data series

Discovering some chartmaking tricks

437

Part III: Creating Charts and Graphics

Excel provides three ways, described in the following sections, to select a particular chart element:

Mouse

Keyboard

Chart Elements control

Selecting with the mouse

To select a chart element with your mouse, just click the element. The chart element appears with small circles at the corners.

Tip

Some chart elements are a bit tricky to select. To ensure that you select the chart element that you intended to select, view the Chart Element control, located in the Chart Tools Format Current Selection group of the Ribbon (see Figure 19.1). n

FIGURE 19.1

The Chart Element control displays the name of the selected chart element. In this example, the Legend is selected.

When you move the mouse over a chart, a small chart tip displays the name of the chart element under the mouse pointer. When the mouse pointer is over a data point, the chart tip also displays the value of the data point.

438

Chapter 19: Learning Advanced Charting

Tip

If you find these chart tips annoying, you can turn them off. Choose File Options and click the Advanced tab in the Excel Options dialog box. Locate the Display section and clear either or both the Show Chart Element Names on Hover or the Show Data Point Values on Hover check boxes. n

Some chart elements (such as a series, a legend, and data labels) consist of multiple items. For example, a chart series element is made up of individual data points. To select a particular data point, click twice: First click the series to select it and then click the specific element within the series (for example, a column or a line chart marker). Selecting the element enables you to apply formatting to only a particular data point in a series.

You may find that some chart elements are difficult to select with the mouse. If you rely on the mouse for selecting a chart element, you may have to click it several times before the desired element is actually selected. Fortunately, Excel provides other ways to select a chart element, and it’s worth your while to be familiar with them. Keep reading to see how.

Selecting with the keyboard

When a chart is active, you can use the up-arrow and down-arrow navigation keys on your keyboard to cycle among the chart’s elements. Again, keep your eye on the Chart Elements control to ensure that the selected chart element is what you think it is.

When a chart series is selected: Use the left-arrow and right-arrow keys to select an individual item within the series.

When a set of data labels is selected: You can select a specific data label by using the left-arrow or right-arrow key.

When a legend is selected: Select individual elements within the legend by using the left-arrow or right-arrow keys.

Selecting with the Chart Element control

The Chart Element control is located in the Chart Tools Format Current Selection group and also in the Chart Tools Layout Current Selection group. This control displays the name of the currently selected chart element. It’s a drop-down control, and you can also use it to select a particular element in the active chart (see Figure 19.2).

The Chart Element control also appears in the Mini toolbar, which is displayed when you rightclick a chart element.

The Chart Element control enables you to select only the top-level elements in the chart. To select an individual data point within a series, for example, you need to select the series and then use the navigation keys (or your mouse) to select the desired data point.

439

Part III: Creating Charts and Graphics

Draft Mode for Charts

If you create complex charts with lots of formatting, you may find that screen updating slows down. If so, that’s a good time to turn on Draft mode.

New Feature

The Draft Mode charting option is new to Excel 2010. n

Select the chart, and choose Chart Tools Design Mode Draft. This command toggles Draft mode for the selected chart. This Ribbon button also has a drop-down list, which has commands to apply Draft mode to all charts. A Draft Mode indicator appears in the lower-right corner. Click this indicator to switch from Draft mode to Normal mode.

When a chart is displayed in Draft mode, some formatting may be hidden. For example, dashed and dotted lines appear solid, shadows are hidden, gradients display as solid colors, and transparent elements are not transparent.

When you edit a chart in Draft mode, you’ll notice that some formatting commands appear to have no effect. For example, if you apply a shadow to a chart element, the shadow does not appear. However, if you set the chart to Normal mode, the formatting will appear. Therefore, I recommend formatting your charts using Normal mode, not Draft mode.

In the unlikely event that you would like Draft mode to be the default for all charts, choose File Options, click the Advanced tab, locate the Charts section, and select the Insert Charts Using Draft Mode check box.

FIGURE 19.2

Using the Chart Element drop-down control to select a chart element.

440

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]