networkD3 icon indicating copy to clipboard operation
networkD3 copied to clipboard

Border colour option

Open zx8754 opened this issue 10 years ago • 0 comments

In Shiny we have splitLayout() function that puts multiple plots side by side and takes style= argument, e.g.:

splitLayout(
  style = "border: 1px solid silver;",
  cellWidths = 300,
  cellArgs = list(style = "padding: 6px"),
  plotOutput("plot1"),
  plotOutput("plot2"),
  plotOutput("plot3")
)

This is great to put plots side by side and add borders, but I am trying plot one after another vertically, and have borders.

Can we have style= argument for forceNetworkOutput(), e.g.:

forceNetworkOutput("plotGraphLD_StepwiseForward",
                   style = "border: 1px solid silver;")

Or if there is a JS tag option to achieve this, please share an example.

Thanks

zx8754 avatar Jan 09 '16 23:01 zx8754