NumberOfSlices Property

The NumberOfSlices property returns or sets the number of pie slices in a pie chart. Returns a Long.

Syntax

object.NumberOfSlices

object.NumberOfSlices = NumberOfSlices

 

Parameter Type Description
NumberOfSlices Long required, number of slices, Must be between 1 and 200

 

Example

This example shows how to set the number of slices for a pie chart.

Graph1.numberOfSlices = 4

 

Used by: AutoPieChart object