Skip to content

HolePercent Property

Description

Gets or sets the percent size of the hole in the middle of a pie or torus chart (sometimes called doughnut).

Property Type

Read-write property

Syntax (Visual Basic)

Public Property HolePercent() As Integer

Return Type

An integer value specifying the hole percentage.

Remarks

In the picture below, a pie chart has a hole percentage of 30 percent. Hole percentage also applies to the torus chart styles.

Pie Chart

Torus Chart

Example

Dim Style As ChartPieSeriesStyle  
Set Style = New ChartPieSeriesStyle  
Set ChartControl.Content.Series(0).Style = Style  

Style.HolePercent = 40

See Also

ChartPieSeriesStyle Object


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.