-
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
%x not working properly #101
Comments
source code of this plugin is quite simple so I encourage you to look for a fix by yourself, I don't have much time to work on this plugin recently, and pull requests are always welcomed |
@crotten Could you provide your tooltipOpts object? There are a lot of plugin-specific cases and debugging would go faster if I new which case yours would fall under. |
Scratch that, I believe I found it. Try v0.8.5 for a fix - though I warn you, since it appears you use custom CSS styling, that the plugin no longer assigns an id to the tooltip, but a class instead. So if you currently give it a custom id, you'll have to change the option from Let me know how it works for you. |
Hi there, and i have two lines, the first display correctly the date given in xaxis, but the second just seems to give the index of the label for xaxis ... data are like this : and the xaxis label : [[1,'2010'],[2,'2011'],[3,'2012'],[4,'2013']] when i hover the first line, i get '2010 value is 0' (for a '%x value is %y') but when i do the same on the second line, i get '1.00 value is 1'. (see that the yaxis is working fine though) thanks |
I have 4 different lines that I have plotted. The %y value works correctly pulls in the info all four. The %x however only pulls in the correct info for one of them and then gives a value of NaN.0 on the other three. They are all created the same way for the arrays that Flot.js iterates over to plot the data.
The text was updated successfully, but these errors were encountered: