Sign in to follow this  
spireite

Charts display in Firefox, but not in IE or Chrome.

Recommended Posts

On my dev box, all browsers display the charts.

 

 

 

On the test server, only FF displays the charts, yet the source on IE and Chrome contains the charts.

 

 

 

Why would IE and Chrome not display the charts from the server, but yet work on my local dev box?

Share this post


Link to post
Share on other sites

The structure of the site is as follows

 

 

 

 

 

/ Default.aspx (contains Dashboard.ascx)

 

/ Controls / Dashboard.ascx (this contains AircraftAge.ascx)

 

/ Controls / AircraftAge.ascx (this contains a chart)

 

/ FusionCharts

 

 

 

I've tried the path of the SWF in AircraftAge.ascx as

 

 

 

../FusionCharts/Pie2d.swf

 

/FusionCharts/Pie2d.swf

 

../../FusionCharts/Pie2d.swf

 

 

 

and none seem to work on the test webserver for IE or Chrome.

 

 

 

The test webserver has a virtual directory which is pointed to the location of default.aspx

Share this post


Link to post
Share on other sites

Hi,

 

 

 

Can you please send us

 

 

 

1. The Asp.Net code that you are using to render the chart.

 

2. The HTML that is getting generated on the browser (you can get it from source view of each browser)

 

3. FusionCharts.js that you are using in the application. ( At times we find many automated code editor update the paths inside the js code and make things complex and unusable)

 

 

 

Make sure to send files and code from the test server where its not working.

Share this post


Link to post
Share on other sites

Hi,

 

 

 

I've been away. Where should I send this - or rather - how??

 

 

 

I'm not using fusionCharts.js anywhere in the HTML.

 

 

 

I'm calling (chart1 is a literal)

 

 

 

chart1.Text = FusionCharts.RenderChartHTML("../FusionCharts/Pie2d.swf", "", xmlRange1.ToString(), "chart1", "100%", "100%", false, true, true);

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