ChartDirector 7.1 (C++ Edition)

SurfaceChart.addSurfaceLine2


Usage

void addSurfaceLine(DoubleArray x, DoubleArray y, int color, int lineWidth = 1, int side = 0);

Description

Adds a multi-segment line to the surface.

Arguments

ArgumentDefaultDescription
x(Mandatory)An array of containing the x coordinates of the data points that define the line.
y(Mandatory)An array of containing the y coordinates of the data points that define 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