ChartDirector 7.0 (Java Edition)

Sector.setColor


Usage

public void setColor(int color [, int edgeColor [, int joinLineColor ]])

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