Skip to content

Tooltipster not positioning on SVG path correctly #366

Closed
@jbarkun

Description

@jbarkun

Hey, awesome plugin!

I've attached it to an SVG path (created by Raphael) for some dynamic charts, but I've run into a problem positioning the tooltip properly over the curved paths. It's currently positioned off to one side (see image: I'm hovering over the blue path)

screen shot 2015-03-21 at 3 29 34 pm

Here's the code used for the tooltip:

$(maleArc1.node).tooltipster({
     content: 'Male Characters',
     theme: 'tooltipster-shadow'
 });

I read in other issues that there's currently no way to force the tooltip to follow the mouse pointer, but would you be able to suggest an alternative approach to reposition the tooltip? I'm by no means a developer, just good at guessing with code, so any help would be appreciated.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions