Sign in to follow this  
kameswar

Unable to Add a background Image to Stacked Column chart

Recommended Posts

Hi,

 

I tried adding a background JPG image to a stacked column chart, but for some reason, the image never appears on the background.

The SWF file and the JPG file are in the same folder.

 

Please find the attached XML code i used. I tried the attribute  bgSWF="gender.jpg" as mentioned in the documentation.

 

Thanks,

Kameswar.

Data.xml

post-57145-0-00784700-1380874607_thumb.png

Edited by kameswar

Share this post


Link to post
Share on other sites
Guest Rishab

Hi,

I'm unable to replicate the issue at my end using current version of FusionCharts XT.

As per your code, can you please confirm that the HTML files, JavaScript files and the JPG file are in the same folder?

Please try using the attribute 'bgImage' of the <chart> element to place any image (JPG/PNG/GIF) as background of the chart.

As a suggestion, please use <chart> element instead of <graph> in the data source.

For ex-

<chart bgImage="gender.jpg" ...>

Hope this helps!

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