Sign in to follow this  
orsoletta

a few possible IE and Save as Image bugs

Recommended Posts

Hello,

I think I found a few bugs, I hope someone can help me with it.

First of all, I use the newest version of FusionCharts v3.05 and Internet Explorer (version: 7.0.5730.11) and Firefox (version 2.0.0.11)

Bug 1

In Internet Explorer I do the following steps:

> you save an image

> click on a link in the chart

Then Internet Exploror throws an error like: Unable to download, undefined error

Bug 2

When unloading a page with a FusionChart on it, Internet Explorer doesn't respond for like 30 seconds and the throws an error saying:

Out of memory at line: 56

I figured that you can fix this by downloading the latest version of the flash-player from adobe but users may also have an older version of the flash-player.

Bug 3

This bug also shows up in Firefox but only when using an Pie3d chart. When using the FC_Rendered Javascript function to call the setDataXml function, the save as image function doesn't work. The progressbar appears saying Capturing data but it doesn't. :)

I've included an example below to show the problem. (modified from the pie3d example in the gallery directory of the FC download)

Thats all. Except for this i'm very happy with FusionCharts.

Thanks

 

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>FusionCharts v3 Documentation</title>
<link rel="stylesheet" href="../Contents/Style.css" type="text/css" />
<script language="JavaScript" src="../JSClass/FusionCharts.js"></script>
<script type="text/javascript">
function FC_Rendered(DOMId){
 //If it's our required chart (Piechart)
 if (DOMId=="ChartId"){
 chart.setDataXML("<chart palette='4' imageSave='1' imageSaveURL='../ImageSaving/FusionChartsSave.php'><set label='France' value='17'  /><set label='India' value='12' /><set label='Brazil' value='18' /><set label='USA' value='8' isSliced='1'/></chart>");
   return;
 }
}
</script>
</head>
<body>
<div id="chartdiv" align="center">FusionCharts.</div>
<script type="text/javascript">
 var chart = new FusionCharts("../Charts/Pie3D.swf", "ChartId", "500", "300", "0", "1");
 chart.setDataXML("<chart></chart>");
 chart.render("chartdiv");
</script>
</body>
</html>

Share this post


Link to post
Share on other sites

hi,

Bug 1 : this is a bug we are currently working on.

Bug 2 : This is specific to a Flash Player version 9.0.16.0 (so far we tested) and we are doing R&D for a fix in FusionCharts.js itself.

Bug 3. Please download the latest charts 3.0.6 where this issue is resolved.

Share this post


Link to post
Share on other sites

Hey Pallav and FusionCharts Team,

 

 

 

About the issue #1.. Do you have any good news?

 

I'm testing with the version 3.0.7 and this error still happens.. :-(

 

 

 

Thanks in advanced,

 

Roni A. Dall Orsoletta

Share this post


Link to post
Share on other sites

I tested, the bug #1, with the Firefox 3.0 and this error is not happens :-) but with the Internet Explorer 7 yes..

 

Do you have any update?

 

 

 

Thanks,

 

Roni

Share this post


Link to post
Share on other sites

I have a JSP page which has 3 graphics. The first chart is loaded when the page is opened. This chart has links that open the other two graphs, using the javascript: function updateChart (). This works fine :-)

 

 

 

I added a feature to save the graphics, using the javascript: function saveChart ().. This feature also works perfectly.

 

 

 

But after you open or save the image when I click on the graphic opens a window of error of Internet Explorer, with the message: Unable to download, undefined error.

 

 

 

Let me know if you need more informations.

 

 

 

Thanks,

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