ChartDirector 7.1 (.NET Edition)
SurfaceChart.addSurfaceLine
Usage
[C#] | public void addSurfaceLine(double x1, double y1, double x2, double y2, int color [, int lineWidth [, int side ]]); |
[VB] | Public Sub addSurfaceLine(x1 As Double, y1 As Double, x2 As Double, y2 As Double, color As Integer [, lineWidth As Integer [, side As Integer ]]) |
Description
Adds a line segment to the surface.
Arguments
Argument | Default | Description |
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. |
lineWidth | 1 | The line width (thickness). |
side | 0 | A 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
© 2023 Advanced Software Engineering Limited. All rights reserved.