smerchek Report post Posted April 6, 2009 (edited) I have implemented a Python side image download. This is working well, thanks to schmichael. The problem that I am having is with the actual post from the chart swf. The color values passed are not correct for all of the chart. I am using the provided SelectedFormats example. I have attached the original and the exported image. XML: chart yAxisName='Sales Figure' caption='Top 5 Sales Person' numberPrefix='$' useRoundEdges='1' bgColor='FFFFFF,FFFFFF' showBorder='0' exportEnabled='1' exportAtClient='0' exportAction='download' exportHandler='http://test.server/fcexporter/saveImage/' exportFileName='MyFileName' > Edited April 6, 2009 by Guest Share this post Link to post Share on other sites
FusionCharts Support Report post Posted April 7, 2009 Hi, The chart passes exact color values to the image sading code. You can tet this using php/asp.net script too. The issue here might lie in the color conversion and building up image binary code of python where some values are not being parsed or set properly. We faced similar issue while developing code in JSP too and have solved the issue. Please pose the code here so that we can have a look/debug and revert back as soon as possible. Share this post Link to post Share on other sites
smerchek Report post Posted April 7, 2009 The python code was the first place I looked and dumped the stream variable and saw that the colors were incorrect in the raw data. After that I used live http to capture the actual post from the flash object and saw the same incorrect colors. I have attached the live http image, python code and also the post parameters. post.txt python.txt Share this post Link to post Share on other sites
smerchek Report post Posted April 14, 2009 Any progress on this? Share this post Link to post Share on other sites
FusionCharts Support Report post Posted April 22, 2009 Hi, Could you please help us sending the whole python code so that the debuggin process gets faster? Please also mention the environment, OS, python version, apache version or any other thing like whether you are using mod_python etc. Please also send us the XML and chart width and heigh that you are using tp pin point on the issue. Share this post Link to post Share on other sites
smerchek Report post Posted April 22, 2009 The problem I am seeing is not on the server side. I can recreate the issue by just using the sample code (C:sourceFusionCharts_EnterpriseCodeExportChartSamplesServerSideSelectedFormats.html) without calling a valid server side script. I have captured the post using live http and have created an image.txt file with the parameters from the post. I have seperated the start of where the colors are incorrect. I have attached the sample files I am using and the client side post data ============================================ System: Windows XP Prof SP3 Browser: Firefox 3.0.9 ============================================ Chart: Column3D.swf Height: 300 Width: 400 SelectedFormats.html.txt SelectedFormats.xml image.txt Share this post Link to post Share on other sites
FusionCharts Support Report post Posted April 22, 2009 (edited) Hi, Please see the attached exported images and pdf of the same size. We have used the same width and height and XML. MyFileName.pdf Edited April 24, 2009 by Guest Share this post Link to post Share on other sites