Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ChartView.SecondPiePoints Property

Gets or sets the data points that should be displayed in the secondary chart of a Pie of Pie or Bar of Pie chart type.

Namespace: DevExpress.Spreadsheet.Charts

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

int[] SecondPiePoints { get; set; }

#Property Value

Type Description
Int32[]

An array of Int32[] values that are the indexes of data points shown in the secondary chart.

#Remarks

If the ChartView.SplitType property is set to Custom, use the SecondPiePoints property to specify which data points should be displayed in the secondary chart of a Pie of Pie or Bar of Pie chart type.

By default, all data points in a series are numbered in the order they appear on a worksheet, starting from 0 (as shown in the image below). Determine the indexes of data points you wish to show in the secondary chart and set them to the SecondPiePoints property. As a result, you can completely control which data points will appear in the additional chart.

PieOfPieChartCustomSplit

Note

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.

See Also