github leeoniya/uPlot 1.6.10

latest releases: 1.6.31, 1.6.30, 1.6.29...
3 years ago

1.6.9...1.6.10

  • [BREAKING] legend marker options (width, stroke, fill, dash) have moved from legend inwards to the new legend.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 to false 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 for u.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 expand undefined values with nulls
  • 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

Don't miss a new uPlot release

NewReleases is sending notifications on new releases.