HoleSize Property

Microsoft Office Web Components Visual Basic

Returns or sets the hole size for the specified doughnut chart. The hole size must be a value from 0 through 90 (the default value is 50). Read/write Long.

expression.HoleSize

expression    Required. An expression that returns a ChChart object.

Remarks

Setting this property to zero (0) changes the doughnut chart to a pie chart (the Type property for the ChChart object returns chChartTypePieStacked).

Example

This example sets hole size for the specified chart. Note that Charts(0) must refer to a doughnut chart.

ChartSpace1.Charts(0).HoleSize = 25