joewalnes / smoothie

Smoothie Charts: smooooooth JavaScript charts for realtime streaming data
http://smoothiecharts.org
Other
2.25k stars 232 forks source link

Bug where series jumps between itself and another series #90

Closed eddiew closed 6 years ago

eddiew commented 6 years ago

I'm seeing a bug that manifests like this: smoothie-bug

Sometimes a time series will jump between its own value and another series' value, creating weird filled-in sections of the chart. Additionally, this jumping seems to be able to occur retroactively.

drewnoakes commented 6 years ago

Can you share some code that reproduces this? I can't imagine why this is happening.

eddiew commented 6 years ago

I'll work on finding a minimum example to reproduce this, but for now my hunch is that the issue arises from a race condition in calling TimeSeries.append to different series concurrently.

eddiew commented 6 years ago

Turns out that smoothie was not the culprit. I had a bug with the file tailer I was using