ChartDirector 7.0 (Java Edition)

SurfaceChart.addSurfaceZone


Usage

public void addSurfaceZone(double x1, double y1, double x2, double y2, int fillColor [, int edgeColor [, int 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