Skip to main content
A newer version of this page is available. .

TdxChartSimpleSeriesCustomPieView.SweepDirection Property

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

Declaration

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

Property Value

Type Default Description
TdxChartPieSweepDirection Clockwise

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.

Examples

Value Pie Example[1] Doughnut Example[2]
TdxChartPieSweepDirection.Clockwise (default) VCL Chart Control: Pie View - Series Slices are Arranged Clockwise VCL Chart Control: Doughnut View - Series Slices are Arranged Clockwise
TdxChartPieSweepDirection.Counterclockwise VCL Chart Control: Pie View - Series Slices are Arranged Counterclockwise VCL Chart Control: Doughnut View - Series Slices are Arranged 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