Open danielsnider opened 9 months ago
Not sure if related, but I posted a question on "slow box select" on Stack Overflow.
For clarity, in that question, I avoid the effect that is pointed out in this feature request, by using only "lines" traces, that are excluded from this functionality already (like the exclusion you want here with the selectable
flag).
Maybe it turns out the slow and laggy behaviour that is the starting point for this feature request is also related to the issue that I reported in the Stack Overflow question. An easy test would be to make your traces "lines" only (not "markers") and see if the slowness disappears (it should disappear on "lines only" for this feature of selectable
to be useful).
Hi,
When there are a lot of data traces displayed in the plot (>10,000), box select is slow and laggy when you click and drag to select data traces. I notice it is even slower in version
plotly.js@2.27.1
than it is inplotly.js@2.5.1
. A hypothetical solution for me would be if you added a feature to exclude some traces from beingselectable
, as in the example below.Example of proposed feature:
I have a temporary fix to speed up selection. When I tested this naive change, box select's click and drag is no longer laggy:
If you can tell me how to monkey patch this in, that would be very helpful!
Thanks!