Skip to content

Tooltip displaying 'None' for some data points in secondary Y-axis lines #192

Closed
@sctchang

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions