Transparancy Issue - IE 7 - Ruby on Rails Transparancy Issue - IE 7 - Ruby on Rails
#1
Posted 15 January 2010 - 01:27 AM
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
Other Replies To This Topic
#2
Posted 15 January 2010 - 03:32 AM
The render_chart function, currently does not support the transparency property.
I would need to take a look at it and will get back to you in a day or two.
Srividya
Srividya Sharma
Other Replies To This Topic
#3
Posted 19 January 2010 - 06:00 AM
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
Attached File(s)
-
FusionChartsRoRLibraryWithWMode.zip (3.2K)
Number of downloads: 52
Srividya Sharma

Back to top
MultiQuote
