ChartDirector 7.0 (PHP Edition)

PieChart.setLabelPos


Usage

setLabelPos(pos [, joinLineColor ])

Description

Sets the circular label layout method, and configure the join lines used to connect the sector labels to the sector perimeter.

This method affects all sectors. To set the sector label position or join line color for one particular sector only, use Sector.setLabelPos.

Arguments

ArgumentDefaultDescription
pos(Mandatory)The distance between the sector perimeter and the sector label. A negative value means the sector label will be drawn in the interior of the sector.
joinLineColor-1The color of the line that joins the sector perimeter with the sector label. The default is Transparent. The join line is ignored if the sector label is inside the sector.

Return Value

None