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

problems with color of the border of nodes in visLegend #471

Open
gorkitag opened this issue Jul 22, 2024 · 0 comments
Open

problems with color of the border of nodes in visLegend #471

gorkitag opened this issue Jul 22, 2024 · 0 comments

Comments

@gorkitag
Copy link

Hi! I'm having issues defining color of borders of nodes in visLegend . This is tehe code i'm using:

    visLegend(
      addNodes = data.frame(
        label = c("correlación +1", "correlación +0.5", "correlación 0", "correlación -0.5", "correlación -1"),
        shape = "box",
        color = c("blue", "#8080FF", "white", "#FF8080", "red"),
        borderWidth = 2,
        color.border =c( "black", "black", "black", "black", "black"),
        font.color = c("white", "black", "black", "black", "black")
        
      ),
      useGroups = FALSE,
      main = "CORRELACIONES",  
      position = "left",
      width = 0.1
    )

But the colors of the borders when I execute my shiny app aren't those, and the issue is that the node '"correlación 0" is white but the border appears to be white too, so you can't see the border.

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

1 participant