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

Support explicit targets #30

Merged
merged 5 commits into from
Dec 7, 2013
Merged

Support explicit targets #30

merged 5 commits into from
Dec 7, 2013

Conversation

caged
Copy link
Owner

@caged caged commented Nov 11, 2013

This helps with multiline charts where you want one tooltip to show for a multiple lines. The target is always the last argument to tip.show.

tip.show(data, target)

caged added a commit that referenced this pull request Dec 7, 2013
@caged caged merged commit 70b1cf3 into master Dec 7, 2013
@caged caged deleted the explicit-target branch December 7, 2013 19:26
@Hypercubed
Copy link

Any reason this doesn't follow the d3 standard of using the context (this)? In which case, the syntax would be: tip.show.call(target, data).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants