Arrange a legend

Once a legend has been added to a layout, you can modify its appearance and specify how the legend responds to changes in the map. You can make changes to the legend either at the legend level, which affects the overall appearance and behavior, or at the legend item level, which affects the appearance of one or more individual items. In the Contents pane, legends are listed with a Legend symbol Legend while legend items are listed with a Legend Item symbol Legend Item.

Add or remove legend items

You can add, remove, and reorder the items in a legend. You can also turn off legend items so they are no longer visible on the layout by unchecking them in the Contents pane.

To add items, select a layer in the Contents pane and drag it to the legend group in the same pane.

Note:

A legend can include items from a single map frame only. You cannot drag layers from multiple map frames onto a legend.

To remove legend items, expand the legend in the Contents pane to see the items. Right-click an item and click Remove. Uncheck a legend item to turn off its visibility without removing it from the legend.

Reorder legend items by expanding the legend in the Contents pane to see the legend items. Drag items up or down in the list to reorder them.

Note:
If the Layer order option is checked for the legend, reordering is not available. Instead, the legend items are kept in the same order as the layers on the map.

Change the legend's appearance

There are several legend-level options to change a legend's appearance. The following changes are set at the legend level: legend title, legend fitting strategy, word wrapping for labels and descriptions, legend spacing, and setting a border, background, and shadow. The border, background, and shadow for a legend are set the same way for all layout elements.

Once you've modified a legend, you can save it to a style to use in future projects without needing to redo the formatting. A saved legend style item can be applied to a selected legend by choosing one from the Legend Gallery Legend gallery drop-down menu on the Format tab.

To modify the legend's appearance, complete the following steps:

  1. In the Contents pane, right-click the legend and click Properties Properties to open the Element pane.

    Be sure to click the legend element, not a legend item. Legend items have different properties.

  2. In the Element pane, select the tab containing the properties you want to change.

    Options tab Options

    Turn on or off the legend title, and adjust the title text.

    Legend Arrangement Options tab Legend Arrangement Options

    Set fitting strategy, word wrapping, and spacing properties.

    Display tab Display

    Set border, background, and shadow properties.

    Placement tab Placement

    Set size, position, and rotation properties for the entire legend.

  3. Adjust the properties as desired.

If you can't achieve the desired look for your legend by adjusting the properties, consider converting it to graphics. To do this, right-click the legend in the Contents pane and choose Convert to Graphics Convert To Graphics. This changes the legend into groups of graphic elements that you can manipulate individually. However, once a legend is converted to graphics, it loses all connection to the map. Any changes to layer symbology, or added and removed layers, will not be reflected in the legend.

Fitting strategy

The legend fitting strategy controls how items flow in a legend, the number of columns the legend has, and how the legend changes to fit additional items. Changing the fitting strategy can have a significant impact on how a legend looks. The fitting strategy is especially important if a legend needs to be dynamic, updating to changes in the map, such as in a map series. By default, fitting strategies flow legend items from left to right. Check the Right to left check box to reverse the flow for legends in right-to-left reading languages. The Legend fitting strategies topic details the different fitting strategies and their properties.

Word wrapping

On the Legend Arrangment Options tab Legend Arrangement Options, you can enable text wrapping for legend labels and legend descriptions. By default, legend columns are wide enough to accommodate all the label and description text for the longest legend item on one line. Enabling word wrapping allows the text to flow onto another line once it has exceeded a set length using standard character breaks. This is useful when you have long legend labels or descriptions.

You can wrap the legend item labels, the legend item descriptions, or both. When either label or description wrapping is enabled, wrapping is automatically enabled for headings and layer names, too. They wrap to the total width of the item. Legend titles also wrap to the total width of all the columns.

To learn about formatting the various text items in a legend, see Format text in a legend.

Spacing

On the Legend Arrangment Options tab Legend Arrangement Options, you can adjust the gaps between the various pieces of the legend. The following options are available:

Gap typeDefinition
Categories

The vertical gap between symbology categories. This is measured from the bottom of the last category to the top of the next category heading.

Classes

The vertical gap between classes in a single legend item, for example, classes for a layer rendered with unique values.

Columns

The horizontal gap between each legend column.

Group layers and items below

The vertical gap below the group layer name.

Headings and classes

The vertical gap between the legend item heading and the classes in that item.

Items

The vertical gap between different legend items.

Labels and descriptions

The horizontal gap between a legend item's label and its description. Not all symbology types support descriptions.

Layer names and items below

The vertical gap between the layer name and the item directly below it. This can be the heading or the legend item patch and label.

Patches and text

The horizontal gap between the legend item patch and its label or description.

Title and items

The vertical gap between the legend title and the legend items.

Interactions between the legend and the map

Changes made in the map have an impact on the legend. For example, if a layer is removed from the map, the corresponding legend item must be removed from the legend. This is done automatically. However, you can change other connections between the map and legend.

Adjust the map frame and visibility range

A legend can be associated with any map frame on the layout. It can also be configured to display only when that map frame is within a specified scale range. By default, a legend points to the most recently selected map frame at the time it was inserted and shows at all scales. The referenced map frame and the visible scale range can be changed at any time.

To change the associated map frame or change the visible scale range of a legend, complete the following steps:

  1. In the Contents pane, right-click the legend and click Properties Properties to open the Element pane.

    Click the legend element and not a legend item. Map frame and visibility range options are a property of the legend and can't be changed when a legend item is selected.

  2. Right-click the scale bar and click Properties Properties to open the Element pane.
  3. In the Map frame drop-down list, select the map frame for the scale bar to reference.
  4. Set the visibility scale threshold using the Maximum scale Maximum scale and Minimum scale Minimum scale drop-down lists. When values are set in one or both of these lists, the scale bar appears only if the source map frame is within the specified scale range.

Respond to changes in map layers

There are four options to synchronize the way a legend reacts to changes made to map layers:

Synchronization optionDefinition
Layer visibility

The legend displays only the visible layers in the map. This is on by default.

Layer order

Legend items are reordered to match the drawing order of the layers in the map. You cannot manually change the legend item order. This is off by default.

New layer

A new item is added to the legend when a new layer is added to the map. This is on by default.

Reference scale

The symbols in the legend change scale based on the map's reference scale. The size of symbols in the legend matches the size of symbols on the map. This is on by default.

To set these synchronization options for a legend, complete the following steps:

  1. In the Contents pane, right-click the legend and click Properties Properties to open the Element pane.

    Click the legend element and not a legend item. Synchronization options are a property of the legend and can't be changed when a legend item is selected.

  2. In the Element pane, select the Options tab Options.
  3. Check or uncheck any of the synchronization items listed under the Synchronize with map heading.

You can also show all the items in the legend or only items visible in the current map extent. This is done at the legend item level. See Work with a legend item for more information.

Related topics