ChartDirector 7.1 (C++ Edition)

PieChart.setLineColor


Usage

void setLineColor(int edgeColor, int joinLineColor = -1);

Description

Sets the sector edge color and join line color.

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

Arguments

ArgumentDefaultDescription
edgeColor(Mandatory)The colors for the edges of the sectors. By default, the edge color is SameAsMainColor, which means the edge color is the same as the fill color of the sector, and the sector will appear borderless.
joinLineColor-1The color of the line that join the sector perimeter with the sector label. By default, for circular label layout, the join line color is Transparent. For side label layout, the join line color is SameAsMainColor.

Return Value

None