1.6.10
版本发布时间: 2021-05-26 23:15:17
leeoniya/uPlot最新发布版本:1.6.30(2024-01-30 04:41:47)
https://github.com/leeoniya/uPlot/compare/1.6.9...1.6.10
- [BREAKING] legend marker options (
width
,stroke
,fill
,dash
) have moved fromlegend
inwards to the newlegend.markers
. these are not commonly used opts, so it felt okay to break them mechanically as part of introducing another marker-specific option (below) -
legend.markers.show
can now be set tofalse
to disable markers and render the labels with the stroke or fill color. (#514) -
opts.gap
for bars pathBuilder - formal band manip methods:
.addBand()
,.setBand()
,.delBand()
. (#516) - new
syncRect
hook for notifying when.getBoundingClientRect()
is called after scroll or resize - expose
.u-over
and.u-under
as instance props to reduce need foru.root.querySelector(".u-over")
, reduces plugins boilerplate and improves perf - ensure axis auto-sizing converges after 3 cycles (fixes infinite loops & ui lockups if externally-provided
axis.size()
function fails to properly converge) - fix
join()
to not expandundefined
values withnull
s - fix cursor sync
setSelect
using own scale keys for lookups instead of emitter's - fix regression:
cannot read 'scale' of undefined
error when initializing uPlot with no y series (#519) - fix y-scale auto-ranging: treat deltas < 1e-9 as flat. fixes min/max of e.g. 89.69999999999999, 89.7
- add
undefined
to AlignedData type series value arrays - bars pathBuilder improvements
- various demos refinements