Skip to content
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

Tooltip truncated on emoncms graph feeds #147

Open
VivLloyd opened this issue Nov 13, 2024 · 0 comments
Open

Tooltip truncated on emoncms graph feeds #147

VivLloyd opened this issue Nov 13, 2024 · 0 comments

Comments

@VivLloyd
Copy link

In the current release of emoncms, when you hover over graph feeds with long labels (>20), they get truncated with ellipses append.
The solution that I have applied to my local installation is to simply comment out the following code from function
"Emoncms/widget/graph.js/graph_init_editor()"
...
if (name && name.length>20) {
name = name.substr(0,20)+"..";
...
I've not observed any negative side effects from doing this. Just remember to delete the browser cache (or use Cognito/Private) for the change to take effect.
Viv Lloyd

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