ChartDirector 6.0 (Ruby Edition)

Sector.setStyle


Usage

setStyle(shadingMethod [, edgeColor [, 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