Live Data Pages
We'll check out several methods of performing live updates to a graph using the Chart.js library.
- Basic method using
setInterval()
approach --> Basic Interval Polling
- Basic method using Long Polling approach --> Long Polling
- Intermediate method using Server-Sent Event approach --> Server-Sent Event
- Advanced/Intermediate method using websockets approach -->
And then we'll look at how each was accomplished here.