ChartDirector 7.1 (.NET Edition)

Sector.setColor


Usage

[C#]public void setColor(int color [, int edgeColor [, int joinLineColor ]]);
[VB]Public Sub setColor(color As Integer [, edgeColor As Integer [, joinLineColor As Integer ]])

Description

Sets the fill color, edge color and join line color of the sector.

By default, the edge color is SameAsMainColor. For the join line color, if the circular label layout method is used, the default is Transparent, otherwise the default is SameAsMainColor.

Arguments

ArgumentDefaultDescription
color(Mandatory)The color of the sector.
edgeColor-1The edge color of the sector. -1 means the color is unchanged.
joinLineColor-1The color of the line that join the sector perimeter with the sector label. -1 means the color is unchanged.

Return Value

None