4D Chart v13

CT EXPLODE PIE

Home

 
4D Chart v13
CT EXPLODE PIE

CT EXPLODE PIE 


 

CT EXPLODE PIE ( area ; object ; category ; percentage ) 
Parameter Type   Description
area  Longint in 4D Chart area
object  Longint in Object ID
category  Integer in Category number of pie wedge to explode (0 = All wedges)
percentage  Integer in Percentage of the radius length

The CT EXPLODE PIE command moves the specified wedges of a pie chart away from the center of the pie.

category is the number of the category whose wedge should be moved. If category is 0, all wedges are moved.

percentage is the distance to move the wedge, specified as a percentage of the radius length. Therefore, if the pie chart is resized, the distance changes to reflect the new radius.

Example  

This example explodes the first three pieces of the pie chart specified by $ChartID. Each wedge is moved out a distance of 5% of the pie’s radius.

 For($i;1;3)
    CT EXPLODE PIE(Area;$ChartID;$i;5)
 End for

 
PROPERTIES 

Product: 4D Chart
Theme: CT Chart
Number: 14597

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1