Skip to content
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.

Smart Tooltip Location #153

Closed
wants to merge 46 commits into from
Closed

Smart Tooltip Location #153

wants to merge 46 commits into from

Conversation

hkelly93
Copy link

Added a way to determine if the tooltip will appear off the screen.

ersel and others added 20 commits January 5, 2015 14:08
if you want to use the iterator value, you need to pass in this argument to the tip.show function!
Changed indentation of command to improve style
type="css" is not a proper content-type
Adds support for d3 v4
Update package.json to match bower.json
…author

Remove duplicate author line from package.json
Use require to load d3 in CommonJS
Fix typo on direction_se() for style consistency.
Tim van der Horst and others added 9 commits August 25, 2016 09:08
- Declare a forgiving minimum for node
- Use the latest node (6.1.0) on CircleCI
- Greenkeeper branch prefix
- Sort the package.json keys
- Removed custom `no-unused-vars` settings and added individual ignores for the two functions instead
- Added an extra semicolon to the start of the file to satisfy my concatenation paranoia
rootElement updated from stetro/d3-tip
@oller
Copy link

oller commented Feb 21, 2017

Any news or progress on resolving the conflicts and merging this in?

It's a great feature to have.

@oller
Copy link

oller commented May 3, 2017

B-B-B-Bump.

@vdh
Copy link
Collaborator

vdh commented Jun 12, 2017

While trying to merge #198 (based on this PR), I noticed direction is assigned to function d3TipDirection() { return 'n' }, which accepts nothing and has no side effects.

So… is this code actually functional…?

@hkelly93
Copy link
Author

Hmm maybe that line isn't needed. I think this part covers it

` while (i--) {
nodel.classed(directions[i], false);
}

        coords = direction_callbacks.get(dir).apply(this);
        nodel.classed(dir, true)
            .style('top', (coords.top + poffset[0]) + scrollTop + 'px')
            .style('left', (coords.left + poffset[1]) + scrollLeft + 'px');`

@hkelly93
Copy link
Author

Ok I removed that line and updated the code.

@hkelly93
Copy link
Author

Whoa what happened to my PR lol.

@stale
Copy link

stale bot commented May 1, 2018

Hey there! It looks like this issue has been automatically marked as stale because it has not had recent activity. To help the maintainers stay focused, it will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label May 1, 2018
@stale
Copy link

stale bot commented Jul 30, 2018

Hey there! It looks like this issue has been automatically marked as stale because it has not had recent activity. To help the maintainers stay focused, it will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 30, 2018
@stale stale bot closed this Aug 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet