FusionCharts Forum: Transparancy Issue - IE 7 - Ruby on Rails - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Transparancy Issue - IE 7 - Ruby on Rails Transparancy Issue - IE 7 - Ruby on Rails

#1 User is offline   piyush@fusioncharts 

  • Forum Newbie
  • Group: Members
  • Posts: 4
  • Joined: 25-November 09

Posted 15 January 2010 - 01:27 AM

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
0

Other Replies To This Topic

#2 User is offline   srividya_sharma 

  • Supreme Being
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 943
  • Joined: 01-October 07

Posted 15 January 2010 - 03:32 AM

Hi Piyush,

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

regards,
Srividya Sharma
0

Other Replies To This Topic

#3 User is offline   srividya_sharma 

  • Supreme Being
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 943
  • Joined: 01-October 07

Posted 19 January 2010 - 06:00 AM

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

Attached File(s)


regards,
Srividya Sharma
0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic