ChartDirector 6.2 (.NET Edition)



[C#] public void setLabelPos(int pos [, int joinLineColor ]);
[VB] Public Sub setLabelPos(pos As Integer [, joinLineColor As Integer ])


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.


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