I am new to Google Visualization api. I need to create org charts with photo of the user. Kindly let me know if there is any issue with my code.
When i add the below image tag the chart is not displaying. and the div tag is empty.
function drawChart() {
var data = new google.visualization.DataTable();
data.addColumn('string', 'Name');
data.addColumn('string', 'Manager');
data.addColumn('string', 'ToolTip');
data.addRows([
[{v:'1', f:'<div style="width:400px;height:100px;"><span style="padding-left:15px; padding-right:15px;"><img src='user.png' />Rita Vanhauwenhuyse</span></div><div style="color:white;">VP Talent & Learning</div>'}, '', 'VP Talent & Learning'],
[{v:'Jim', f:'Jim<div style="color:red; font-style:italic">Vice President</div>'}, '1', 'VP'],
['Alice', '1', ''],
['Bob', 'Jim', 'Bob Sponge'],
['Carol', 'Bob', '']
]);