Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Points don't render when both href and tooltip aesthetics are used #155

Closed
analyticalmonk opened this issue Jun 28, 2016 · 3 comments
Closed

Comments

@analyticalmonk
Copy link
Contributor

For example,

library(animint)
data(WorldBank, package = "animint")

ex_plot <- ggplot() +
    geom_point(aes(fertility.rate, life.expectancy, color = region,
                   tooltip = country, href = "https://github.com"),
               data = WorldBank[WorldBank$year == 1975, ])

plot_list <- list(ex = ex_plot)
structure(animint, class = "animint")

The above code results in an animint plot without the required points.
animint_hreftooltipissue2

Removing either of the two (tooltip or href) provides the expected plot.
animint_tooltiphrefissue

@faizan-khan-iit Please look into this.

Note: As discussed in animint issue #100 and Rperform issue #15

@faizan-khan-iit
Copy link
Collaborator

@analyticalmonk Thanks for pointing this out Akash. I will take a look into this ASAP.

@faizan-khan-iit
Copy link
Collaborator

@analyticalmonk Hey Akash, the problem with using both href and tooltip has been fixed.

Here's your example - http://bl.ocks.org/faizan-khan-iit/raw/d8671bf1b2450213348b39373d7a31e1/

Please inform if you have any problem working with this.
Cheers!

@faizan-khan-iit
Copy link
Collaborator

Closed by #156

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

No branches or pull requests

2 participants