-
Notifications
You must be signed in to change notification settings - Fork 154
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
Piechart tooltip content: '%p%, Series1' #35
Comments
Hi, I have the same issue, it seems to be with the adjustValPrecision function in Pie percentage. Replaced Line 167 from this: to this: Still have to find out what the problem is with the precision function. |
I wonder why the problem exists only for pie charts, but check my commit details to see how to make it work, I hope it will be enough in your use cases. |
Thanks for the update! Percentage is working for pie charts. I'm working on a project that uses flot.tooltip v0.4.4, with I can get the correct content to display if I set
to
I see that the |
To be honest I am also not sure what is the best solution for all the issues. Looks like fix for one causes problems with others :/ |
I've just cloned the repository and am running the examples.
For examples/pie.html, when I hover over a segment, the tooltip content is
%p%, Series1
.If I comment out
tooltipOpts.content
in pie.html, the tooltip content isSeries1 | X: %x | Y:%y
.I'm looking into this now, but wondering if you can see anything obvious?
The text was updated successfully, but these errors were encountered: