Function
Sets the data to be drawn on the graph as floating point numbers in a one-dimensional array.
Format
Ret = dncGraph1.DisplayData(Data)
Parameters
Data [ C#: float[] ] [ VB.NET: Single() ]
Specifies the graph data. Specify the data
as floating-point numbers 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 is stored as floating point numbers 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.0, 100.0, 200.0
Line No.1 data 100.0, 200.0, 300.0
Line No.2 data 200.0, 300.0, 400.0
Draw a graph with the above data.
C# |
int Ret
|
VB.NET |
Dim Ret As Integer For data_no = 0 To 2
|