Open vikon72 opened 5 months ago
@vikon72 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
三万个节点数据,渲染不卡顿吗?请问下你是怎么做到不卡顿的
With large: true
, scatters don't respond to mouse hover events when data number exceeds largeThreshold
. This is necessary for performance consideration.
感谢您的指导,通过调高largeThreshold后,所有点都可以正常响应hover事件,即鼠标悬浮时鼠标样式默认会改变为手型。但是select散点时,label都无法正常显示。偶然发现将鼠标移入工具栏区域能够使散点的label正常显示,不知道是什么问题导致的?有什么解决办法吗?
Version
5.2.2
Link to Minimal Reproduction
暂无
Steps to Reproduce
准备绘制三万个左右的散点,需要实现点击散点时显示label,但是发现部分散点点击后label无法正常显示,同时发现无法正常显示label的点在鼠标悬浮时鼠标的样式未变化。正常能标记的点鼠标悬浮时鼠标样式默认会变为手型。另外进行区域放大操作后无法正常标记的散点也可以正常标记。
Current Behavior
创建了多数据集多series的散点图,部分series中所有散点可能无法正常显示label
Expected Behavior
正常点击所有的散点都可以触发点击事件,标记散点名称
Environment
Any additional comments?
No response