Difference: CDPieSetSectorExplosionDistance (1 vs. 3)

Revision 32012-02-24 - JeanNeron

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

.PIE SET SECT EXP DIST

This subroutine sets the distance between exploded sectors for the "current" or specified sector specs.

Revision 22011-11-11 - JeanNeron

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

.PIE SET SECT EXP DIST

Revision 12011-10-04 - JeanNeron

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

.PIE SET SECT EXP DIST

This subroutine sets the distance between exploded sectors for the "current" or specified sector specs.


Usage:

      PASS         <exp_dist>                   FIELD            SHARE? N
      PASS         <beg_sector_no>              FIELD            SHARE? N
      PASS         <end_sector_no>              FIELD            SHARE? N
      GOSUB    0CD .PIE SET SECT EXP DIST
      *        Check for error
      IF       0CD .PIE SET SECT EXP DIST        NE

Description:

This subroutine sets the distance (in pixels) between exploded sectors for the sector for the "current" or specified sector(s). You must have set the sector position to 'Exploded' via .PIE SET SECT POSITION for the selected sectors in order for this to have any effect.

If <exp_dist> is not received or if the value received is blank, then the distance is set to the default value.

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

If <beg_sect_no> and <end_sect_no> are both received and are both numeric integers, then the position 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 the position applies only to the <beg_sect_no> pie sector.

If <beg_sect_no> and <end_sect_no> are both not received or are blank, then the position 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 position 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-04

 
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