setTransparent not working
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



setTransparent not working Expand / Collapse
Author
Message
Posted 4/24/2008 9:22:11 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/29/2008 2:28:53 AM
Posts: 2, Visits: 4
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.
Post #5923
Posted 4/24/2008 12:18:30 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 2 days ago @ 8:21:01 PM
Posts: 43, Visits: 74
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.
Post #5924
Posted 4/28/2008 6:25:13 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/29/2008 2:28:53 AM
Posts: 2, Visits: 4
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);
Post #5977
Posted 4/28/2008 8:24:29 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 8:31:36 AM
Posts: 763, Visits: 1,214
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);

Regards,

Sudipto Choudhury
FusionCharts Team

Post #5982
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 7:33pm


Execution: 0.141.