stefx Report post Posted July 6, 2010 Hi to all, it's possibile export a chart as image without opena a web page? I must make in a batch php procedure... Thanks a lot Stefano Share this post Link to post Share on other sites
Sanjukta Report post Posted July 8, 2010 Hi Stefano, FusionCharts being a client side based (Flash player based) component, it needs to be rendered at least once at client side to export an image from it. In case you have a .NET deployment, we have developed an assembly which can achieve the export silently at server side. But, this is not possible using PHP. Please revert in case you have further queries. Share this post Link to post Share on other sites
pariyani Report post Posted October 29, 2010 Hi Stefano,</P><P>FusionCharts being a client side based (Flash player based) component, it needs to be rendered at least once at client side to export an image from it.</P><P>In case you have a .NET deployment, we have developed an assembly which can achieve the export silently at server side.<BR>But, this is not possible using PHP.</P><P>Please revert in case you have further queries. Hi there, Can you forward me to a link or send me a project that does a silent server side export of charts in .Net? Thanks Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted November 1, 2010 Hi Pariyani, The assembly to save FusionCharts as image at server side is attached with this mail, please check it and let us know whether you got it working or not? Please Note: 1. To run this assembly at server side (remote), your server must have flash player installed. 2. And you need all three assemblies which are AxShockwaveFlashObjects.dll, ShockwaveFlashObjects.dll and FusionChartsImageSaver.dll, AxShockwaveFlashObjects.dll and ShockwaveFlashObjects.dll are Flash Player wrapper which you can generate by running command C:\>aximp.exe %SystemRoot%\System32\Macromed\Flash\Flash.ocx . 3. This assembily is not 64-Bit compatible. 4.Sample_Code.zip file contains the sample application. I hope this helps. Sample_Code.zip FusionChartsImageSaver.zip Share this post Link to post Share on other sites
pariyani Report post Posted November 1, 2010 It works great!! Thanks. Hi Pariyani, The assembly to save FusionCharts as image at server side is attached with this mail, please check it and let us know whether you got it working or not? Please Note: 1. To run this assembly at server side (remote), your server must have flash player installed. 2. And you need all three assemblies which are AxShockwaveFlashObjects.dll, ShockwaveFlashObjects.dll and FusionChartsImageSaver.dll, AxShockwaveFlashObjects.dll and ShockwaveFlashObjects.dll are Flash Player wrapper which you can generate by running command C:\>aximp.exe %SystemRoot%\System32\Macromed\Flash\Flash.ocx . 3. This assembily is not 64-Bit compatible. 4.Sample_Code.zip file contains the sample application. I hope this helps. Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted November 2, 2010 Hi, Thanks for your reply. We are glad that your issue is resolved. Keep smiling and keep FusionCharting. Share this post Link to post Share on other sites
santhosh91 Report post Posted December 21, 2010 (edited) BTW, do you have JSON version of ServerSideImageHandler class in ImageSaver dll. We are utilizing json data as data source? Edited December 21, 2010 by santhosh91 Share this post Link to post Share on other sites
SteveC Report post Posted September 1, 2011 This may be a silly question, but I have to ask. When you say the assembly is not 64-bit compatable, does that mean I can't deploy it to a 64-bit operating system (Windows 2008 R2) even though my .NET application was built for the X86 platform and deployed such that it runs in Windows XP compatibility mode? Thanks. Steve Hi Pariyani, The assembly to save FusionCharts as image at server side is attached with this mail, please check it and let us know whether you got it working or not? Please Note: 1. To run this assembly at server side (remote), your server must have flash player installed. 2. And you need all three assemblies which are AxShockwaveFlashObjects.dll, ShockwaveFlashObjects.dll and FusionChartsImageSaver.dll, AxShockwaveFlashObjects.dll and ShockwaveFlashObjects.dll are Flash Player wrapper which you can generate by running command C:\>aximp.exe %SystemRoot%\System32\Macromed\Flash\Flash.ocx . 3. This assembily is not 64-Bit compatible. 4.Sample_Code.zip file contains the sample application. I hope this helps. Share this post Link to post Share on other sites
Guest Angshu Report post Posted September 2, 2011 Hi, Thanks for your post. Glad to inform you that the .NET image saver assembly can be deployed to 64 bit operating system , provided you have 64 bit flash player installed in your system. Hope this helps. Share this post Link to post Share on other sites
SteveC Report post Posted September 6, 2011 Thanks for the confirmation. We updated our server with the 64-bit Beta Flash Player and we're now rendering the charts successfully. Steve Hi, Thanks for your post. Glad to inform you that the .NET image saver assembly can be deployed to 64 bit operating system , provided you have 64 bit flash player installed in your system. Hope this helps. Share this post Link to post Share on other sites
Guest Angshu Report post Posted September 7, 2011 Hi, Glad to know that you have managed to resolve your problem. Happy FusionCharting! Share this post Link to post Share on other sites
Cagg Report post Posted November 28, 2011 Hi Pariyani, The assembly to save FusionCharts as image at server side is attached with this mail, please check it and let us know whether you got it working or not? Please Note: 1. To run this assembly at server side (remote), your server must have flash player installed. 2. And you need all three assemblies which are AxShockwaveFlashObjects.dll, ShockwaveFlashObjects.dll and FusionChartsImageSaver.dll, AxShockwaveFlashObjects.dll and ShockwaveFlashObjects.dll are Flash Player wrapper which you can generate by running command C:\>aximp.exe %SystemRoot%\System32\Macromed\Flash\Flash.ocx . 3. This assembily is not 64-Bit compatible. 4.Sample_Code.zip file contains the sample application. I hope this helps. Hi, Basundhara This solution works great for our needs. We purchased FC a few years ago, and was wondering how do we get a license key to be able to use the server side version you attached, so it'll remove the evaluation banner at the top? Thanks Share this post Link to post Share on other sites
Guest Angshu Report post Posted November 29, 2011 Hi, Welcome to FusionCharts Forum! To know about the licensing policies of FusionCharts, please visit: http://www.fusioncharts.com/buy/ You can also drop a mail to: [email protected] to know about licensing procedure. Hope this helps. Share this post Link to post Share on other sites
FusionCharts Support Report post Posted November 29, 2011 Hi, Basundhara This solution works great for our needs. We purchased FC a few years ago, and was wondering how do we get a license key to be able to use the server side version you attached, so it'll remove the evaluation banner at the top? Thanks Hi Cagg, You need to buy FusionCharts License to remove the Eval stamp. + Now, it also works in 64 bit environment, provided you have 64bit Flash Player. Share this post Link to post Share on other sites
Abhijit Report post Posted January 24, 2012 Hi, While I was trying with DNN 5+ version, I am getting following error Message : Class not registered (Exception from HRESULT: 0x80040154(REGDB_E_CLASSNOTREG)) Source : FusionChartsImageSaver Stack: atFusionCharts.ServerSideHandlerBase.initializeObjects() atFusionCharts.ServerSideHandlerBase.setParameters(String swfPath, Int32 width,Int32 height, String dataXML, String dataURL, String imageFileName) atFusionCharts.ServerSideHandlerBase.startProcessThread(Object oSSH) atSystem.Threading.ExecutionContext.runTryCode(Object userData) atSystem.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCodecode, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.Run(ExecutionContextexecutionContext, ContextCallback callback, Object state) atSystem.Threading.ThreadHelper.ThreadStart(Object obj) I am using VS 2010, on Win7 machine. If I run the sample seperately, It works, but not inside a DNN module. Can someone help me? Also it worked on other machine inside DNN environment. So seems to be something which I am having setup on VS / Platform etc. When I tried to search for the errror message mentioned above, I found posts stating to install owc11.exe http://www.microsoft.com/download/en/confirmation.aspx?id=22276, changeing platform to x86 etc. I tried the owc11.exe installation, it did not help. When I am trying the change platform to x86 in VS, I do not see it as stated in for 2005/2008, as I am using 2010. Please let me know where I am missing. Thanks, Abhijit Share this post Link to post Share on other sites
Rahul Kumar Report post Posted January 25, 2012 Hi Abhijit, The "Class not registered" only occurs, 1. If you do not have Flash Player installed (ActiveX version not Plug-In), 2. If you are compiling you application for 64-Bit but you have 32-bit of Flash Player. Please go through the above steps and check again. P.S. Please install Flash Player by visiting Adobe WebSite using IE browser (Internet Explorer) only, this will install ActiveX version of Flash Player. Share this post Link to post Share on other sites
Abhijit Report post Posted January 31, 2012 Hi Rahul, Thanks, This worked. Thanks a ton. I am facing different Issue now. The chart is expected to be shown with prefix, '%', with numberPrefix="%" property. This is showing the invalid XML data in the rendered image. If I set numberPrefix="", then chart is rendered fine, but the labels are not shown with the % prefix. Is there any escape character which I can use to make sure the % gets through and gets rendered in image? Also, we are facing issues for other characters like '<', '&', etc Note, it I try the same XML to render client side rendering, it does render the chart without any problem. The problem is occurring only in case of the server side image capture. Please let me know. Thanks. Hi Abhijit, The "Class not registered" only occurs, 1. If you do not have Flash Player installed (ActiveX version not Plug-In), 2. If you are compiling you application for 64-Bit but you have 32-bit of Flash Player. Please go through the above steps and check again. P.S. Please install Flash Player by visiting Adobe WebSite using IE browser (Internet Explorer) only, this will install ActiveX version of Flash Player. Share this post Link to post Share on other sites
Abhijit Report post Posted January 31, 2012 I Got it. I should use %25 to display %. Thanks, Abhijit Hi Rahul, Thanks, This worked. Thanks a ton. I am facing different Issue now. The chart is expected to be shown with prefix, '%', with numberPrefix="%" property. This is showing the invalid XML data in the rendered image. If I set numberPrefix="", then chart is rendered fine, but the labels are not shown with the % prefix. Is there any escape character which I can use to make sure the % gets through and gets rendered in image? Also, we are facing issues for other characters like '<', '&', etc Note, it I try the same XML to render client side rendering, it does render the chart without any problem. The problem is occurring only in case of the server side image capture. Please let me know. Thanks. Share this post Link to post Share on other sites
Guest Angshu Report post Posted January 31, 2012 Hi, Glad to know that you have managed to resolve your problem. Happy FusionCharting!!! Share this post Link to post Share on other sites
Abhijit Report post Posted February 3, 2012 Now I am having a Less than symbol (<) in the label attribute of category node. But it is coming in the encoded form (<). But when it is passed for generating the image it gives the error of Invalid XML. Please let me know what should I replace this < (encoded less than) with? Thanks, Abhijit Hi, Glad to know that you have managed to resolve your problem. Happy FusionCharting!!! Share this post Link to post Share on other sites
Abhijit Report post Posted February 5, 2012 Hi, This is working really well, except for couple of issues. We are facing some issues which occur in flash version of the chart. We want to use html5/javascript version while generating the image. Is it possible? If yes then can you share the changes I need to do in this code? Thanks, Abhijit Hi Pariyani, The assembly to save FusionCharts as image at server side is attached with this mail, please check it and let us know whether you got it working or not? Please Note: 1. To run this assembly at server side (remote), your server must have flash player installed. 2. And you need all three assemblies which are AxShockwaveFlashObjects.dll, ShockwaveFlashObjects.dll and FusionChartsImageSaver.dll, AxShockwaveFlashObjects.dll and ShockwaveFlashObjects.dll are Flash Player wrapper which you can generate by running command C:\>aximp.exe %SystemRoot%\System32\Macromed\Flash\Flash.ocx . 3. This assembily is not 64-Bit compatible. 4.Sample_Code.zip file contains the sample application. I hope this helps. Share this post Link to post Share on other sites
Abhijit Report post Posted February 5, 2012 I found answer for this as well.. I need to use %26lt;. http://docs.fusioncharts.com/charts/contents/advanced/special-chars/SpPunctuation.html Thanks, Abhijit Now I am having a Less than symbol (<) in the label attribute of category node. But it is coming in the encoded form (<). But when it is passed for generating the image it gives the error of Invalid XML. Please let me know what should I replace this < (encoded less than) with? Thanks, Abhijit Share this post Link to post Share on other sites
Guest Sumedh Report post Posted February 6, 2012 Hi I am glad to know that, your issue is resolved. Happy FusionCharting! Share this post Link to post Share on other sites