Error thrown when using tooltips and dynamic data
See original GitHub issueHi 👋
I came across an issue when using tooltips and dynamic data - it seemed to me it might be related to how the tooltips are handled in the editor, so I am opening the issue here - feel free to move it is not the right place.
Expected behavior
When having tooltips enabled and using dynamic data - by defining url
by a signal value (as described here - Dynamic Data Loading section), no errors should be thrown.
Actual behavior
When enabling tooltips and using dynamic data, editor crashes with the following error
Cannot use 'in' operator to search for 'message' in Dataflow already running. Use runAsync() to chain invocations.
Steps to reproduce
- Enable tooltips:
Settings -> Tooltips
checkbox - Use specification with dynamic data, i.e.
{
"signals": [
{
"name": "testtest",
"value": "https://jsonplaceholder.typicode.com/posts"
}
],
"data": [
{
"name": "baseData",
"url": {"signal": "testtest"}
}
]
}
- Run the view (if not run automatically)
- (An error is raised)
- Disable the tooltips, and rerun the view
- everything works fine
Minimal reproduction (link to editor)
Versions
Vega: 5.17.0
Vega-Lite: 4.17.0
Vega-Tooltip: 0.24.2
Editor: 0.91.2
Chrome 87.0
Firefox 83.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Tooltipster .tooltipster('open') throwing error. - Stack Overflow
Can't figure out why 'open' is not working, while according to documentation it should? I have setup it on jsfiddle. HTML <button id="broken" ......
Read more >Popover + Tooltip : js error multiple instances with selector ...
This code alone selects several elements but it doesn't throw an error: new bootstrap.Tooltip(document.body, ...
Read more >Creating A Dynamic Tooltip With Embedded Charts ... - YouTube
Creating A Dynamic Tooltip With Embedded Charts Using Power BI - Epic Data Viz Tip.
Read more >Placing Dynamic Maps In Tooltips In Power BI - YouTube
For me, this is the ultimate data visualization technique. With these updated tooltips in Power BI, we can now create something quite ...
Read more >Dynamic tooltip content not updating in IE - Telerik Forums
I have a tooltip that I am using to preview text on all of a customers items in ... or an error may...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Could you try to reproduce the example without the editor? You can start with https://bl.ocks.org/domoritz/cd636b15fa0e187b51b73fc60b4d3014.
Should fix it.