Releases: leeoniya/uPlot
Releases · leeoniya/uPlot
1.1.0
- new: logarithmic scales (via
scale.distr: 3) - new:
uPlot.rangeLog()anduPlot.fmtNum()util funcs - new:
cursor.dataIdxcan now transform the hovered idx to a different data idx used for legend display and cursor hover points - chg: all CSS classes are now prefixed with
u-. also, some legend classes got better names - chg: axis functions now receive
axisIdxas an argument - chg:
axis.splitoption renamed toaxis.splits - fix: saner & more consistent scale padding (ranging) behavior
- demo: log scales
- demo: stepped-line
- demo: wheel-drag x-panning
- demo: latency heatmap
- demo: box & whisker plot
- demo: nearest non-null hover
- various minor perf tweaks and typings fixes
1.0.11
- fix for data gaps (null values) at start and end of datasets when
spanGaps: true - fix for plots with leading/trailing gaps and only single data point
- fix for initially empty-data plots improperly retaining initial y-scale min/max after first setData() call
- fix for deleting a series when
legend.show: false
1.0.10
- fix path filling oddities when
spanGapswas used with leading or trailingnulldata. (#253)- this includes the removal of the
spanGaps' function signature (a minor breaking change to an uncommon api)
- this includes the removal of the
- fix an init bug by setting default y scales (#252)
- perf optimizations for mousemove & legend display
- don't re-calc date values on setCursor if
cursor.idxdidn't change - tzDate is expensive to do on mousemove. add fast path for Etc/UTC (since there's less involved for DST & timezone logic) (#252 (comment))
- don't re-calc date values on setCursor if
1.0.9
- many improvements to cursor & zoom-drag behavior by @EmiPhil:
- reliable snapping to chart edges (#244)
- adaptive zoom-drag modes with minimum drag distance opts (
opts.cursor.drag.uni,opts.cursor.drag.dist) - better sync behavior that now defaults to syncing by scale value rather than % across chat widths, this allows much more ergonomic ranger demo implementation & better behavior (
opts.cursor.sync.scales):
- cursor hover points no longer remain visible after zooming to a scale range without data. (#237)
- graceful fallback when
axis.valuesis customized with a reduced granularity without also reducingaxis.incrs(#234) - it's now possible to omit both series and data entirely without having to create placeholder data & series (#217)
- fix series point diameters when
series.width: 0. - typings fixups, some other minor stuffs.