Function
Sets the data to be drawn on the graph with an integer value of a one-dimensional array.
Format
Ret = dncGraph1.DisplayData(Data)
Parameters
Data [ C#: int[] ] [ VB.NET: Integer() ]
Specifies the graph data. Specify the data
as an integer value in a one-dimensional array.
Return value
Ret [ C#: int ] [ VB.NET: Integer ]
Value |
Description |
0 |
Normality completion |
510001 |
The input parameter is invalid. Check the parameter contents. |
Other errors (see: Error code details)
Remarks
The data to be drawn are stored as integer
value in a one-dimensional array.
According to the number of lines and the number of Y-axis data to be drawn,
the data from the first channel to the last channel are stored as a set.
[Stored image]
Draw 3 lines for 2 Y-axis data
[Line0[data0], Line1[data0], Line2[data0], Line0[data1], Line1[data1],
Line2[data1]]
The graph is drawn in a format that the data are inserted in order to the left end of the Y axis.
Example
Line No.0 data 0, 100, 200
Line No.1 data 100, 200, 300
Line No.2 data 200, 300, 400
Draw a graph with the above data.
C# |
int Ret
|
VB.NET |
Dim Ret As Integer For data_no = 0 To 2
|