Download Function Reference Manual - DSP Development Corporation

Transcript
font
- Optional. Integer specifying a font type. Defaults to 0. Valid
arguments are:
0
1
2
3
4
5
6
7
8
9
10
11
-
NORM_FONT
SMALL_FONT
STATLINE_FONT
POPBOX_FONT
WINLABEL_FONT
TOOLBAR_FONT
LISTBOX_FONT
MENU_FONT
USER1_FONT
USER2_FONT
USER3_FONT
PANEL_FONT
box
- Optional. Integer. 0: OFF; 1: ON. Draws a box around the legend
text. Defaults to 1.
margin_flag
- Optional. Integer. Margin to be adjusted. Defaults to -1. Valid
arguments are:
-1
0
1
2
3
focus
-
No Margin Adjustment.
Top Margin.
Right Margin.
Bottom Margin.
Left Margin.
- Optional. Integer. In a Window with overlays, the desired series.
Returns:
A legend associated with the various series in the Window.
Example:
legcur(1, 12, -1, 0, 0, -1, 1)
returns a legend in the current Window that does not scroll with the Worksheet, has light
red text against a background the same color as the window, with small font, with the
default margin style, and that has as focus the first series overlayed into the window.
Remarks:
If the Window in which you have inserted a legend with LEGCUR evaluates often, you
might want to try using LEGEND instead. Because LEGCUR is a plot-time function,
every time the Window is reevaluated, LEGCUR inserts a new cursor in the Window.
Until you set the cursor’s position, the Window is frozen at that point.
LEGCUR derives the text it uses in the legend from the comments associated with each
series in the window. You can manipulate comments using the SETCOMMENT,
GETCOMMENT, and COMMENT functions.
428