nagix / chartjs-plugin-streaming

Chart.js plugin for live streaming data
MIT License
515 stars 130 forks source link

Streaming for non timebased data #165

Open iilyak opened 2 years ago

iilyak commented 2 years ago

I have a stream of data which doesn't have a timestamp. The rate of events is so high that I need a microseconds resolution to use timestamp based approach. I know that JS doesn't support microseconds in Date object This means calling new Date() will not work.

I have a monotonically increasing event id (integer). Is there a way I can implement a scrolling chart similar to the one provided by streaming plugin (with zoom feature) using linear scale instead of time or realtime?

dayaftereh commented 1 year ago

+1