ChartDirector 5.1 (.NET Edition)

Sector.setStyle


Usage

[VB] Public Sub setStyle(shadingMethod As Integer [, edgeColor As Integer [, edgeWidth As Integer ]])
[C#] public void setStyle(int shadingMethod [, int edgeColor [, int edgeWidth ]]);

Description

Sets the sector shading style, edge color and edge width.

This method is the same as PieChart.setSectorStyle, except it only affects one sector. Please refer to PieChart.setSectorStyle for the detail explanation of this method.

Arguments

ArgumentDefaultDescription
shadingMethod(Mandatory)The sector shading style to use. -1 means to keep the existing value unchanged.
edgeColor-1The edge color of the sector. -1 means to keep the existing value unchanged.
edgeWidth-1The edge width of the sector. -1 means to keep the existing value unchanged.

Return Value

None