Sign in to follow this  
Mike S

logoURL

Recommended Posts

Hi,

Can someone enlighten me as to why the logo specified in the following chart Xml does not load?  I have verified that the url is correct.

<chart animation='1' showLabels='1' rotateLabels='0' slantLabels='0' showValues='1' drawAnchors='1' 
anchorSides='3' anchorRadius='2' showBorder='1' showLegend='1'  legendPosition='BOTTOM' connectNullData='0'
logoURL='/Proto_CP2/app/images/waveform/one.JPG' logoPosition='TL'>
<categories><category label='1' />
<category label='2' />
<category label='3' />
<category label='4' />
<category label='1' />
</categories>
<dataset seriesName='d'>
<set value='2' />
<set value='15' />
<set value='45' />
<set value='24' />
<set value='-2' />
</dataset>
</chart>

 

Thanks,

Mike

Edited by Guest

Share this post


Link to post
Share on other sites

Hello Mike,

The URL needs to be relative to the application, and not to the SWF. Could you please confirm if that is the case?

Share this post


Link to post
Share on other sites

Hi Dhruva,

The URL I am providing is relative to the app.  Here's my HTML source if that provides any clues.  I have tried this with several different charts (2d and 3d line, area, bar, etc.) and the charts all render as expected -- except for the logo.

Thanks!

Mike 

<html> 
<head>
 <script language="JavaScript" src="/Proto_CP2/fusioncharts/FusionCharts.js"></script> 
 <style type="text/css">
 #content { width: 935px ; margin-left: auto ; margin-right: auto ; }
 </style>
</head>
<body>
 <div id="content" >
 <div id="testChart">
 </div> 
 <script type='text/javascript'> 
  var chart = new FusionCharts('/Proto_CP2/fusioncharts/ScrollArea2D.swf', 'chart', '935', '550', '0', '1'); 
  chart.setDataURL('/Proto_CP2/app/temp/data.xml'); 
  chart.render('testChart'); 
 </script>
 </div>  
</body>
</html>

Share this post


Link to post
Share on other sites

Now I believe it may be a version issue.

I thought we had the latest version (I'm new to this job) but I think we got the software back in Nov. and the feature wasn't added 'till later.

I'm going to see what we need to do for the upgrade.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this