ChartDirector 6.0 (ColdFusion Edition)

DrawArea.polygon


Usage

polygon(x, y, edgeColor, fillColor)

Description

Draws a polygon.

Arguments

ArgumentDefaultDescription
x(Mandatory)An array of numbers representing the x coordinates of the vertices of a polygon.
y(Mandatory)An array of numbers representing the y coordinates of the vertices of a polygon.
edgeColor(Mandatory)The border color. To disable border, set the edgeColor the same as the fillColor.
fillColor(Mandatory)The fill color. To disable filling, set the fillColor to Transparent.

Return Value

None