1.6.13
版本发布时间: 2021-06-17 07:33:29
leeoniya/uPlot最新发布版本:1.6.30(2024-01-30 04:41:47)
https://github.com/leeoniya/uPlot/compare/1.6.12...1.6.13
- detect & sync devicePixelRatio changes (e.g. browser zoom). this makes for an SVG-like experience on desktop but not mobile, where pinch zooming does not trigger dppx MediaQueryList change events :(
- accept null values in Range.MinMax tuple to indicate auto-ranging. (#526)
- add series.points.filter() for custom per-point show/hide logic & pass in gaps array from series.paths()
- add cursor.idxs which holds indices returned by cursor.dataIdx() (for read-back)
- fix uPlot.rangeNum() in softMode: 2 auto-ranging flat/all-0 values to -100,100
- improve axis auto-size logic in demo to actually use measureText() and add in the required
axis.ticks.size
andaxis.gap