-
Notifications
You must be signed in to change notification settings - Fork 22
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
LDAvis clash #77
Comments
I compared ldavis.js to scatterD3-legend.js, but couldn't identify any conflict. Do you have an idea where the problem could come from? Even if you don't have time to fix it, that would save me a lot of time, and maybe I could try to fix it myself :) |
Yep, that was not a JavaScript but a CSS conflict. LDAvis includes the following rule : path {
fill: none;
stroke: none;
} which will apply to all A fix is to add a custom CSS rule in your shiny app, for example with this code in your UI definition : tags$style(HTML("
.symbol-legend path {
fill: #000000;
}
")), But it would be better for LDAvis not to include such a general CSS rule. Maybe you could open an issue there ? |
Thanks for the very fast answer as always! I've filed an issue there: cpsievert/LDAvis#96 |
Just a minor thing: when scatterD3 is used with LDAvis (
install.packages("LDAvis")
), the symbols disappear from the legend (they still show fine in the plot). In the reproducible example below, commenting outvisOutput('ldavis')
makes the symbols re-appear in the legend.I'm comparing ldavis.js to scatterD3-legend.js to see if there is any variable conflict.
The text was updated successfully, but these errors were encountered: