Skip to content

绘制图表时数据量过多,有些点Tooltips会显示不出来 #1594

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
LoseRecall opened this issue May 27, 2025 · 1 comment
Open

Comments

@LoseRecall
Copy link

数据大概五六百条,绘制完成后,手指滑动发现tooltip有些点不会显示出来,并且在moveOverEventMessage代理方法中,index也是直接跳过,比如221下一个直接223。请问有办法解决吗?

@LoseRecall
Copy link
Author

在Demo中setCrosshairAndTooltipToTheDefaultPositionAfterLoadingChart我构造600条数据,打印结果如下,会缺少index.

👌👌👌👌 user finger moved over!!!,get the move over event series element message:
{
"y" : 0.053594312643072177,
"index" : 20,
"offset" : {
"plotX" : 16.249599004876998,
"plotY" : 635.77462832264996
},
"name" : "Tokyo Hot",
"x" : 20,
"category" : 20
}
👌👌👌👌 user finger moved over!!!,get the move over event series element message:
{
"y" : 0.45894135638581157,
"index" : 21,
"offset" : {
"plotX" : 16.874824053160001,
"plotY" : 376.91967625328999
},
"name" : "Tokyo Hot",
"x" : 21,
"category" : 21
}
👌👌👌👌 user finger moved over!!!,get the move over event series element message:
{
"y" : 0.26917025406592765,
"index" : 23,
"offset" : {
"plotX" : 18.125274149727002,
"plotY" : 498.10765666037003
},
"name" : "Tokyo Hot",
"x" : 23,
"category" : 23
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant