If you have your images on the server, is there a reason why you are 
dumping a serialized image string as the src of the image instead of using 
a url to the image file?

Is that <img> element what @3 is adding?  What does @1 add?

On Monday, June 2, 2014 10:44:22 AM UTC-4, Hemant Rathod wrote:
>
> Hi asgallant, 
> I am using following google org chart code for my obiee report, If you can 
> tell me where I am wrong that will be really helpful ... PLEASE!!! 
>
> <script type='text/javascript' src='https://www.google.com/jsapi
> '></script>
>     <script type='text/javascript'>
> if(document.URL.indexOf("saw.dll?Answers") == -1) {
>       google.load('visualization', '1', {packages:['orgchart']});
>       google.setOnLoadCallback(drawOrgChart);
> }
>       function drawOrgChart() {
> if(document.URL.indexOf("saw.dll?Answers") == -1) {  
>       var data = new google.visualization.DataTable();
>         data.addColumn('string', 'Name');
>         data.addColumn('string', 'Manager');
>         data.addColumn('string', 'ToolTip');
>         var myOrgArray=[];
>         var tempStr = "";
>
>         
>         
> *myOrgArray.push([{v:"@3".replace("  "," "), f:"@3<br/><font 
> color=red><i>@4<i></font>".replace("  "," ")}, "@1".replace("--",""), 
> "@4"]);*
>
>   data.addRows(myOrgArray);
>         var chart = new 
> google.visualization.OrgChart(document.getElementById('div_orgchart'));
>         chart.draw(data, {allowHtml:true});
> }
>       }
>     </script>
>     <div id='div_orgchart'></div>
>
> Now i have col 2 which has employee pictures ... whenever i replace @3 
> with @2 it just crashes and doesnt show anything but when i use @3 in 
> highlighted row it works fine and shows following output
>
>
> Where it says Jessica Hayes i have employee pics on server but it only 
> shows when i run this report in table format it shows following output
>
> If you can help me that will be really helpful.
>
> Thank you 
>
>
>

-- 
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/d/optout.

Reply via email to