You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when it starts, it cycles from 0 to the current value. which, I guess, is exciting, but doesn't make a whole lot of sense. seems like it should just start at the current value.
it also starts from 0 if it encounters Infinity, NaN. while testing #1176 / #1177, i tried having it start from a very large number instead of Infinity, but this is tricky, because it shouldn't be so large that it displays exponents.
there is no way to transition to or from NaN so I think it should just flip fromNaN.
currently it does flip toNaN and Infinity but I think it could spin to a very large number in the latter case.
it's a breaking change, since people might like to see it spinning up, but i think i'd like it to do correct/sensible things in the future.
The text was updated successfully, but these errors were encountered:
Making the flipping explicit is probably a good thing to do. It more or less does that only because that's what d3.interpolateNumber decides to do in that case -- given its inability to flip away from said state, I suspect it's undefined behavior.
Spinning to a large number for Infinity probably isn't safe, though. There's probably plenty of folk (including myself) who are using d3.format functions that will happily (try to) display large numbers. It'd probably make my page all funky during transitions due to text wrapping.
when it starts, it cycles from 0 to the current value. which, I guess, is exciting, but doesn't make a whole lot of sense. seems like it should just start at the current value.
it also starts from 0 if it encounters
Infinity
,NaN
. while testing #1176 / #1177, i tried having it start from a very large number instead of Infinity, but this is tricky, because it shouldn't be so large that it displays exponents.there is no way to transition to or from
NaN
so I think it should just flip fromNaN
.currently it does flip to
NaN
andInfinity
but I think it could spin to a very large number in the latter case.it's a breaking change, since people might like to see it spinning up, but i think i'd like it to do correct/sensible things in the future.
The text was updated successfully, but these errors were encountered: