Releases: leeoniya/uPlot
Releases · leeoniya/uPlot
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
spanGaps
was used with leading or trailingnull
data. (#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.idx
didn'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.values
is 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.