GraphLegend

Synopsis

Constructs a legend for the graph.

Input Port

graphs

&AGPrimitive

parent

user interface parent object

Parameters

Legend On/Off

UItoggle

Legend visibility

Legend X position

UIfield

Legend X geometry

Legend Y position

UIfield

Legend Y geometry

FillColor

UIoptionMenu

Legend background color

FrameColor

UIoptionMenu

Legend frame color

Frame Width

UIslider, UIfield

Legend frame width

Label Height

UIslider, UIfield

Label height

Number of Colums

UIfield

Number of Legend column

Label Color

UIoptionMenu

Label color

Title

UItext

Legend title

Title Height

UIslider, UIfield

Title height

Title Color

UIoptionMenu

Title color

Output Port

output

AGPrimitive

Description

GraphLegend constructs a legend for the graph that is given as input.

Input

&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 Port

output

AGPrimitive. Connects to GraphViewport and other modules.

Example

Not Available.

File

v/aghlm.v

See also related modules