SliceFill Method

The SliceFill method returns AutoFill object for the specified pie slice. This is a read-only property.

Syntax

object.SliceFill( index )

 

Parameter Type Description
index Long required, index of slice (first slice = 1)

 

Example

This example changes the fill of the third slice. Note that you need to set a fill pattern before setting the fill color.

Graph1.SliceFill(3).PatternName = "Granite"

 

Used by: AutoPieChart object