ChartDirector 7.0 (ASP/COM/VB Edition)

SurfaceChart.addSurfaceLine


Usage

addSurfaceLine(x1, y1, x2, y2, color [, lineWidth [, side ]])

Description

Adds a line segment to the surface.

Arguments

ArgumentDefaultDescription
x1(Mandatory)The x data coordinate of the first end-point of the line.
y1(Mandatory)The y data coordinate of the first end-point of the line.
x2(Mandatory)The x data coordinate of the second end-point of the line.
y2(Mandatory)The y data coordinate of the second end-point of the line.
color(Mandatory)The color of the line.
lineWidth1The line width (thickness).
side0A value of 1 means the line is drawn on the front side of the surface. A value of -1 means the line is drawn on the back side of the surface. The default value of 0 means the line is drawn on both sides of the surface.

Return Value

None