Difference: CDLegendSetKeyGapHoriz (1 vs. 4)

Revision 42012-02-19 - JeanNeron

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

.LEGEND SET KEY GAP:H

This subroutine sets the horizontal gap between two legend entries for horizontal legend layout for the "current" Legend Box.

Revision 32011-11-10 - JeanNeron

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

.LEGEND SET KEY GAP:H

Line: 9 to 9
 
      PASS         <horz_gap>       FIELD            SHARE? N
      GOSUB    0CD .LEGEND SET KEY GAP:H
      *        Check for error

Changed:
<
<
IF 0CD .LEGEND SET KEY GAP:H NE
>
>
IF 0CD .LEGEND SET KEY GAP:H NE
 

Description:

This subroutine sets the horizontal gap between two legend entries for horizontal legend layout for the "current" Legend Box. The horizontal gap is only applicable if you have used .LEGEND SET KEY LAYOUT to set the layout to 'Flow'.

Revision 22011-09-27 - JeanNeron

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

.LEGEND SET KEY GAP:H

Line: 20 to 20
  This can also be set along with vertical spacing via .LEGEND SET KEY GAP or you can set the vertical spacing directly via .LEGEND SET KEY GAP:V
Changed:
<
<
You have to define a Legend box via .CHART SET LEGEND BOX for this subroutine to have any affect.
>
>
You have to define a Legend box via .CHART SET LEGEND BOX for this subroutine to have any effect.
 

Comments:

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

Revision 12011-09-26 - JeanNeron

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

.LEGEND SET KEY GAP:H

This subroutine sets the horizontal gap between two legend entries for horizontal legend layout for the "current" Legend Box.


Usage:

      PASS         <horz_gap>       FIELD            SHARE? N
      GOSUB    0CD .LEGEND SET KEY GAP:H
      *        Check for error
      IF       0CD .LEGEND SET KEY GAP:H     NE

Description:

This subroutine sets the horizontal gap between two legend entries for horizontal legend layout for the "current" Legend Box. The horizontal gap is only applicable if you have used .LEGEND SET KEY LAYOUT to set the layout to 'Flow'.

The parameter is optional, and if supplied must be an unsigned integer in the range 0-999. If not received or blank, the gap will be automatically determined.

In horizontal legend layout, the legend entries will flow from left to right, top to bottom, with a horizontal gap between two legend entries. By default, the horizontal gap and the line spacing is automatically determined based on font size. This subroutine can be used to set the horizontal gap and line spacing in pixels.

This can also be set along with vertical spacing via .LEGEND SET KEY GAP or you can set the vertical spacing directly via .LEGEND SET KEY GAP:V

You have to define a Legend box via .CHART SET LEGEND BOX for this subroutine to have any affect.

Comments:

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


<--/commentPlugin-->

-- JeanNeron - 2011-09-26

 
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