Difference: CDPieSetLabelDistance (1 vs. 5)

Revision 52012-02-24 - JeanNeron

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

.PIE SET LBL DISTANCE

This subroutine sets the label layout for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.

Revision 42012-01-05 - JeanNeron

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

.PIE SET LBL DISTANCE

Line: 35 to 35
  NOTES:
Deleted:
<
<
If the distance is applied to all sectors (<beg_sect_no>="ALL"), then the Circular layout method will be used, regardless of what you specify via .PIE SET LBL LAYOUT.
 If you are using the 'Side' layout method, you cannot decrease the distance such that the label would be inside the "invisible rectangle". See the explanation of the 'Side' layout method in .PIE SET LBL LAYOUT.

Comments:

Revision 32012-01-04 - JeanNeron

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

.PIE SET LBL DISTANCE

Line: 8 to 8
 

Usage:

      PASS         <lbl_dist>                 FIELD            SHARE? N
      PASS         <beg_sect_no>              FIELD            SHARE? N

Changed:
<
<
PASS <END_sect_no> FIELD SHARE? N
>
>
PASS <end_sect_no> FIELD SHARE? N
  GOSUB 0CD .PIE SET LBL DISTANCE
    • Check for error IF 0CD .PIE SET LBL DISTANCE NE
Line: 33 to 33
  The last pie sector spec updated becomes the "current" pie sector spec.
Added:
>
>
NOTES:

If the distance is applied to all sectors (<beg_sect_no>="ALL"), then the Circular layout method will be used, regardless of what you specify via .PIE SET LBL LAYOUT.

If you are using the 'Side' layout method, you cannot decrease the distance such that the label would be inside the "invisible rectangle". See the explanation of the 'Side' layout method in .PIE SET LBL LAYOUT.

 

Comments:

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

Revision 22011-11-11 - JeanNeron

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

.PIE SET LBL DISTANCE

Line: 6 to 6
 

Usage:

Changed:
<
<
    
      PASS         <lbl_dist>                 FIELD            SHARE? N

>
>
      PASS         <lbl_dist>                 FIELD            SHARE? N

  PASS <beg_sect_no> FIELD SHARE? N PASS <END_sect_no> FIELD SHARE? N GOSUB 0CD .PIE SET LBL DISTANCE

Revision 12011-10-05 - JeanNeron

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

.PIE SET LBL DISTANCE

This subroutine sets the label layout for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.


Usage:

    
      PASS         <lbl_dist>                 FIELD            SHARE? N
      PASS         <beg_sect_no>              FIELD            SHARE? N
      PASS         <END_sect_no>              FIELD            SHARE? N
      GOSUB    0CD .PIE SET LBL DISTANCE
      *        Check for error
      IF       0CD .PIE SET LBL DISTANCE            NE

Description:

This subroutine sets the label distance in pixels for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector. The label distance is usually specified in conjunction with a label layout method via .PIE SET LBL LAYOUT. If a label distance is specified and a label layout method is not specified, the Circular method is used.

If <lbl_dist> is not received or is blank, then the "current" pie sector will have it's label in the default position.

If <beg_sect_no> is "ALL" or "0" and <end_sect_no> is not received or is blank, then <lbl_dist> applies to all pie

sectors.

If <beg_sect_no> and <end_sect_no> are both received and are both numeric integers, then <lbl_dist> applies to the range

of pie sectors from <beg_sect_no> thru <end_sect_no> and is stored in the corresponding pie sector specs.

If <beg_sect_no> is received and is a numeric integer and <end_sect_no> is not received or is blank, then <lbl_dist>

applies only to the <beg_sect_no> pie sector and is stored in the <beg_sect_no> pie sector spec.

If <beg_sect_no> and <end_sect_no> are both not received or are blank, then <lbl_dist> applies to the "current" pie sector and is stored in the "current" pie sector spec.

Any pie sector specs that are referenced but which do not exist are automatically created and initialized so that the <lbl_dist> can be stored.

The last pie sector spec updated becomes the "current" pie sector spec.

Comments:

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


<--/commentPlugin-->

-- JeanNeron - 2011-10-05

 
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