Hi
Image rendering will not work inside span tag
On Friday, 15 November 2013 19:41:58 UTC, TheInnovator wrote:
>
> How did you fix it?
>
> On Thursday, November 14, 2013 12:25:49 PM UTC-5, jagadeesh g wrote:
>>
>> Hi,
>>
>> Sorry, I fixed the issue
>>
>>
>>
>> On Thursday, 14 November 2013 17:22:35 UTC, jagadeesh g wrote:
>>>
>>> Hi,
>>>
>>> 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', '']
>>> ]);
>>>
>>>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.