CT EXPLODE PIE

4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next

version 1


CT EXPLODE PIE (area; object; category; percentage)

ParameterTypeDescription
areaLongint4D Chart area
objectLongintObject ID
categoryIntegerCategory number of pie wedge to explode
(0 = All wedges)
percentageIntegerPercentage of the radius length
(0 through 1000)

Description

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 

4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next