Sign in to follow this  
dhirajr

Unable to show a back ground image

Recommended Posts

Hi,

 

 

 

I am not sure what i am missing in this , but even after a long try i am unable to show a background image for a chart.

 

 

 

Please find attached my JSP file which takes in the strXML and displays a bubble chart.

 

 

 

I would be very happy if you could tell me what i am missing.

 

 

 

Thanks,

 

 

 

Dhiraj Ramakrishnan

BubbleDataXML.jsp.txt

Share this post


Link to post
Share on other sites

Hi Dhiraj Ramakrishnan,

Please make the following change:

In the xml, the value for bgSWF: bgSWF='../FusionCharts/Images/Bubble.jpg'

Please give the complete path to the file.

Hope this solves your problem. :)

Srividya

Share this post


Link to post
Share on other sites

Hi Srividya,

 

 

 

Thanks for your reply.

 

 

 

Unfortunately giving the full path does not seem to have any affect. It is still not showing the background image.

 

 

 

Could you give me some other pointers?

 

 

 

- Dhiraj

Share this post


Link to post
Share on other sites

Hi Srividya,

 

 

 

As suggested by you i gave the fully qualified path bgSWF='D:AppsTomcat 5.5webappsFusionCharts_JSPFusionChartsBubble.jpg' in the Chart XML.

 

 

 

Thanks,

 

 

 

Dhiraj

Share this post


Link to post
Share on other sites

Hi Dhiraj,

I really appologize for the inconvenience caused. Absolute path may not help in this case.

Please use relative path to the bgSWF file.

I have tested your xml here and it works fine.

1. Please ensure that you have given the correct relative path to the bgSWF file.

2. Ensure that the chart and bgSWF file are in the same domain.

Please refer to http://www.fusioncharts.com/docs/Contents/BgSWF.html for more details.

Please set debugMode to true and see if the dialog gives any error message ( in red )

Hope this helps. :)

Srividya

Share this post


Link to post
Share on other sites

Hi Srividya,

 

 

 

Unfortunately, i am still not able to get the background image working.

 

 

 

Is it a domain problem? I have the images and the swf file in the same folder under tomcat, still it is not picking it up.

 

 

 

Can you throw some further light on it ?

 

 

 

Thanks,

 

 

 

Dhiraj

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