Module: Data Legend ()
This module allows you to position a legend in the 3D viewer. The legend displays the data field's name, units, data range and colormap. This is useful, for example, to produce snapshots that contain an explanation of what a specific field means.
Data [required]
The data field to be displayed.
This port is automatically initialized if you created the legend from a field data module. You can also use the pulldown to choose a field. The arrow button allows you to conveniently select the current field (displaying its properties in the Properties area).
Options
This port provides the following toggles:
- vertical: Vertical orientation instead of horizontal.
- relative size: Change size of legend when viewer size changes.
- transparent background: If off, render a background rectangle.
- font: Shows/hides the Font port.
- bg color: Sets the color of the background rectangle which is drawn when the transparent background toggle is off.
fontSettings
This port lets you edit font name, size and color of the text.Position
Position of the legend in the viewer, relative to the lower left corner. If one of the numbers is negative, it is interpreted relative to upper right corner.Size
Length and width of the legend in pixels. If the option relative size has been selected, the length and width are interpreted relative to a window size of 1000x800. If the actual viewer window is smaller (or larger), then the displayed legend will be smaller (or larger).