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

interaction with ggiraph : element_marquee does not render #33

Open
xtimbeau opened this issue Jul 3, 2024 · 2 comments
Open

interaction with ggiraph : element_marquee does not render #33

xtimbeau opened this issue Jul 3, 2024 · 2 comments

Comments

@xtimbeau
Copy link

xtimbeau commented Jul 3, 2024

When using {marquee} with {ggiraph} element_marquee is not rendering in the viewer.

Here is a quick reprex :

library(tidyverse)
library(marquee)
library(ggiraph)

plot <- ggplot(cars) + 
  geom_point_interactive(aes(x = speed, y = dist, tooltip = speed)) +
  labs(caption = "*source* : cars dataset") +
  theme(plot.caption = element_marquee())

# caption is there
plot

# caption is gone !
girafe(ggobj = plot)

Should I post the issue to ggiraph ?

@thomasp85
Copy link
Member

Marquee requires a bunch of modern graphics device features which are not yet available in svglite (afaik ggiraph uses svglite to render).

I'm aware of this and am working on a way that svglite and marquee can work together

@xtimbeau
Copy link
Author

xtimbeau commented Jul 3, 2024

Thanks, looks promissing. BTW, your package is awesome and filling a gap in ready for publication graph production that was really missing. The auto-wrap feature is fantastic. Most of what you do is beyond my skills, but if you need help, do not hesitate to ask.

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