Skip to content

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

@gorkitag

Description

@gorkitag

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions