Comments (6)
Hi @ccampbell, I appreciate the feedback. It is actually a refresh question, and not a question of modifying the tool-tip. Every time the tool-tip disappears that is because we are refreshing the background data (so that gives you an idea of the speed of the refresh-rate). The entire reason we implemented a freeze button was to find a workaround for this, so if you want the tool-tips to not freeze, simple click the freeze button. Hope that helps :)
If for some reason that doesn't make sense, let me know, otherwise I'll close this issue shortly.
from crypto-whale-watching-app.
@pmaji "Refreshing of background data" might be misleading.
Yes, the disappearing of tolltip happens due to refresh of data, but just of data wich are on server.
The serverside refreshing of data happens in a different interval and thread.
So as it can be seen in the time in graph title not every "refresh" really grants new data for that particular graph.
But still, as @pmaji said that´s why we have the freeze Button.
@ccampbell Hope I was able to clear this fopr you.
from crypto-whale-watching-app.
That is fine, but I think it is a pretty poor user experience that it doesn’t actually stay up long enough for you to read it. What you could do is render the tooltip in the body of the document instead of inside the content that is refreshed. That way it can be absolutely positioned and if a refresh happens and your mouse is still over the dot you can keep the tooltip up but update the contents to match the new dot.
In fact, you wouldn’t actually have to do anything. You could just render the tooltip in the body and if the content is refreshed, just keep the tooltip there. That way only when you mouse out and back over, you would get updated content. You could even store an identifier of which dot (identifier for seller/buyer + symbol + price + side perhaps?) triggered the tooltip, and after refresh, update or remove it, depending on if that dot still exists.
Obviously that would be more work to implement so I understand if you don’t have the time.
from crypto-whale-watching-app.
We are using plotly with dash for rendering so we can't "just render it to body"
If we would prepare all those data on our own I would totally agree with you but this way it's not that easy.
from crypto-whale-watching-app.
Aha. That makes sense. Thanks.
One other idea. You could capture the data about the hover and then trigger it programmatically after the refresh. I found this
https://plot.ly/javascript/hover-events/#triggering-hover-events
Obviously, not super high priority. Thanks for your work on this 😄
from crypto-whale-watching-app.
@ccampbell Good idea but there is another misconception. We are using Plotly/ Dash in Python. And having a programmatic callback would result in e.g. you clicking and I get same tooltip.
So we have no single callback except data refresh.
Cause I don´t want to interfere with your Website visit and you not with mine....
As @pmaji mentioned, just freeze/ unfreeze site
from crypto-whale-watching-app.
Related Issues (20)
- Adding OKEX info in separate version / integrated version HOT 1
- Is there a way to grab the results and store in Variable or print in console HOT 3
- Code on Plotly 3.0 stops working HOT 1
- Adding ETC HOT 2
- How to run HOT 1
- Help wanted with web hosting of app HOT 9
- Websocket empty? HOT 2
- Installation fails due to conflicting urllib3 version HOT 2
- app.py cannot work and got the error 'message': 'Failed to subscribe', 'reason': 'No channels provided' HOT 2
- error help HOT 1
- App doesn't work any more HOT 2
- Install erros - version conflicts HOT 3
- Crypto vs fiat HOT 1
- Does this still work?
- the code is nt update the data HOT 1
- Flask dependency error
- *-BTC pairs should be 5 decimals not 4 HOT 5
- noob issue, invalid syntax HOT 15
- Error: MacOS: Found existing installation six 1.4.1 HOT 2
- Time Stamping - Alt Coin Buzz HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crypto-whale-watching-app.