ChartDirector 7.0 (Java Edition)

SurfaceChart.addSurfaceLine


Usage

public void addSurfaceLine(double x1, double y1, double x2, double y2, int color [, int lineWidth [, int 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