Monday, January 8, 2018

Change the format of data labels in a chart

Change the format of data labels in a chart

There are a lot of formatting options for data labels. And they're all done in the Format Data Labels task pane. To get there, after adding your data labels, select the data label to format, and then click Chart Elements Chart Elements button > Data Labels > More Options.

To go to the appropriate area, click one of the four icons (Fill & Line, Effects, Size & Properties (Layout & Properties in Outlook or Word), or Label Options) as shown below.

Format Data Labels Pane

Tip:  Make sure that only one data label is selected, and then to quickly apply custom data label formatting to the other data points in the series, in the Format Data Label pane, click Label Options, and under Data Label Series > Clone Current Label.

Here are step-by-step instructions for the some of the most popular things you can do

Connect data labels to data points using leader lines

Change the look of leader lines

Change the look of the data labels

Change the shape of a data label

Resize a data label

Add a field or cell reference to a data label

Connect data labels to data points using leader lines

A line that connects a data label and its associated data point is called a leader line—helpful when you've placed a data label away from a data point. To add a leader line to your chart, click the label and drag it after you see the four headed arrow. If you move the data label, the leader line automatically adjusts and follows it.

Portion of a line chart with leader lnes
Line chart with some leader lines

Change the look of leader lines

  1. Click the connecting lines you want to change.

  2. Click Fill & Line > Line, and then make the changes that you want.

    Line icon on the Format Leader Line Options pane

Change the look of the data labels

There are many things you can do to change the look of the data label like changing the border color of the data label for emphasis.

  1. Click the data labels whose border you want to change. Click twice to change the border for just one data label.

  2. Click Fill & Line > Border, and then make the changes you want.

    Fill and Line tab of Format Data Label task pane

    Tip:  You can really make your label pop by adding an effect. Click Effects and then pick the effect you want. Just be careful not to go overboard adding effects.

    Effects tab on Format Data Labels pane

Change the shape of a data label

You can make your data label just about any shape to personalize your chart.

  1. Right-click the data label to change, and then click Change Data Label Shapes.

    Change Data Label Shape menu command and Shape gallery

  2. Pick the shape you want.

Resize a data label

Click the data label and drag it to the size you want.

Tip:  You can set other size (Excel and PowerPoint) and alignment options in Size & Properties (Layout & Properties in Outlook or Word). Double-click the data label and then click Size & Properties.

Format Data Labels Size & Properties icon and pane

Add a field or cell reference to a data label

You can add a built-in chart field, such as the series or category name, to the data label. But much more powerful is adding a cell reference with explanatory text or a calculated value.

Part of a chart showing a data label containing text in a cell
Chart with a data label containing both the data value and explanatory text.
  1. Click the data label, right click it, and then click Insert Data Label Field.

    If you have selected the entire data series, you won't see this command. Make sure that you have selected just one data label.

    Insert Data Label field command on right-click menu

  2. Click the field you want to add to the data label.

    Insert Data Label Field choices

  3. To link the data label to a cell reference, click [Cell] Choose Cell and then enter a cell reference.

    Data Label Field Reference box

Tip:  To switch from custom text back to the pre-built data labels, click Reset Label Text under Label Options.

No comments:

Post a Comment