GraphLegend constructs a legend for the graph that is given as input.
Input Ports
&graphs
AGPrimitive. Inputs the data from the graph module.
parent
A port to connect to a user interface object that contains the macro's widgets. By default, it is connected to the default user interface object in the application in which the macro is instanced. (This default connection is not drawn.)
Parameters
Legend On/Off
UItoggle. Determines whether the legend is displayed or not.
Legend X position
UIfield. Determines the Y position of the legend on the screen.
Legend Y position
UIfield. Determines the Y position of the legend on the screen.
FillColor
UIoptionMenu. Sets the background color of the Legend.
Frame Width
UIslider, UIfield. Sets the width of the legend's frame. This value can be input using either the type-in area or the slider.
Label Height
UIslider, UIfield. Sets the height of the label.
Number of Columns
UIfield. Determines the number of columns in the legend. In the case of multiple graph inputs, if all the legends are to be arranged in a vertical line, the number of columns is set as 1.
Label Color
UIoptionMenu. Sets the color of the label.
Title
UItext. Sets the title of the legend.
Title Height
UIslider, UIfield. Sets the height of the title. This value can be input using either the type-in area or the slider.
Title Color
UIoptionMenu. Sets the color of the title.
Output ports
obj
AGPrimitive. Connects to GraphViewport and other modules.