ChartDirector 7.0 (Perl Edition)

SurfaceChart.addSurfaceZone


Usage

addSurfaceZone(x1, y1, x2, y2, fillColor [, edgeColor [, edgeWidth ]])

Description

Adds a rectangular zone to the surface.

Arguments

ArgumentDefaultDescription
x1(Mandatory)The x data coordinate for the first corner of the rectangle.
y1(Mandatory)The y data coordinate for the first corner of the rectangle.
x2(Mandatory)The x data coordinate for the corner opposite to the first corner.
y2(Mandatory)The y data coordinate for the corner opposite to the first corner.
fillColor(Mandatory)The fill color of the rectangle.
edgeColorTransparentThe border color of the rectangle.
edgeWidth1The border width in pixels.

Return Value

None