kartben / ws-charts

2 stars 0 forks source link

Using uPlot #1

Open happytm opened 2 months ago

happytm commented 2 months ago

Can I do same using uPlot instead of Charts.js?

Thanks.

kartben commented 2 months ago

Sure. https://github.com/leeoniya/uPlot/blob/master/demos%2Fstream-data.html would probably be a good starting point

happytm commented 2 months ago

@kartben Thank you for your quick response. I have been using uPlot with ESP32 as a server but I feel my code can be improved like what you are demonstrating in your repo here. My code is below:

https://github.com/happytm/BatteryNode/tree/master/examples/SimpleGateway/data

Thanks.