Commit b2dd2c1b authored by Dorian Goepp's avatar Dorian Goepp

tentative fix (second) for line chart

parent 83734571
......@@ -100,7 +100,7 @@ class RosLineChart extends Component {
if (new_data[field].length >= maxPoints) {
new_data[field].shift();
}
new_data[curve.topic+field] = this.state.data[field].concat([{"y": property(field)(message)}])
new_data[curve.topic+field] = this.state.data[curve.topic+field].concat([{"y": property(field)(message)}])
return {
data: new_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 to comment