Sign in to follow this  
FusionCharts Support

Transparency Override in .NET

Recommended Posts

FusionCharts.RenderChart("../FusionCharts/Charts/ScrollLine2D.swf", "", strXML.ToString(), chartTitle, Width, Height, False, True, [b]True[/b])

 

 

 

We recently started to use FusionCharts with css layers. At first, we could not figure out how to make the css layer go ontop of the fusionchart but after searching the forum, we read that this is a flash issue and the various tricks to get around the problem. Since all of our charts are called and rendered via .NET, we decided to use the extra transparent override that is built into RenderChart - see the above line of code as a reference to this override flag.

 

 

 

However, we have run into a problem that I haven't seen posted in other threads and don't know if there is a correction for this that we are missing. When we attempt to render a chart using the transparency override, we get the following error.

 

 

 

 

System.FormatException: Input string was not in a correct format.

 

Generated: Wed, 14 Oct 2009 15:58:56 GMT

 

 

 

System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.InvalidCastException: Conversion from string "wmode="" to type 'Double' is not valid. ---> System.FormatException: Input string was not in a correct format.

 

 

 

 

As far as I can tell from reading the documentation, all we should need to do to make the transparency override work is to switch the flag to TRUE, correct? Or is there something else that needs to be done? Or is this a known issue with a differing solution?

Share this post


Link to post
Share on other sites

Hi,

 

 

 

You can always edit FusionCharts.js and add

 

 

 

this.addParam("wmode","transparent");

 

 

 

to resolve this as a hack.

 

 

 

It seems that there might be some other framework that is hindering the rendered HTML. Could you please check with simple scaled down code?

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