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
Ah! Yep, missing for me too in Safari. Even weirder, when I start dragging one of the ends of the axis, very often the points appear, then they disappear again on mouseup, until I get to a range of ~500 then they stay visible.
So feels to me like this is a bug in Safari's SVG rendering engine, some optimization when the total coordinate range on the plot is very large (the off-screen point is translated up 2159999999865 pixels!) that it stops doing when things get more complicated (in this case, while dragging the end of the axis we apply a scale transform to the points).
We could try to work around this bug by restricting the number of pixels we'll try to shift; that should be fine for markers, but we'll have to be careful if we do this for lines, so that they keep the correct angle while shooting off-screen, so we'd need to constrain x and y together in a smart way.
codepen
there should be 2 points visible in that plot, but there are none.
Comment out the range to see the 3 points
The text was updated successfully, but these errors were encountered: