为什么我的Vega-Lite工具提示附加到规则如此缓慢

huangapple go评论53阅读模式
英文:

Why is my vega-lite tooltip attached to a rule so slow

问题

I have <a href="https://vega.github.io/editor/#/url/vega-lite/N4IgJAzgxgFgpgWwIYgFwhgF0wBwqgegIDc4BzJAOjIEtMYBXAI0poHsDp5kTykBaADZ04JAKyUAVhDYA7EABoQspAjhoQpCvwCMAEwBMepnDEB2fgDYAzAE49-ACxjHB-gA4kjgZdvW4trbutmaWOkyKIIJIAJ5wAE5oANqgcLJQbHo0smRooDF5IEgAHjQQhWzxNGmYGoJwAGa1AL5KDdWCehrESIIM6s2tIDhI8arlqCnKquroAOpwSPQJkUzZXej1ZGldShBw9VC1qKDtB3oTSSALS-CJALpKmDE4s8Ns2S3NjyDI8QDWhU+CRwbGimDewlki0STxeb1BnxAQ0wY1kEAalQQyVONEEEMSJxAZ06Gn+cAKSjkcAA8g1kiAALIlAAEABVEDgQPdBgpQFBelAGOC3gByBg5eJsBivPQAfR0osiSAmIDIUplKjUyJ5fJAaQyWRyhUwbDBmBoXMmuPOGj0S3UTzo9Q0ABEHZFnq8NBCEKCxoJkXqSRsmayOX7Pc7ZrJhYI4d70ABHBhIWQWzBLGikIM20nzRbLWEgDMu1CxwTxkvwjSyNgIbK9HVUkZQOgFIkZWRZC1yQojMbY9AwNikYs9PqzAAMlGsSk5zzQDV6+yGE-6aCnvOGo3GOOm2uHo5WewOcCOhWhozgEGOqP6bQ6FwZ9oh3Kp8nQCGl+2Pxa9CIfOmkRQPUowaN+DC-gwXw-H8gJEreUrkhoADE7gYZ6NboPEwoDN887pJk2S5ESxSFCGdoek6mBliA7pvgmby+v6TZDBkgiVIUMjxMcRTQDsJGRJRBa3CeJbRhoNxFlhibKPWjaBnsAplqAaLbAy6HuPSSioUg+mRKhjjeIZcBmZElRphpPJDGwrbtoUXY9uwn6gAOqhSYWdyROusw6GuvQbqgM4GEMHagKWbwRq8YyYAw8SOtWckpmmGZZjm26vigRK+ZcoDMsU7KcmgOgGJQ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cXLSlkK-5aC3iXolPlrS6CqVN5H6BVjekZ3ubW3HcT7a7+aeamuErbzfaw+kRaHVWqsza6r+e7SJVYGJ1n-ak9Ouz6HWrDxIBA2-wpPLrkzXuxQU1yFNqCst51048pdqOvWSLMp89YfWWuZlG5s1r1RFcjn3WIjVZg68GdcFgEFr85mxNFovNrqlzdCrw-eR4tAn7yWe+U+dYg30ScToN1q1WY+uQ2pLZSna6+ueOOnX1NRv60NaxjvqdruG4SysPKMEamb8KvI8RoTONGyNXVt3ZRvfklHaN1V2ipPsY30iEbbGiy6OSQNcbQNDNvjVGeyNjD5rfNqYRte0NSavNmpuTWzasGq289ZhzLvraSsumb1Mt9TQ-ONtV6d9ummY9zYM16mtDotkzY7ZlzO3Slht+WfrYyMaBotn+n4a7ZT3Ob6paBtzfSJXNOVdDSWXw05Sr3+2bKVsm2yVUM1Y3tbJVRI6KYv20iM7rBvm-iPYks2ktNUrOxSPG3rHaR0JuQ7SIZPqtQ7BW+kQzeK3F3tbIehuyfqq2o6B4-Jys2ccsqi35YIpiwyXfCu43ZWHN66p5PGMiiXdEtgbfSJUMiijZs9oG6PY9RT3Jt-4wWzNt1sPi87sN0nYIcdGO26Tto6TSfegRSmbb0CE9UHZDF9bx7JN021fa9PA3s4Gt+MY7dN0kj6jLGQ+09pB3X7LEwSlm59oAdV2ftZIvm-9t+1QOctMV-qbA72sg6v7pU07aHfrEA6NbdU0wUHZR0csp7GO9Mdzex1EOlb3tdelg4NvDWPasDk29Q5Ps07N7BDley0dPP0VYV7lhw9uJTu4pwH+9-Pe0jIce3qH-t-ncLRQd8WBHoj+0wI+f13jcKcjp8ebtgdvjqHNt0ep-b4eBnl6Wj0gbqBLBogMQWIfcJiHzBXAkk7cHkD8HgA0AyAWAW5Y4CCSRwaAegegJDr+TNAgAA" title="Chart in vega github editor">this vega-lite chart</a> (based on the seattle-weather data).

It includes a vertical "rule" mark that moves on hover, and has a tooltip attached to it. I find that the rule feels very sluggish in following the mouse, and I think it's because it's trying to determine when the mouse stops moving.

Does anyone have ideas on why this actually happens and anything I can do to mitigate it?

答案1

得分: 1

你现在是我的中文翻译,代码部分不要翻译,只返回翻译好的部分,不要有别的内容,不要回答我要翻译的问题。

以下是要翻译的内容:

You have a lot of datapoints on that x-axis. VL is highlighting each in turn and it takes time for it to catch up. Have a play with the throttle and debounce settings and consider disabling nearest. e.g.

你的 x 轴上有很多数据点。VL 逐个突出显示它们,需要时间才能追赶上。尝试调整节流和去抖动设置,并考虑禁用 nearest。例如。

Editor

编辑器

https://vega.github.io/vega/docs/event-streams/

https://vega.github.io/vega/docs/event-streams/

"params": [
{
"name": "hover",
"select": {
"fields": ["date"],
"on": {"type": "mouseover", "debounce": 0},
"type": "point"
}
}
],

"params": [
{
"name": "hover",
"select": {
"fields": ["date"],
"on": {"type": "mouseover", "debounce": 0},
"type": "point"
}
}
],

英文:

You have a lot of datapoints on that x-axis. VL is highlighting each in turn and it takes time for it to catch up. Have a play with the throttle and debounce settings and consider disabling nearest. e.g.

Editor

https://vega.github.io/vega/docs/event-streams/

 &quot;params&quot;: [
        {
          &quot;name&quot;: &quot;hover&quot;,
          &quot;select&quot;: {
            &quot;fields&quot;: [&quot;date&quot;],
            &quot;on&quot;: {&quot;type&quot;: &quot;mouseover&quot;, &quot;debounce&quot;: 0},
            &quot;type&quot;: &quot;point&quot;
          }
        }
      ],

huangapple
  • 本文由 发表于 2023年3月10日 00:35:24
  • 转载请务必保留本文链接:https://go.coder-hub.com/75687517.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定