Commit 9fa9dffb by John Doe

fix raw data parsing with sparse element selection

parent 8f19a114
Showing with 1 additions and 1 deletions
...@@ -183,7 +183,7 @@ class LoadStreamData ...@@ -183,7 +183,7 @@ class LoadStreamData
end end
ts = row[0] ts = row[0]
elements.each_with_index do |elem, i| elements.each_with_index do |elem, i|
data[i][:values].push([ts, __scale_value(row[1 + i], elem)]) data[i][:values].push([ts, __scale_value(row[1 + elem.column], elem)])
end end
end end
data data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment