Adds graph to given grid. user can add points, set bytespersecond and scroll to end of graph.
More...
|
| Graph (Grid grid) |
| Makes graphcanvas to given grid with black background and initializes green line that connetcts points that are added by addpoint method. More...
|
|
void | setBytesPerSecond (int bps) |
| Sets Bytes per second for data. More...
|
|
void | AddPoint (int y) |
| Adds point to graph and scales points that srvollview width is 1 second of data. More...
|
|
void | ScrollToEnd () |
| Scrolls to end of the graph. More...
|
|
Adds graph to given grid. user can add points, set bytespersecond and scroll to end of graph.
<author>Niko Mononen</author>
Makes graphcanvas to given grid with black background and initializes green line that connetcts points that are added by addpoint method.
- Parameters
-
grid | Grid where you want this graph |
Adds point to graph and scales points that srvollview width is 1 second of data.
- Parameters
-
Scrolls to end of the graph.
void setBytesPerSecond |
( |
int |
bps | ) |
|
Sets Bytes per second for data.
- Parameters
-
The documentation for this class was generated from the following file: