Sign in to follow this  
srividya_sharma

Transparancy Issue - IE 7 - Ruby on Rails

Recommended Posts

Hello Respected Customer Service Authority,

 

 

 

I am using fusion charts V3 to generate various graphs with Ruby on Rails Platform.

 

 

 

I am using server side approach to render and export charts.

 

 

 

Now the issue is in IE 7 when after generating graph if i open any modal pop up (that ideally overlaps all the other elements on the page),

 

it is not overlapping generated fusion chart.

 

 

 

I am rendering my chart as below way

 

 

 

str_xml = render "usage_report/{chart_xml}"

 

chart_type = "/FusionCharts/{chart_type}.swf}"

 

 

 

render_chart_html chart_type, '', str_xml,"", 800, 400, false do

 

 

 

I show in you forum about this issue and find that may be it is required to set transparent mode as true while rendering the chart but i could not work around for this issue.

 

 

 

Please let me know work around for this issue.

 

 

 

Thanks,

 

Piyush

Share this post


Link to post
Share on other sites

Hi Piyush,

Here I am, finally, with the code that might help you out.

Please find attached the Library files for FusionCharts RoR Application. Replace these files in lib folder of your application. This version of the files allows for wMode as parameter.

Here is how you would use it:

render_chart with wMode parameter:

 
render_chart "/FusionCharts/Column3D.swf", "/Data/Data.xml", "", "myFirst", 600, 300, true, false, "transparent" do-%> 

render_chart_html with wMode parameter:

 
render_chart_html '/FusionCharts/Column3D.swf', '/Data/Data.xml', '', 'myFirstHTML', 600, 300, true, "transparent" do-%>
 

:)

Also, wMode expects "transparent" or "opaque" . ( "window" is the default value )

Please tell me if there are any issues.

Srividya

FusionChartsRoRLibraryWithWMode.zip

Edited by Guest

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