Back to Devexpress

ChartView.HoleSize Property

officefileapi-devexpress-dot-spreadsheet-dot-charts-dot-chartview-2e37d0dd.md

latest3.8 KB
Original Source

ChartView.HoleSize Property

Gets or sets the size of the hole in a doughnut chart.

Namespace : DevExpress.Spreadsheet.Charts

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
int HoleSize { get; set; }
vb
Property HoleSize As Integer

Property Value

TypeDescription
Int32

An integer value that specifies the diameter of the hole. The value must be a whole number between 10 and 90, that is measured as a percentage of the size of the plot area.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the HoleSize property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-spreadsheet-chart-api/CS/SpreadsheetWPFChartAPISamples/CodeExamples/Charts.cs#L159

csharp
// Change the hole size
chart.Views[0].HoleSize = 60;

winforms-spreadsheet-chart-api/CS/SpreadsheetChartAPISamples/CodeExamples/Charts.cs#L159

csharp
// Change the hole size
chart.Views[0].HoleSize = 60;

spreadsheet-document-api-chart-examples/CS/SpreadsheetDocServerChartAPISamples/CodeExamples/ChartActions.cs#L175

csharp
// Change the hole size
chart.Views[0].HoleSize = 60;

wpf-spreadsheet-chart-api/VB/SpreadsheetWPFChartAPISamples/CodeExamples/Charts.vb#L163

vb
' Change the hole size
chart.Views(0).HoleSize = 60

winforms-spreadsheet-chart-api/VB/SpreadsheetChartAPISamples/CodeExamples/Charts.vb#L162

vb
' Change the hole size
chart.Views(0).HoleSize = 60

spreadsheet-document-api-chart-examples/VB/SpreadsheetDocServerChartAPISamples/CodeExamples/ChartActions.vb#L171

vb
' Change the hole size
chart.Views(0).HoleSize = 60

See Also

ChartView Interface

ChartView Members

DevExpress.Spreadsheet.Charts Namespace