SliceShowLabel Method

The SliceShowLabel method shows or hides the label for a specified pie slice. Returns a Short.

Syntax

object.SliceShowLabel( index )

object.SliceShowLabel( index, nNewValue )

 

Parameter Type Description
index Long required, index of slice (first slice = 1)
nNewValue Short required, 0 (False) or 1 (True)

 

Example

This example shows how to disable the label for the second pie slice.

Graph1.SliceShowLabel(2,False)

 

Used by: AutoPieChart object