Skip to main content

ChartView.FirstSliceAngle Property

Gets or sets the angle of the first slice in a pie or doughnut chart.

Namespace: DevExpress.Spreadsheet.Charts

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

int FirstSliceAngle { get; set; }

Property Value

Type Description
Int32

An integer value that specifies the angle, in degrees, by which the slice is rotated.

Remarks

Note that the order in which data points are plotted on a pie or doughnut chart is determined by the order of data on the worksheet.

The angle specified by the FirstSliceAngle property is measured in degrees and clockwise from the top.

45° -45° (315° in Microsoft® Excel®)
SpreadsheetChart_PieChartRotation0 SpreadsheetChart_PieChartRotation45 SpreadsheetChart_PieChartRotation315

The following code snippets (auto-collected from DevExpress Examples) contain references to the FirstSliceAngle 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.

See Also