Changeset 7e749a22954faeee34e2375c26b6f7d1243562fe
- Timestamp:
- 01/08/10 20:07:06
(3 years ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1262981226 +0000
- git-parent:
[d9050a442ce49ffad4040ba933511197fe71390f]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1262981226 +0000
- Message:
in theory this works ... needs testing, refs #229
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r47a77d0 |
r7e749a2 |
|
| 12 | 12 | //set the global streaming object to the local ReconGraph object to use, |
|---|
| 13 | 13 | // and init,update the global streaming boolean to then call this from a server |
|---|
| 14 | | function plot_iframe_data(xdata, uuid, metric_name, ydata) { |
|---|
| 15 | | stream_object.ReconGraphAddPoint(xdata, uuid, metric_name, ydata); |
|---|
| | 14 | function plot_iframe_data(data) { |
|---|
| | 15 | if(data.type != 'M') return; |
|---|
| | 16 | stream_object.ReconGraphAddPoint(data.time, data.id, |
|---|
| | 17 | data.metric_name, data.value); |
|---|
| 16 | 18 | stream_dirty = true; |
|---|
| 17 | 19 | } |
|---|