Function
Sets the data to be drawn on the graph as floating point numbers in a two-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 two-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 a floating
point number in a two-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, Line1, Line2], [Line0, Line1, Line2]]
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
|