Back to Devexpress

TdxChartSimpleSeriesCustomPieView.SweepDirection Property

vcl-dxchartsimplediagram-dot-tdxchartsimpleseriescustompieview.md

latest2.9 KB
Original Source

TdxChartSimpleSeriesCustomPieView.SweepDirection Property

Specifies if Pie or Doughnut slices are arranged clockwise or counterclockwise.

Declaration

delphi
property SweepDirection: TdxChartPieSweepDirection read; write; default TdxChartPieSweepDirection.Clockwise;

Property Value

TypeDefaultDescription
TdxChartPieSweepDirectionClockwise

The current Pie or Doughnut sweep direction.

|

Remarks

Use the SweepDirection property to arrange series slices clockwise or counterclockwise. To rotate the origin of series slices, use the StartAngle property.

Property Value Examples

ValuePie Example[1]Doughnut Example[2]
TdxChartPieSweepDirection.Clockwise ( default )
TdxChartPieSweepDirection.Counterclockwise

Default Value

The SweepDirection property’s default value is TdxChartPieSweepDirection.Clockwise.

Footnotes

  1. This example demonstrates different SweepDirection property values on the same Pie series under the following conditions:

  2. This example demonstrates different SweepDirection property values on the same Doughnut series under the following conditions:

See Also

TdxChartSimpleSeriesCustomPieView.StartAngle Property

TdxChartSimpleSeriesCustomPieView Class

TdxChartSimpleSeriesCustomPieView Members

dxChartSimpleDiagram Unit