PieOrientation
is an option for PieChart that determines the placement of the first piece of data.
PieOrientation
PieOrientation
is an option for PieChart that determines the placement of the first piece of data.
Details and Options
- To use PieOrientation, you first need to load the Pie Charts Package using Needs["PieCharts`"].
- PieOrientation->θ starts the pie chart along the angle θ. θ=0 corresponds to the positive x axis, and increases in a counterclockwise direction.
- PieOrientation->dir fills the pie chart in the specified direction. dir can be either "Clockwise" or "CounterClockwise".
- PieOrientation->{θ,dir} starts along the angle θ and proceeds in the direction dir.
- PieOrientation->Automatic is the same as PieOrientation->{0,"CounterClockwise"}.
Examples
Basic Examples (1)
Needs["PieCharts`"]The first pie wedge normally starts along the positive x axis and proceeds in a counterclockwise direction:
PieChart[{1, 2}, PieOrientation -> Automatic]Start along the positive y axis:
PieChart[{1, 2}, PieOrientation -> Pi / 2]Proceed in a clockwise direction:
PieChart[{1, 2}, PieOrientation -> "Clockwise"]Start along the positive y axis, and proceed in a clockwise direction:
PieChart[{1, 2}, PieOrientation -> {Pi / 2, "Clockwise"}]Related Guides
Text
Wolfram Research (2007), PieOrientation, Wolfram Language function, https://reference.wolfram.com/language/PieCharts/ref/PieOrientation.html.
CMS
Wolfram Language. 2007. "PieOrientation." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/PieCharts/ref/PieOrientation.html.
APA
Wolfram Language. (2007). PieOrientation. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/PieCharts/ref/PieOrientation.html
BibTeX
@misc{reference.wolfram_2026_pieorientation, author="Wolfram Research", title="{PieOrientation}", year="2007", howpublished="\url{https://reference.wolfram.com/language/PieCharts/ref/PieOrientation.html}", note=[Accessed: 16-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_pieorientation, organization={Wolfram Research}, title={PieOrientation}, year={2007}, url={https://reference.wolfram.com/language/PieCharts/ref/PieOrientation.html}, note=[Accessed: 16-June-2026]}