Formatting a Legend

In this section:

A legend contains information that is necessary to accurately interpret the data on a chart. By default, a chart displays either a vertical axis title if there is a single measure field, or a legend if there are multiple measure fields.

Format Legend Dialog Box

Whether you access legend options from the ribbon or the shortcut menu, you are presented with the Format Legend dialog box of options. For instructions on how to open this dialog box, see Using Legend Properties.

The Format Legend dialog box contains options for formatting a legend on a chart or visualization. It contains the following tabs:

Note: The Fill, Border Style, and Shadows tab are not available in InfoAssist Basic.

For instructions on how to open this dialog box, see the procedures in Using Legend Properties.

Use the Legend Options tab to customize the appearance of a legend on a chart or visualization.

The Legend Options tab is shown in the following image.

The Legend Options tab contains the following options.

Use the Markers & Labels tab to customize the appearance of markers and labels on legends.

The Markers & Labels tab contains the following options:

Use the Fill tab to modify the color of the legend area. For more information, see Format Series Dialog Box.

Use the Border Styles tab to place a border around a legend. For more information, see Format Series Dialog Box.

The Border Styles tab contains the following options:

Legend Elements Shortcut Menu

When you right-click a legend on a chart, a menu of options opens. The menu contains options that are available on the Format tab.

The shortcut menu options are described in the following table. The table provides links to the sections of this document in which those options are also discussed.

Option

Description

Show legend

Controls the display of the legend. InfoAssist displays the legend by default. When you clear this option, InfoAssist suppresses the legend. For instructions, see Using Legends Properties.

The background shortcut menu has an option to restore the legend after it has been suppressed.

Legend Position

Controls the placement of the legend on the chart. For instructions see, Using Legends Properties.

Legend Area Color

Enables you to specify the color of the legend background area using the Color dialog box.

This option is available only when you right-click the area around the legend. For instructions see, Using Legends Properties.

Legend Border Color

Enables you to specify the color of the border around the legend background area using the Color dialog box.

This option is available only when you right-click the area around the legend. For instructions see, Using Legends Properties.

More Legend Options

Opens the Format Legend dialog box.

Using Legend Properties

How to:

The following sections contain procedures for customizing legends. The procedures are organized by the tab and group in which their associated options appear on the ribbon.

Procedure: How to Hide a Legend

  1. Create a chart with multiple measure fields.
  2. Clear the Show legend option in one of the following ways:
    • Ribbon: On the Format tab, in the Labels group, click Legend, then click Show legend to clear the option.
    • Shortcut Menu: Right-click the legend, and clear the Show legend option.

    The legend is hidden.

Procedure: How to Position a Legend

  1. Create a chart with multiple measure fields.
  2. Open the menu of label position options in one of the following ways:
    • Ribbon: On the Format tab, in the Labels group, click Legend, then point to Legend Position.
    • Shortcut Menu: Right-click the legend, and point to Legend Position.
  3. Select a position for the legend. For example, Auto or Right.

Procedure: How to Specify the Color of a Legend Border

  1. Create a chart with multiple measure fields.
  2. Open the Format Legends dialog box in one of the following ways:
    • Ribbon: On the Format tab, in the Labels group, click Legend, then click More Legend Options.
    • Shortcut Menu: Right-click the legend, and click More Legend Options.

    The Format Legend dialog box opens. For more information, see Format Legend Dialog Box.

  3. On the Border Styles tab, select the option to Show Border.
  4. Click the Color icon to open the Color dialog box, where you can specify the color of the legend border.
  5. Click OK to close the Color dialog box.
  6. Click OK to close the Format Legend dialog box.

    The legend border is formatted accordingly.

    The following image is an example of a chart with a styled legend.