You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
This doesn't happen when I add data points with the default Y-axis setting. I am using pygal-toggle-graphs as per your 'Usage' section in the md file. Do you know what is going wrong here?
Thanks for extending pygal with this very sorely needed functionality by the way.
The text was updated successfully, but these errors were encountered:
Thank you for your report. Are you sure that this is caused by my pygal-toggle-graphs module? I have tried to reproduce the bug but it does not seem to be related to this modul, i.e. it happens regardless of its presence. If it displays correct values when you stop using this module, please post the source code for the graph so I can reproduce the problem. Otherwise, the pygal repository is probably a better place to report this since it seems to be related to pygal, not to pygal-toggle-graphs.
By the way, do you have any Nones in your data points? pygal seems to show None in the graphs when there are Nones in the data points and secondary=True is used.
By Odin's beard, you are very much correct my good sir! I must have noticed the bug AFTER installing pygal-toggle-graphs.
Yes, I do 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.
I'll close this issue and resubmit it in pygal's repository posthaste!
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.
This doesn't happen when I add data points with the default Y-axis setting. I am using pygal-toggle-graphs as per your 'Usage' section in the md file. Do you know what is going wrong here?
Thanks for extending pygal with this very sorely needed functionality by the way.
The text was updated successfully, but these errors were encountered: