Sign in to follow this  
jarlatheoin

FusionCharts in Chrome

Recommended Posts

Well this is the general issue:

- I am trying to use fusion charts to generate charts based on JSON information
- In 99% of cases this has gone through testing without any issue but in a specific set of conditions Chrome and only chrome is going to error (Aw,Snap)
- This error does not occur if i have the chrome debugger open and have no way of farming out what may be causing the issue
- the data is passed as a javascript object which has undergone a JSON.stringify operation
- we are on jQuery 1.7.1 with jQueryui 1.8.16 and using FusionCharts release 3.2.4-release.8565

- Chart is a combination chart MSCombiDY2D.swf

Hopefully someone might be able to figure out how i can:

- Better debug the problem in Chrome so that i can ascertain what the cause may be

- Debug if there is something which i am passing to the library which is causing the error
- Find the Chrome.log file, i've looked and there is none generated

 

To this point the exact same operations in IE and Firefox are working as expected

 

Regards,

 

Jarlath (Avid user of FusionCharts)

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi Jarlath,

 

Since you are using the older version of FusionCharts XT, could you please try once using the trial version of latest FusionCharts XT v3.3.1sr3 (link: http://www.fusioncharts.com/download/trials/) and see if it resolves the issue?

 

If this is not helpful, please enable FusionCharts XT debugger and see if any error generates.

 

For Flash charts debugging, please follow the steps from: http://docs.fusioncharts.com/charts/contents/Debug/Window.html

 

For JavaScript charts debugging, enable the FusionCharts debugger and print the output inside a HTML DIV container in the same page. For more information please visit: http://docs.fusioncharts.com/charts/contents/Debug/JS.html

 

Please note that in the above mentioned link, the output was printed in "console.log()", instead of which your may print in DIV container, so that no need to open the chrome debugger to view the errors if any.

 

Hope this helps!

 

Looking forward to your valuable response.

Share this post


Link to post
Share on other sites

Hi Sashibhusan,

 

Firstly thank you for your input, i have tried to upgrade to the most recent trial version with no success, the chart does not generate at all.

 

Next i was able to get the fusion charts debugger routine to give me output but i was not able to really ascertain what was going on other than the process got as far as beforerender and then the chrome browser 'blue screened' meaning no further reading of the output could be seen. 

 

I can include the json string in this item in the hope that you might be able to point out where i have gone wrong?

 

Thanks,

 

Jarlath

 

{"categories":[{"category":[{"label":"BH"},{"label":"IG"},{"label":"SC"},{"label":"SM"}]}],"dataset":[{"seriesname":"17CA7CCA - NI","data":[{"value":7},{"value":""},{"value":0},{"value":""}]},{"seriesname":"17CA7CCA - TN","data":[{"value":4.17},{"value":""},{"value":0},{"value":""}]},{"seriesname":"679F6C60 - NI","data":[{"value":1},{"value":0},{"value":1},{"value":""}]},{"seriesname":"679F6C60 - TN","data":[{"value":1},{"value":0},{"value":0.08},{"value":""}]},{"seriesname":"0457AF64 - NI","data":[{"value":""},{"value":""},{"value":2},{"value":""}]},{"seriesname":"0457AF64 - TN","data":[{"value":""},{"value":""},{"value":0.13},{"value":""}]},{"seriesname":"13E651B2 - NI","data":[{"value":""},{"value":""},{"value":1},{"value":""}]},{"seriesname":"13E651B2 - TN","data":[{"value":""},{"value":""},{"value":0.04},{"value":""}]},{"seriesname":"1F0D5057 - NI","data":[{"value":""},{"value":""},{"value":1},{"value":""}]},{"seriesname":"1F0D5057 - TN","data":[{"value":""},{"value":""},{"value":0.46},{"value":""}]},{"seriesname":"205A4422 - NI","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"205A4422 - TN","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"47DA56C8 - NI","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"47DA56C8 - TN","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"4B70041D - NI","data":[{"value":""},{"value":""},{"value":1},{"value":""}]},{"seriesname":"4B70041D - TN","data":[{"value":""},{"value":""},{"value":0.17},{"value":""}]},{"seriesname":"562F482B - NI","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"562F482B - TN","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"6272AB65 - NI","data":[{"value":""},{"value":""},{"value":1},{"value":""}]},{"seriesname":"6272AB65 - TN","data":[{"value":""},{"value":""},{"value":0.88},{"value":""}]},{"seriesname":"6820BE98 - NI","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"6820BE98 - TN","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"6CB80D4E - NI","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"6CB80D4E - TN","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"6D2CC40E - NI","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"6D2CC40E - TN","data":[{"value":""},{"value":""},{"value":0.04},{"value":""}]},{"seriesname":"7483C6F7 - NI","data":[{"value":""},{"value":""},{"value":1},{"value":""}]},{"seriesname":"7483C6F7 - TN","data":[{"value":""},{"value":""},{"value":0.04},{"value":""}]},{"seriesname":"80CF732F - NI","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"80CF732F - TN","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"87AFA8D3 - NI","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"87AFA8D3 - TN","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"A12C7702 - NI","data":[{"value":""},{"value":""},{"value":1},{"value":""}]},{"seriesname":"A12C7702 - TN","data":[{"value":""},{"value":""},{"value":0.04},{"value":""}]},{"seriesname":"A8EAFFED - NI","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"A8EAFFED - TN","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"AEC9D1CA - NI","data":[{"value":""},{"value":""},{"value":1},{"value":""}]},{"seriesname":"AEC9D1CA - TN","data":[{"value":""},{"value":""},{"value":1.94},{"value":""}]},{"seriesname":"BE0B1352 - NI","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"BE0B1352 - TN","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"BE2AFFE2 - NI","data":[{"value":""},{"value":""},{"value":1},{"value":""}]},{"seriesname":"BE2AFFE2 - TN","data":[{"value":""},{"value":""},{"value":0.75},{"value":""}]},{"seriesname":"C0E4AA42 - NI","data":[{"value":""},{"value":""},{"value":1},{"value":""}]},{"seriesname":"C0E4AA42 - TN","data":[{"value":""},{"value":""},{"value":0.04},{"value":""}]},{"seriesname":"D261748D - NI","data":[{"value":""},{"value":""},{"value":3},{"value":""}]},{"seriesname":"D261748D - TN","data":[{"value":""},{"value":""},{"value":2.73},{"value":""}]},{"seriesname":"D547D0CE - NI","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"D547D0CE - TN","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"D9284FF3 - NI","data":[{"value":""},{"value":""},{"value":1},{"value":""}]},{"seriesname":"D9284FF3 - TN","data":[{"value":""},{"value":""},{"value":0},{"value":""}]},{"seriesname":"E6519508 - NI","data":[{"value":""},{"value":""},{"value":2},{"value":""}]},{"seriesname":"E6519508 - TN","data":[{"value":""},{"value":""},{"value":1.46},{"value":""}]},{"seriesname":"EF41D7F2 - NI","data":[{"value":""},{"value":""},{"value":3},{"value":""}]},{"seriesname":"EF41D7F2 - TN","data":[{"value":""},{"value":""},{"value":0.04},{"value":""}]},{"seriesname":"EFC806AC - NI","data":[{"value":""},{"value":""},{"value":1},{"value":""}]},{"seriesname":"EFC806AC - TN","data":[{"value":""},{"value":""},{"value":0.04},{"value":""}]},{"seriesname":"F261D468 - NI","data":[{"value":""},{"value":""},{"value":2},{"value":""}]},{"seriesname":"F261D468 - TN","data":[{"value":""},{"value":""},{"value":0.08},{"value":""}]},{"seriesname":"902979C5 - NI","data":[{"value":""},{"value":""},{"value":""},{"value":0}]},{"seriesname":"902979C5 - TN","data":[{"value":""},{"value":""},{"value":""},{"value":0}]}],"seriesGroups":[{"name":"NI","series":[{"name":"17CA7CCA - NI"},{"name":"679F6C60 - NI"},{"name":"0457AF64 - NI"},{"name":"13E651B2 - NI"},{"name":"1F0D5057 - NI"},{"name":"205A4422 - NI"},{"name":"47DA56C8 - NI"},{"name":"4B70041D - NI"},{"name":"562F482B - NI"},{"name":"6272AB65 - NI"},{"name":"6820BE98 - NI"},{"name":"6CB80D4E - NI"},{"name":"6D2CC40E - NI"},{"name":"7483C6F7 - NI"},{"name":"80CF732F - NI"},{"name":"87AFA8D3 - NI"},{"name":"A12C7702 - NI"},{"name":"A8EAFFED - NI"},{"name":"AEC9D1CA - NI"},{"name":"BE0B1352 - NI"},{"name":"BE2AFFE2 - NI"},{"name":"C0E4AA42 - NI"},{"name":"D261748D - NI"},{"name":"D547D0CE - NI"},{"name":"D9284FF3 - NI"},{"name":"E6519508 - NI"},{"name":"EF41D7F2 - NI"},{"name":"EFC806AC - NI"},{"name":"F261D468 - NI"},{"name":"902979C5 - NI"}]},{"name":"TN","series":[{"name":"17CA7CCA - TN"},{"name":"679F6C60 - TN"},{"name":"0457AF64 - TN"},{"name":"13E651B2 - TN"},{"name":"1F0D5057 - TN"},{"name":"205A4422 - TN"},{"name":"47DA56C8 - TN"},{"name":"4B70041D - TN"},{"name":"562F482B - TN"},{"name":"6272AB65 - TN"},{"name":"6820BE98 - TN"},{"name":"6CB80D4E - TN"},{"name":"6D2CC40E - TN"},{"name":"7483C6F7 - TN"},{"name":"80CF732F - TN"},{"name":"87AFA8D3 - TN"},{"name":"A12C7702 - TN"},{"name":"A8EAFFED - TN"},{"name":"AEC9D1CA - TN"},{"name":"BE0B1352 - TN"},{"name":"BE2AFFE2 - TN"},{"name":"C0E4AA42 - TN"},{"name":"D261748D - TN"},{"name":"D547D0CE - TN"},{"name":"D9284FF3 - TN"},{"name":"E6519508 - TN"},{"name":"EF41D7F2 - TN"},{"name":"EFC806AC - TN"},{"name":"F261D468 - TN"},{"name":"902979C5 - TN"}]}],"targets":[{"name":"NI","target":0,"average":1,"type":"seriesGroup","ranges":[{"name":"red","high":"","low":0,"colour":"#F46565"},{"name":"green","high":0,"low":"","colour":"#98C67F"}]},{"name":"TN","target":0,"average":0.43,"type":"seriesGroup","ranges":[{"name":"red","high":"","low":0,"colour":"#F46565"},{"name":"green","high":0,"low":"","colour":"#98C67F"}]}]}

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Glad that the issue has been fixed with the latest version of FusionCharts XT v3.3.1sr3. :)

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