4D Chart v13CT EXPLODE PIE |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Chart v13
CT EXPLODE PIE
|
CT EXPLODE PIE ( area ; object ; category ; percentage ) | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
4D Chart area | |||||
object | Longint |
![]() |
Object ID | |||||
category | Integer |
![]() |
Category number of pie wedge to explode (0 = All wedges) | |||||
percentage | Integer |
![]() |
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.
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
Product: 4D Chart
Theme: CT Chart
Number:
14597
Created: 4D Chart 1