ChartDirector 7.1 (C++ Edition)

PieChart.setStartAngle


Usage

void setStartAngle(double startAngle, bool clockWise = true);

Description

Sets the angle of the first sector in the pie and the layout direction for the sectors.

By default, the start angle is 0 degree (the upward pointing direction), and subsequent sectors are drawn clockwise.

Arguments

ArgumentDefaultDescription
startAngle(Mandatory)The angle to start drawing the first sector in degrees. The angle is measured from the upward pointing direction in the clockwise direction.
clockWisetrueFlag to control the layout direction of the sectors. A true value means clockwise. A false value means anti-clockwise.

Return Value

None