Sign in to follow this  
iostudios

Ie Ssl Setdataxml

Recommended Posts

Hi there, I am using ASP.Net (VB.Net) to generate some charts ... the output is the following code

 

<div id="chartdiv">
                    	<script type="text/javascript"> 
							var myChart4 = new FusionCharts("FusionCharts/Pie3d.swf", "myChartId4", "500", "300"); 
							myChart4.setDataXML("<chart caption='Outcome of Accident' xAxisName='Type' yAxisName='Count' showValues='0' formatNumberScale='0' showBorder='1'><set label='A fatality' value='3' /><set label='A major injury or condition' value='2' /><set label='An injury to a member of the public meaning they had to be taken from the scene of the accident to a hospital' value='5' /><set label='An injury to an employee or self employed person preventing them from doing normal work for more than 3 days' value='1' /><set label='Non reportable' value='1' /><set label='Other' value='1' /><set label='Unknown at present' value='1' /></chart>"); 
							myChart4.render("chartdiv"); 
						</script>                	
					</div>

 

This works absolutely fine in Firefox, Safari, Chrome but not in IE8 or IE7 when under SSL. It just seems to do nothing. I downloaded the SWFs from your site today so they are the latest version.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

Welcome to FusionCharts Forum! smile.gif

you would need to clean a few headers – in order to make the chart work over HTTPS. This is required, because loading XML/JSON files in Flash over an SSL Connection in Internet Explorer fails if the Pragma:no-cache or Cache-control:no-cache HTTP headers are set on the server header. You need to remove any such settings from your server configuration.

More details at: http://www.fusioncha...vanced/SSL.html

Hope this helps.

Share this post


Link to post
Share on other sites

Hi Angshu ... I thought that and I have done the following in my ASP.net code behind page which

 

Response.AddHeader("Cache-Control", "cache,must-revalidate")

Response.AddHeader("Pragma", "cache,must-revalidate")

 

I have also checked IIS for the HTTP Headers and there are none inplace for either of those on this website.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your reply.

 

Could you please confirm the IIS and FusionCharts version you are using?

 

Awaiting for your response.

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