Chris Blackwell
1 min readApr 18, 2017

When using streaming data, you have to think of it a bit differently. If you had a ChartJS chart you were trying to update, it wants a single data array you are passing in. You are not charting the changes, you are charting the entire data over a set period of time. If you only sent through the changes, then only the changes would be graphed, and you wouldn’t see any baseline.

You could Cache your data on the Laravel side, so the old data pulls from a datastore, and new data from the DB, but this was beyond the scope of this article.

Chris Blackwell
Chris Blackwell

Written by Chris Blackwell

Programmer and Business owner from Canada / USA. I help businesses and entrepreneurs develop amazing digital products 🚀

No responses yet

Write a response