ChartDirector 7.1 (C++ Edition)

SurfaceChart.addSurfaceZone


Usage

void addSurfaceZone(double x1, double y1, double x2, double y2, int fillColor, int edgeColor = Chart::Transparent , int edgeWidth = 1);

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