ChartDirector 7.0 (Java Edition)

PieChart.setStartAngle


Usage

public void setStartAngle(double startAngle [, boolean clockWise ])

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