Set the nodeClass parameter in the diagram. draw with color and background color to override the default color scheme, which solves the problem in Chrome.
Define two css classes:
//css class for default tree node .default-leaf { color:black; background-color:
During chart initialization, set the nodeClass and selectedNodeClass parameters:
var chart = new google.visualization.OrgChart( document.getElementById('chart_div')); // setting options - allowHtml (required for visuals to work), css classes for a tree-node & selected-tree-node var options = { 'allowHtml': true, 'nodeClass': 'default-leaf', 'selectedNodeClass': 'selected-leaf'}; chart.draw(data, options);
source share