guiGraphSetLinePoint (Function) |
Top Previous Next |
This function sets the value of a line graph entry.
Input: graph : SYSHANDLE The handle to the graph to set the point on.
line : INT (1..4) default 1 The line to set the point on.
x : INT (-1,1..240) default -1 The position to the entry to set the value for. When set to -1, it is put in the buffer, ready to be appended when calling guiGraphScrollNext, otherwise it is set directly on the graph. The maximum value is x_count from guiGraphCreate.
y : INT default 0 The value to set the point on the line to. If the value is outside the valid range of the graph, it will be truncated.
Returns: INT
Declaration: FUNCTION guiGraphSetLinePoint : INT;
Example: INCLUDE rtcu.inc |