Tags:
create new tag
view all tags

.AXIS SET TTL FONT IDX

This subroutine sets the font index for the title of the "current" axis.


Usage:

      PASS         <font_index>               FIELD            SHARE? N
      PASS         <font_no>                  FIELD            SHARE? N
      GOSUB    0CD .AXIS SET TTL FONT IDX
      *        Check for error
      IF       0CD .AXIS SET TTL FONT IDX     NE

Description:

This subroutine sets the font index for the title for the "current" axis. You must have selected a "current" axis via .AXIS SET CURRENT before calling this routine. This is only useful if you have set an axis title via .AXIS SET TITLE.

This is only required if the font you have chosen for the title is a font family that contains multiple fonts. The font index you pass here tells Chart Director which font within the family it should use.

<font_index> refers to the index of a font within the font family. If blank or not passed, index 0 will be used. Must be in the range 1 to 9.

<font_no> refers to the which of the three possible fonts the index applies to. If blank or not passed, font number 1 will be used. Must be in the range 1 to 3.

The axis title text box become the "current" text box and subsequent calls to the various text subroutines may be made to further set/modify the text attributes of the axis title.

See FontSpecifications for more information on setting fonts and font numbers.

Comments:

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


-- JeanNeron - 2011-11-10

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 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