Releases: leeoniya/uPlot
Releases · leeoniya/uPlot
1.4.3
{data, isGap}signature for.setData()& constructor
1.4.2
- typings stuff
1.4.1
- typings stuff
1.4.0
1.3.0
series.points.spacefor density control (#326) (https://leeoniya.github.io/uPlot/demos/points.html)cursor.bindevent listener proxies for tweaking interaction behavior (#298) (https://leeoniya.github.io/uPlot/demos/cursor-bind.html)- draggable range selector demo with resize grips (https://leeoniya.github.io/uPlot/demos/zoom-ranger-grips.html)
axis.valuescan now be an fmtDate template string, similar toseries.value(#339)axis.alignfor values (#345)- softMin/softMax support for
scale.range(#328) (https://leeoniya.github.io/uPlot/demos/soft-minmax.html) scale.autocan be function for on-demand auto-ranging control. (#343)- new
self.statusnow available to all callbacks rather areadyarg to only some hooks. - new
series.isGap(self, seriesIdx, dataIdx)to allow differentiation between data-alignmentnulls and "gap"nulls (https://leeoniya.github.io/uPlot/demos/path-gap-clip.html) axis.sizecan be a callback to allow dynamic axis sizing (https://leeoniya.github.io/uPlot/demos/axis-autosize.html)- axes will now auto-toggle and chart will resize to take up available space when all series on that scale are toggled off.
- rename
u.cursor.locked->u.cursor._lock - some changes to default range behavior with data containing 1 point or no data.
- various other fixes & typings
1.2.2
1.2.1
- fix ESM build. (#307)
- decouple axis splits filtering from splits formatting (add
axis.filter(),axis.grid.filter(),axis.ticks.filter()). (#305) - fix
series.fillfor 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
- [BREAKING] expansion and improvement of the temporal
axis.valuesconfig 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-selectis placed inside.u-overas previously, or.u-under. this is now relevant since.u-overis no longeroverflow: hiddenand it's possible for a programatically-set selection inside.u-overto visually overflow the plot bounds (a consequence of fixing #301)series.auto: falsecan 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
- 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-closestfailed to toggle tooltip display on plot re-entry. - fix-demo:
tooltips-closestwas drawinginterpolatedmarkers outside plotting area when zoomed in.
1.1.1
- new:
series.fillTo()API to adjust the area-fill baseline (instead of always 0) - new:
cursor.movecallback to refine or snap cursor position - new:
legend.live: falseoption 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