.CHART SET LEGEND BOX
This subroutine is called to create a legend box on your chart.
Usage:
PASS <x_coordinate> FIELD SHARE? N
PASS <y_coordinate> FIELD SHARE? N
GOSUB 0CD .CHART SET LEGEND BOX
* Check for error
IF 0CD .CHART SET LEGEND BOX NE
Description:
If you want to have a legend on your chart, you must first call this routine to indicate where on your chart the legend should appear. The X and Y coordinates locate the center of the left side of the legend. These should be unsigned integers in the range 0-99999. The legend box will expand as necessary to display all the label names.
After completion, the legend box will become the "current" legend and the "current" text object. You can call additional .TEXT routines to set the font type, size, color, style, etc. You can also call additional .LEGEND routines to set other attributes for the Legend box itself.
This subroutine sets a result value in the corresponding results Token field.
Comments:
Read what other users have said about this page or add your own comments.
--
JeanNeron - 2011-09-21