The Layout Legend is a feature generated in the Layout Editor for tracking details and controlling various aspects of your plots. The default Layout Legend includes the population name and a color palette. The Layout Legend can be expanded to include other populations, keywords (acquisition or self-defined), and statistics. Each additional keyword or statistic will add to the Legend’s columns and any additional populations will increase the number of rows. See the section below titled “Layout Legend Functions” for more details.
A legend will be generated whenever plots are overlayed. The legend shows a compact view of the properties of the different layers of the overlay:
By default, a legend is created whenever you create an overlay. However you can toggle legend for any type of plot: right click on the plot and select Show Legend, or select Show Legend from the Annotation panel of the Graph Definition window. To remove a legend, click on it to select it and press Delete or deselect it from the Graph Definition window. For more information about creating and modifying overlays, click here.
Layout Legend Menus.
The Layout Legend has its own menus to control various aspects the associated plot and the contents of the legend itself. The menu differs based on plot type (univariate vs bivariate). The default legend for bivariate plots and bivariate overlays has 3 options; “Properties”, “Remove Layer”, and “Set As Control”.
Layout Legend Functions.
Use the Layout Legend to do the following:
- Set a population(s)/sample(s) as a control for a batch process.
- Change the order of populations in an overlay.
- Remove populations from an overlay.
- Change the tinting, line style, or line weights of histograms.
- Add statistics or other keywords (associated with specific populations) to the Layout Legend table.
- Access the Graph Definition Window.
Setting a Control.
For control/test sample comparison during a batch analysis, it is often useful to lock a control sample so that it is displayed with successive iterations of test samples. Lock the control by right clicking on sample in the legend and selecting Set As Control (you will see the text for the control become italicized, shown at right). For more on batching and iteration, click here.
Changing the Population Order.
You can change the front/back Ordering of your plots in an overlay by clicking on a sample line in the Legend and dragging it up or down in the legend order.
Changing the Population Color.
Changing Histogram Lines, Styles, and Tinting.
To edit the line characteristics of a histogram, right-click on the color box to see a popup menu for line weight and style, as well as whether the histogram should be filled, tinted or plain. To do any of these operations for all samples in the overlay, hold the Alt key down when selecting Tint, Fill, etc…
Customizing and Adding Additional Legend Information
This is done through the Legend Properties dialogue. Obtain the Legend Properties dialogue by:
- Right clicking on the legend and selecting Properties, or
- Double clicking on the legend, or,
- Selecting the legend, then selecting Properties from the Object menu.
From this dialog you can:
- Insert additional Columns of Keyword Values and/or Statistics (from the Insert drop-down menu or Statistics button). Once selected the Columns to be displayed will show in the Columns to Show in Legend pane on the right-side of the dialog. You can remove these columns by selecting them in the pane and clicking delete.
- Customize the font type, color size and style.
- Add color to the lines or background of the cells of the legend.
- To see the changes, click Apply or OK.