1.6.24
版本发布时间: 2023-01-27 15:39:41
leeoniya/uPlot最新发布版本:1.6.30(2024-01-30 04:41:47)
https://github.com/leeoniya/uPlot/compare/1.6.23...1.6.24
this release implements the ability to set custom legend value(s) when the plot is un-hovered (https://github.com/leeoniya/uPlot/issues/644).
as a consequence, it will now call any user-supplied series.value
or series.values
legend callbacks with value=null
and dataIdx=null
whenever the mouse cursor leaves the plotting area. previously, uPlot did not invoke these callbacks during mouseleave and simply put --
into the legend values.
therefore, if you neglected to handle null
values in these user-supplied callbacks, your code may need to be updated.