.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ChartView.SplitType Property

Gets or sets a value that specifies the way to split the data points between the main chart and secondary chart in a Pie of Pie or Bar of Pie chart type.

Namespace: DevExpress.Spreadsheet.Charts

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


OfPieSplitType SplitType { get; set; }
Property SplitType As OfPieSplitType

Property Value

Type Description

An OfPieSplitType enumeration value specifying the way to split a Pie of Pie or Bar of Pie chart.


Use the SplitType property to determine how to split a Pie of Pie or Bar of Pie chart, and then set the ChartView.SplitPosition property (or the ChartView.SecondPiePoints property if the custom split is specified) to adjust the number of data points that appear in the secondary chart.


Currently, the SpeadsheetControl does not display the Pie of Pie or Bar of Pie chart types. However, they can be loaded and stored in supported formats, and you can create and modify them programmatically.

The image below shows the Pie of Pie chart with the secondary chart containing the four smallest values (the workbook is opened in Microsoft® Excel®).



The example below demonstrates how to create a Pie of Pie chart and specify the number of data points that should appear in the secondary chart by setting the ChartView.SplitType and ChartView.SplitPosition properties. In this example, the last four values will be displayed in the secondary pie chart.

Worksheet worksheet = workbook.Worksheets["chartTask6"];
workbook.Worksheets.ActiveWorksheet = worksheet;

// Create a Pie of Pie chart and specify its position.
Chart chart = worksheet.Charts.Add(ChartType.PieOfPie, worksheet["B2:C11"]);
chart.TopLeftCell = worksheet.Cells["E2"];
chart.BottomRightCell = worksheet.Cells["L16"];

// Specify the number of data points to be displayed in the secondary chart (the last four values).
chart.Views[0].SplitType = OfPieSplitType.Position;
chart.Views[0].SplitPosition = 4;

// Show data labels as percentage values.
chart.Views[0].DataLabels.ShowPercent = true;
See Also