googleVis icon indicating copy to clipboard operation
googleVis copied to clipboard

gvisOrgChart formatting connection lines and node borders

Open NovasTaylor opened this issue 5 years ago • 2 comments

Hello,

I am having trouble finding documentation on how to change the line width and color for lines connecting the boxes (nodes) and the node borders. Specifically how to do this within the gvisOrgChart function call.

Suggestions greatly appreciated!

My current call:

#  color =  box fill color
orgChart <- gvisOrgChart(staffInfo, 
              idvar = "employeeBox", 
              parentvar = "managerBox", 
              tipvar = "", 
              options=list(width=600, 
                           height=250,
                           allowHtml = TRUE,
                           size='large',
                           allowCollapse=TRUE,
                           color='#fbfbf0'
                           )
              )

NovasTaylor avatar Jun 24 '19 18:06 NovasTaylor

Looking at the Google documentation for Org Chart , I don't think this is directly possible from googleVis.

mages avatar Jun 24 '19 20:06 mages

I'm also open to an indirect solution if I can somehow leverage the JavaScript behind the package. The code will be presented to my management soon, and I foresee them asking to change the line colors -"because management." :)

NovasTaylor avatar Jun 26 '19 12:06 NovasTaylor