Sign in to follow this  
tommy3675

setTransparent not working

Recommended Posts

Im using http://www.dynarch.com/projects/calendar/ calendar with fusioncharts.

 

Problem is, it pops up BEHIND the graph.

 

 

 

I tried solving it with:

 

graf.setTransparent(true);

 

graf.setDataXML(response);

 

when i set transparent to true nothing happens(no error).

 

 

 

if i use FusionChartsWMode.js i get error:

 

chartObj.setDataXML is not a function

 

chartObj.setDataXML(strDataXML);

 

if i call function with setTimeout set to 3 seconds, it works.

Share this post


Link to post
Share on other sites

If you are running on Linux, this is know problem. Flash will be on top any javascript / css driven objects.

 

This is a browser problem, not a fusion bug.

 

 

 

As for other browsers, you might be able to get it to work if you set the calender to have a z-index of something higher than the chart.

 

 

 

span style='z-index: 100; background-color: red' id='jschart'

 

style='z-index: 0' id='fusionchart'

 

 

 

-- those should be in span tags, but the IFCode never works for me.

Edited by Guest

Share this post


Link to post
Share on other sites
tcraigen (4/24/2008)
If you are running on Linux, this is know problem. Flash will be on top any javascript / css driven objects.

 

This is a browser problem, not a fusion bug.

 

 

 

As for other browsers, you might be able to get it to work if you set the calender to have a z-index of something higher than the chart.

 

 

 

span style='z-index: 100; background-color: red' id='jschart'

 

style='z-index: 0' id='fusionchart'

 

 

 

-- those should be in span tags, but the IFCode never works for me.

 

 

 

Im running Windows. Firefox, Opera, Explorer and all have the same problem.

 

 

 

Im using the FusionCharts JavaScript class from http://www.fusioncharts.com/Downloads/FusionChartsWMode.zip.

 

 

 

with FusionChartsWMode.js transparent works but i get this error

 

chartObj.setDataXML is not a function

 

chartObj.setDataXML(strDataXML);

Share this post


Link to post
Share on other sites

Hi,

Could you please tell us when are you getting this error? While defining the chart for the first time or while updating the chart? If latter, could you please check you have set registerWithJS option on.

Moreover if you are using the chart inside <form> element, could you please use the new FusionCharts.js from our latest donwload? Using this you can easily set transparent mode by just calling chart1.setTransparent(true);

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