问题
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