Skip to content

Releases: leeoniya/uPlot

1.4.2

20 Nov 01:54
Compare
Choose a tag to compare

1.4.1...1.4.2

  • typings stuff

1.4.1

19 Nov 21:10
Compare
Choose a tag to compare

1.4.0...1.4.1

  • typings stuff

1.4.0

18 Nov 22:52
Compare
Choose a tag to compare

1.3.0...1.4.0

  • switch to a deferred/async rendering strategy.
  • add a 2.5 multiple for built-in axis.incrs
  • x/y gutter auto-sizing, similar to axis auto-sizing (#362)

1.3.0

06 Nov 05:36
Compare
Choose a tag to compare

1.2.2...1.3.0

1.2.2

29 Sep 05:45
Compare
Choose a tag to compare
  • fix axis splitting for year+ incrs to account for leap years. (#310)
  • improve empty chart creation. init default x/y scales without relying on x/y series presence. (#309)
  • add raw xValue arg to cursor.dataIdx() to simplify adjustment of the hovered points. (#313)

1.2.1

18 Sep 07:06
Compare
Choose a tag to compare
  • fix ESM build. (#307)
  • decouple axis splits filtering from splits formatting (add axis.filter(), axis.grid.filter(), axis.ticks.filter()). (#305)
  • fix series.fill for log scales trying to fill to non-existent 0. (#306)
  • log base 2 support as axis.log: 10 | 2 (#304): https://leeoniya.github.io/uPlot/demos/log-scales2.html
  • fix rounding errors in rangeLog() which threw an infinite loop for values < 1e-3
  • some internal cleanup and optimizations

1.2.0

16 Sep 06:01
Compare
Choose a tag to compare
  • [BREAKING] expansion and improvement of the temporal axis.values config array. (see #303, #299, 9c56102)
  • fix a long-standing bug where series hover points were cut off at plot edges (#301)
  • {select: {over: true}} ability to choose whether .u-select is placed inside .u-over as previously, or .u-under. this is now relevant since .u-over is no longer overflow: hidden and it's possible for a programatically-set selection inside .u-over to visually overflow the plot bounds (a consequence of fixing #301)
  • series.auto: false can be used to exclude a series' data from being considered when auto-ranging its y scale
  • a bunch of fixes for plots with no datapoints, or single datapoint
  • new demo: https://leeoniya.github.io/uPlot/demos/y-shifted-series.html
  • much-improved line-smoothing demo using Centripetal Catmull-Rom Spline algo

1.1.2

24 Aug 22:20
Compare
Choose a tag to compare
  • fix: DST rollover periods were dropping axis splits when zoomed in to <= 1hr resolutions
  • fix: more accurate floating point math when generating axis splits with decimals.
  • fix: regression caused by precision increase and add more guards against infinite loops.
  • fix-demo: tooltips-closest failed to toggle tooltip display on plot re-entry.
  • fix-demo: tooltips-closest was drawing interpolated markers outside plotting area when zoomed in.

1.1.1

21 Aug 23:14
Compare
Choose a tag to compare
  • new: series.fillTo() API to adjust the area-fill baseline (instead of always 0)
  • new: cursor.move callback to refine or snap cursor position
  • new: legend.live: false option to disable live cursor values (static legend)
  • fix: force update legend for setData() calls, even when cursor.idx is unchanged
  • fix: also defocus hovered points when defocusing inactive series
  • fix: typings & demos

1.1.0

02 Aug 08:51
Compare
Choose a tag to compare
  • new: logarithmic scales (via scale.distr: 3)
  • new: uPlot.rangeLog() and uPlot.fmtNum() util funcs
  • new: cursor.dataIdx can 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 axisIdx as an argument
  • chg: axis.split option renamed to axis.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