Difference: CDPieSectorAddNext (2 vs. 3)

Revision 32011-11-11 - JeanNeron

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

.PIE SECT ADD NEXT

Line: 6 to 6
 

Usage:

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

>
>
      PASS         <sector_data_point>        FIELD            SHARE? N

  PASS <sector_label> FIELD SHARE? N PASS <text_spec_name> FIELD SHARE? N
Changed:
<
<
GOSUB OCD .PIE SECT ADD NEXT
>
>
GOSUB 0CD .PIE SECT ADD NEXT
 
    • Check for error
Changed:
<
<
IF OCD .PIE SECT ADD NEXT NE
>
>
IF 0CD .PIE SECT ADD NEXT NE
 

Description:

This subroutine creates a new pic chart sector spec for the "current" chart, and optionally adds a label. This is an easy way to add data and labels to your pie chart simutaneously. If you want to change the attributes of the sector just added (ie, 3D Depth, Color, etc), do that before adding the next sector. Any changes you made to the attributes of the newly added sector will be inherited by the next sector you add, unless you pass 'initialize' as the <text_spec_name> parameter (see below).
 
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