Tags:
create new tag
view all tags

.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

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2012-02-19 - JeanNeron
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback