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 displaying 'None' for some data points in secondary Y-axis lines #192

Closed
sctchang opened this issue Feb 12, 2015 · 2 comments
Closed

Comments

@sctchang
Copy link

So I have secondary Y-axis enabled (i.e. pygal.add('SomeLabel', data_point, secondary=True)) and some of the tooltips for certain data points are showing up as None when you hover over them.

I have Nones in my data points, and by default pygal is supposed to ignore the None data points. While it is doing that correctly when it renders the line, it does seem to screw up the tooltips when secondary=True is set. This doesn't happen when I add data points with the default Y-axis setting. Do you know what is going wrong here?

I had mistakenly submitted this issue to s3rvac's fantastic pygal-toggle-graphs repository. His sharp eye pointed out that the bug actually resides within pygal, so I am resubmitting the issue here.

hoverlabelnone2
hoverlabelnone1

@paradoxxxzero
Copy link
Member

It's a bug indeed, it will be fixed in 1.6.3

@sctchang
Copy link
Author

Thanks! Can't wait.

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

2 participants