Difference: CDAxisSetLabelFontIndex (1 vs. 3)

Revision 32012-02-25 - JeanNeron

Line: 1 to 1
Changed:
<
<
META TOPICPARENT name="CDChartDirectorDesignerAPI"
>
>
META TOPICPARENT name="CDChartDirectorXYChartRoutines"
 

.AXIS SET LBL FONT IDX

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

Revision 22012-01-13 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="CDChartDirectorDesignerAPI"

.AXIS SET LBL FONT IDX

Line: 15 to 15
 

Description:

Changed:
<
<
This subroutine sets the font index for the "current" label for the "current" axis. This is only useful if you have set an axis "current" label via .AXIS LABEL ADD NEXT.
>
>
This subroutine sets the font index for the "current" label for the "current" axis. This can be used for axis labels you added via .AXIS LABEL ADD NEXT as well as axis labels that are added automatically by Chart Director (ie, the Y-Axis labels).
  This is only required if the font you have chosen for the "current" label 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.

Revision 12011-11-11 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="CDChartDirectorDesignerAPI"

.AXIS SET LBL FONT IDX

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


Usage:

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

Description:

This subroutine sets the font index for the "current" label for the "current" axis. This is only useful if you have set an axis "current" label via .AXIS LABEL ADD NEXT.

This is only required if the font you have chosen for the "current" label 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 "current" label 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 "current" label.

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.


<--/commentPlugin-->

-- JeanNeron - 2011-11-11

 
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