Sign in to follow this  
rahul_advanced

Javascript Exception

Recommended Posts

I am using ASP.Net, ExtJs, C# and FusionCharts XT.

 

I create a method in C# which internally call FusionChart Dll's method "FusionCharts.RenderChartHTML()" which return html response and that response i am assigning into ExtJs Panel.

Chart is rendring properly and every thing is working fine, the only problem is when i close the page i get JavaScript error in IE9, i paste that error below as i got:-

"Unable to set value of the property 'dataInvokedOnSWF' "

please help me on this.

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi Rahul,

 

Could you please try using RenderChart method instead RenderChartHTML method?

 

RenderChartHTML method has been deprecated.

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

Are you trying to render JavaScript charts?

 

Also, please send us the sample code as well as chart XML to test at our end.

Share this post


Link to post
Share on other sites

Yes i tried to render chart with javascript but it is not suitable for us.

 

 

Below i paste response which i am getting from server side(from c# method).

 

 

<!-- Using ASP.NET FusionCharts v3.2.2.1 Wrapper --><!-- START HTML Code Block for Chart -->

<object width="600" class="FusionCharts" height="500" lang="EN" type="application/x-shockwave-flash" data="../ext-4.0.0/charts2/StackedColumn3D.swf" >

 

<param name="movie" value="../ext-4.0.0/charts2/StackedColumn3D.swf">

<param name="wMode" value="opaque">

<param name="FlashVars" value="&registerWithJS=1&chartHeight=500&dataXML=<chart caption='EmailsOverview'><categories><category label='Day31' /><category label='Day23' /><category label='Day14' /><category label='Day15' /><category label='Day26' /><category label='Day31' /><category label='Day23' /></categories><dataset seriesName='EmailOpened'><set value='0' /><set value='8' /><set value='5' /><set value='0' /><set value='2' /><set value='0' /><set value='0' /></dataset><dataset seriesName='LinksClicked'><set value='8' /><set value='2' /><set value='0' /><set value='6' /><set value='0' /><set value='0' /><set value='9' /></dataset><dataset seriesName='Bouncebacks'><set value='4' /><set value='4' /><set value='0' /><set value='3' /><set value='0' /><set value='0' /><set value='4' /></dataset></chart>〈=EN&scaleMode=noScale&chartWidth=600&animation=undefined&debugMode=0">

<param name="quality" value="best">

<param name="allowScriptAccess" value="always">

<param name="scaleMode" value="noScale">

 

</object>

<!-- END HTML Code Block for Chart -->

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi Rahul,

 

It is recommended to use RenderChart method to get the desired results.

 

RenderChartHTML method will not give the proper results. Since it is deprecated.

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