Tags:
create new tag
view all tags

.XY SET LEGEND TXT

This subroutine sets the name to be included in the Legend box.


Usage:

      PASS         <legend_name>              FIELD            SHARE? N
      GOSUB    0CD .XY SET LEGEND TXT
      *        Check for error 
      IF       0CD .XY SET LEGEND TXT         NE

Description:

Sets the name to be included in the legend box for the "current" dataset template of the current data group of the current XY Layer. You must have initialized the chart as an XY Chart via.CHART INITIALIZE and added a bar layer via .XY ADD BAR LAYER and added a data set template via .LAYER ADD DATASET TM for this to have any effect.

The parameter is optional. If not passed, or blank, the current legend will be removed and the current Text spec will be deleted. If a value is passed, it will become a legend in the current legend box.

After setting the Legend text, it becomes the "current" text spec.

See Datasets Overview for more information on data sets, data groups, and layers.

Comments:

Read what other users have said about this page or add your own comments.


-- JeanNeron - 2011-10-19

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2012-02-25 - 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