is there anyway to show dotted lines in google org chart API between 2 nodes?

独自空忆成欢 提交于 2019-12-22 12:43:35

问题


i was looking at using the google org chart to display my org chart. Does this support having dotted lines between relationships as opposed to the default regular line


回答1:


No - it is pretty basic. You can make specific nodes in the chart have a dotted border though, eg:

data.setRowProperty(2, 'style', 'border-style: dotted');



回答2:


jQuery('.google-visualization-orgchart-linebottom, .google-visualization-orgchart-lineleft, .google-visualization-orgchart-lineright').css('border','1px dotted #cccccc');



来源:https://stackoverflow.com/questions/4719552/is-there-anyway-to-show-dotted-lines-in-google-org-chart-api-between-2-nodes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!