ChartDirector 6.0 (Ruby Edition)

PieChart.setStartAngle


Usage

setStartAngle(startAngle [, 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