3 ms·
Thanks for the info! flot is what I settled on, too, but performance with a lot of datapoints was not so great. Maybe it was just too much data. Also, the time
by moeffju 16y ago
Thanks for the info!
flot is what I settled on, too, but performance with a lot of datapoints was not so great. Maybe it was just too much data. Also, the timeline view was really annoying, but JS' Date function are to blame for that. But with Flash out of the question and Raphael even slower, I suppose it's the best option for now.
- thedz 16y agoHow many datapoints are you using? One things that I've done (though in the end, we didn't need it realistically) was use a resolution function to tune the datapoints to fit the canvas width. If your canvas is only, say, 400 pixels wide, then any time series datapoints more then 400 will get lost -- there's simply not enough pixels to display them accurately. As such, you can use a resolution function to reduce that down to 400.
- moeffju 16y agoI have way more; I downsample to temporary mongodb collections and display the closest resolution for the available width. I also found it hard to decide on a resolution function for analytics. Do we show the maximum of a time range? The average? Median? Min and max?