Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
behaviors-ai-public
LaVizu
Commits
b2dd2c1b
Commit
b2dd2c1b
authored
May 28, 2019
by
Dorian Goepp
Browse files
tentative fix (second) for line chart
parent
83734571
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/LineChart/RosLineChart.js
View file @
b2dd2c1b
...
...
@@ -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,
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment