Real-time Streaming Chart Example
You should see something like this after running the demo...
Note this isn't just generating random data in the client. The server is streaming real-time data to the client.
This example shows...
- A plain HTML/JS client subscribing to the Subscription API via the Butterfly.Clients web client to receive updates on the "data-feed" channel and showing the values in a Smoothie Chart
- Implementing the Subscription API from Butterfly.Web on the server
Get the Code
git clone https://github.com/firesharkstudios/butterfly-server
cd butterfly-server\Butterfly.Example.RealtimeStreamingChart\www npm install cd .. dotnet run www
Now open a browser to http://localhost:8000/.