Sign in to follow this  
Boasoft

Weird colors when exporting to JPG

Recommended Posts

Hi,

 

 

 

When exporting with use of FC_exporter.php, I got wrong chart colors in exported JPG. The problem exists only on remote server - on my localhost everything is OK. It does not work correctly neither in IE7/IE8 nor in FF.

 

 

 

1.png - exported JPG saved by exporting function on localhost - correct one.

 

2.png - the same exported JPG saved by exporting function on remote server (web server) - incorrect one.

 

 

 

Attributes in XML file:

 

 

 

 

 

 

I have tried with different bgColor, bgSWF, etc. - with no success. So it seems that the bug is somewhere in exporting routine.

 

 

 

Boasoft.

post-6454-128441576205_thumb.png

post-6454-128441576214_thumb.png

Share this post


Link to post
Share on other sites

Perfect solution!

 

 

 

Works great both on remote Linux and local WindowsXP :-))).

 

 

 

Shouldn't it be a part of current version of FusionCharts?

 

 

 

Regards,

 

Boasoft.

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

Glad that we could help you. :)

We will try to incorporate this code after making it a more generalised one.

 

Thanks for your suggestion.

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