zim

Data Being Lost In The Capture Phase Of A Server Side Export

Recommended Posts

Issue

We have implemented a server side export where we turn the chart into a PNG.

 

The problem we're running into is when we have a lot of data sets (eg 130+) a whole heap of undefined's are being passed to our asp.net page in the capture phase (http://docs.fusioncharts.com/charts/) instead of the correct data.

We can see the data being passed to the export page using a debugging tool such as http://www.fiddler2.com/fiddler2/.

 

I have attached examples of the capture data being sent to the export page. CaptureWorking.txt is the data as we see when an export works. CaptureFail.txt is what we see when it fails.

 

Code

The chart being used is MSBar3D.swf.

 

We are initiating the export using the Javascript API:

 

var chartObject = getChartFromId(DOMId);

chartObject.exportChart();

 

The export page we are using is the provided asp.net (FCExporter.aspx.cs) with only the SAVE_PATH and HTTP_URI changed to match our site.

 

Debugging

Turning the debugging on for the chart shows no issues.

I got a standalone page working using the JS exporter.

 

I created a stand alone page that is attached in standalone.zip.

The stand alone page worked. (you'll have to set the code up on the web yourself and updated the save paths above if you want it to work).

 

Now what

The only thing I can think of is there is some odd time out or parse issue with the data.

 

Has anyone else come across this issue before?

CaptureWorking.txt

CaptureFail.txt

standalone.zip

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