Skip to content

Releases: leeoniya/uPlot

1.6.0

13 Jan 07:26
Compare
Choose a tag to compare

1.5.2...1.6.0

  • [BREAKING] the way bands work has changed to be faster, more robust and more flexible. series no longer need to be adjacent, and band definitions are now specified independently of the series, in opts.bands with series indices. this opens up cool cases like filling between arbitrary series: https://leeoniya.github.io/uPlot/demos/high-low-bands.html, and as a result can now be used for implementing real stacking: https://leeoniya.github.io/uPlot/demos/stacked-series.html. the changes required to existing code should be purely mechanical: e.g. a580c73#diff-9f8a6f3548684930b1691146303ca078d99c6a21c715b574e56fe6abaf0257f0
  • full support for chart rotation (scale direction and orientation control). https://leeoniya.github.io/uPlot/demos/scales-dir-ori.html
  • new uPlot.orient() util fn to help with grabbing the properly-oriented scales, data arrays and drawing fns
  • series.cap, series.points.cap, axis.grid.cap, axis.ticks.cap now set ctx.lineCap, which can be useful in combination with dash, to create a dotted-round line path style.
  • hz bars demo, with a tiny/fast quad-tree implementation for hit-testing & hover detection
  • align option added to bars path-builder, should be helpful for histograms
  • legend.width & legend.dash options
  • auto-init scales referenced by axes. (#418)
  • don't transform arrow functions (#423)

1.5.2

16 Dec 02:43
Compare
Choose a tag to compare

1.5.1...1.5.2

  • dynamic fill/strokes: callback sigs for fill & stroke in series & series.points
  • simplify customization of cursor hover points (can be done via cfg object, similar to series.points)
  • allow legend stroke & fill to be explicitly set. (#383)

1.5.1

12 Dec 06:20
Compare
Choose a tag to compare

1.5.0...1.5.1

  • fixes to uPlot.join() data alignment & null-filling of gaps

1.5.0

11 Dec 01:33
Compare
Choose a tag to compare

1.4.7...1.5.0

  • [BREAKING] opts.gutters: {x,y} -> opts.padding: [top,rgt,btm,lft] (#392)
  • allow drawing axes & grid over series via opts.drawOrder: ["axes", "series"] (#386)
  • extract & modularize all path-building code. linear, stepped, spline & bars path-builders are now in the core. (https://leeoniya.github.io/uPlot/demos/line-paths.html)
  • don't crash with log scales & data values <= 0; draw them as 1 magnitude below scale.min.
  • uPlot.join() util for null-filling and merging unaligned data from different sources. (similar to SQL's outer join)
  • fix for defining stroke or fill as canvas gradient or canvas pattern objects

1.4.7

04 Dec 08:30
Compare
Choose a tag to compare

1.4.6...1.4.7

  • some refinements to isGap (e.g. #387)
  • expose clip building helper util funcs
  • always draw fill before stroke (#385)
  • typings stuff

1.4.6

27 Nov 21:16
Compare
Choose a tag to compare

1.4.5...1.4.6

  • typings stuff

1.4.5

27 Nov 20:31
Compare
Choose a tag to compare

1.4.4...1.4.5

  • native support for millisecond timestamps via opts.ms: 1. (#378)
  • cycleNum arg for axis.size() & gutters.x/y(), for inf loop exit

1.4.4

21 Nov 03:21
Compare
Choose a tag to compare

1.4.3...1.4.4

  • typings (const enums)

1.4.3

20 Nov 23:32
Compare
Choose a tag to compare

1.4.2...1.4.3

  • {data, isGap} signature for .setData() & constructor

1.4.2

20 Nov 01:54
Compare
Choose a tag to compare

1.4.1...1.4.2

  • typings stuff