3 ms·
How 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 dat
by thedz 16y ago
How 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?