-
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
Cannot read property 'cssClass' of undefined #136
Comments
I see there was an API change, and backwards compatibility is not written perfectly ;) just try using new configuration object: instead of
use
let me know if it helps! |
This error seems to occur if you have flot.tooltip.js installed, but do not have tooltips turned on for a particular graph. (ie show: false or no tooltip config at all) Also, this is a 2.8.X release it should have no new features or API changes only bug fixes. A backwards breaking change should only occur in an X.0.0 release so those of us who automatically pull in bugfix release don't end up with broken projects. |
I agree with breaking changes and versioning, unfortunately I'm not an active maintainer of this repo, talk with @Roundaround |
Seems that can be fixed with #138 |
#138 merged and released as 0.8.7, let me know if everything is fine |
Getting an error with version 0.8.6 that didn't happen in 0.8.5. Created a plunker that reproduces the issue:
https://embed.plnkr.co/snAKVOxXDSEobEdr81WK/
Cannot read property 'cssClass' of undefined
at FlotTooltip.getDomElement (jquery.flot.tooltip.js:329)
at Plot.FlotTooltip.init.plot.removeTooltip (jquery.flot.tooltip.js:320)
at jquery.flot.tooltip.js:116
at executeHooks (jquery.flot.js:717)
at Plot.shutdown (jquery.flot.js:1363)
at setupCanvases (jquery.flot.js:1327)
at new Plot (jquery.flot.js:707)
The text was updated successfully, but these errors were encountered: