ChartDirector 7.1 (C++ Edition)

Sector.setLabelPos


Usage

void setLabelPos(int pos, int joinLineColor = -1);

Description

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

To set the sector label position or join line color for all sectors, use PieChart.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