- new
.setLegend({idx})
API and matching hook that fires on legend updates. (#414) - new
legend.isolate
mode (Ctrl+click). (#404) opts.pxAlign
andseries.pxAlign
can now to define the pixel rounding increment to reduce micro-shifting in streaming cases. (#241)axis.values
can now be a static array- optimized handling of clientRect invalidation during resize and scrolling. also fixes bug that failed to invalidate clientRect of plots when scrolling was of an ancestor container (not window).
- fix for float math precision issues in
ms
date handling. (#472) - 50% fewer
lineTo()
calls when only 2 datapoints per pixel - data smoothing demo: https://leeoniya.github.io/uPlot/demos/data-smoothing.html
- new histogram demo below latency heatmaps: https://leeoniya.github.io/uPlot/demos/latency-heatmap.html
- timeline demo improvements