Sign in to follow this  
whitemedia

Internet Explorer Problem

Recommended Posts

When i load my chars in Ie6 i get an error message after awhile thats say that the script is running to long and can cause the computer to freeze. Do you want to abort the script.

 

Everything worrks in FF Safari etc.

Share this post


Link to post
Share on other sites
Guest Sumedh

When i load my chars in Ie6 i get an error message after awhile thats say that the script is running to long and can cause the computer to freeze. Do you want to abort the script.

 

Everything worrks in FF Safari etc.

 

Hi,

 

Can you please give us the details on following points:

 

>What FusionCharts version used?

 

> Chart type used?

 

> Can you paste your XML code here?

Share this post


Link to post
Share on other sites

Hi,

 

Can you please give us the details on following points:

 

>What FusionCharts version used?

 

> Chart type used?

 

> Can you paste your XML code here?

 

 

I´ve tried all version.

 

For now I´m using 3.2.3-sr3.5347

 

Chart:Column3D.swf

 

<script type="text/javascript"><!-- var myChart = new FusionCharts("FusionCharts/Column3D.swf", "myChartId", "100%", "420", "0", "1"); myChart.setXMLData("<chart caption='Hotel Uppsala' subcaption='2012-04-18 - 2012-04-25' decimalPrecision='2' yAxisMaxValue='6' exportEnabled='1' exportAtClient='0' exportFileName ='Hotel_Uppsala' exportHandler='FusionCharts/FCExporter.php' aboutMenuItemLabel='About E-inbjudan' aboutMenuItemLink='n-http://www.e-inbjudan.se'>" + "<set label='Rummet' value='4.4210526315789' link='welcome.php?t=survey_view_question&id=332&q=1' />" + "<set label='Städkvalitet' value='4.4210526315789' link='welcome.php?t=survey_view_question&id=332&q=2' />" + "<set label='Frukost' value='4.4210526315789' link='welcome.php?t=survey_view_question&id=332&q=3' />" + "<set label='Personal' value='4.6315789473684' link='welcome.php?t=survey_view_question&id=332&q=4' />" + "<set label='TV-utbud' value='3.8235294117647' link='welcome.php?t=survey_view_question&id=332&q=5' />" + "<set label='Helhetsintryck' value='4.1578947368421' link='welcome.php?t=survey_view_question&id=332&q=6' />" + "</chart>"); myChart.render("chartContainer"); // --> </script>

Share this post


Link to post
Share on other sites

I´ve tried all version.

 

For now I´m using 3.2.3-sr3.5347

 

Chart:Column3D.swf

 

<script type="text/javascript"><!-- var myChart = new FusionCharts("FusionCharts/Column3D.swf", "myChartId", "100%", "420", "0", "1"); myChart.setXMLData("<chart caption='Hotel Uppsala' subcaption='2012-04-18 - 2012-04-25' decimalPrecision='2' yAxisMaxValue='6' exportEnabled='1' exportAtClient='0' exportFileName ='Hotel_Uppsala' exportHandler='FusionCharts/FCExporter.php' aboutMenuItemLabel='About E-inbjudan' aboutMenuItemLink='n-http://www.e-inbjudan.se'>" + "<set label='Rummet' value='4.4210526315789' link='welcome.php?t=survey_view_question&id=332&q=1' />" + "<set label='Städkvalitet' value='4.4210526315789' link='welcome.php?t=survey_view_question&id=332&q=2' />" + "<set label='Frukost' value='4.4210526315789' link='welcome.php?t=survey_view_question&id=332&q=3' />" + "<set label='Personal' value='4.6315789473684' link='welcome.php?t=survey_view_question&id=332&q=4' />" + "<set label='TV-utbud' value='3.8235294117647' link='welcome.php?t=survey_view_question&id=332&q=5' />" + "<set label='Helhetsintryck' value='4.1578947368421' link='welcome.php?t=survey_view_question&id=332&q=6' />" + "</chart>"); myChart.render("chartContainer"); // --> </script>

 

Found out that the problem is when i load the chart inside a

<table>

<tr>

<td>

<div id="chartContainer" style="width:100%">Fusionchart will load here!</div>

</td>

</tr>

</table>

 

and uses 100% of width for the chart. If I set a fixed width for the chart it works.

Share this post


Link to post
Share on other sites

Hey,

 

Glad to know you were able to resolve the issue.:)

Initially chart renders failed because setting percent size to a chart, it tries to get the width or height from its parent container. It seems that the container where you are rendering the chart is not set with a proper width when the chart is rendered into it.

 

 

 

 

 

 

 

 

 

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