surajit Report post Posted October 20, 2009 We have got a Swing Application which displays data in tabular format. We are analyzing on how to display the data in various graphs and Charts in the same Swing Application. I saw that FusionChart can be integrated with JSP but could not find any update on Java Swing integration. Could somebody please suggest how we could display the FusionCharts in Swing Application. Any demo / sample code is appreciated. regards Surajit Share this post Link to post Share on other sites
srividya_sharma Report post Posted October 20, 2009 Hi Surajit, Here is a simple application showing FusionCharts in swing. You would need JFlashPlayer and DJNativeSwing to show flash content in Swing application. Please see the readme and follow the guidelines there. If you encounter any issues, please contact me. Srividya FusionChartsSwingTestApp.zip Share this post Link to post Share on other sites
surajit Report post Posted October 20, 2009 Thanks a ton for the prompt reply .... Share this post Link to post Share on other sites
Guest Madhumita Report post Posted October 21, 2009 Hello, You are most welcome. Happy FusionCharting. Share this post Link to post Share on other sites
surajit Report post Posted October 21, 2009 Hi, I tried to run the sample application. The program didn't compile. I included the following latest jar (http://djproject.sourceforge.net/) to get it running 1) DJNativeSwing.jar 2) DJNativeSwing-SWT.jar and 3) swt-3.5M6-win32-win32-x86.jar All the jar are under GPL license. But there is no 2007Data.xml, 2008Data.xml and dataWithLink.xml & chart2D.swf, chart3D.swf provided with the sample. Request you to please send the same, if possible Regards Surajit Share this post Link to post Share on other sites
srividya_sharma Report post Posted October 21, 2009 Hi Surajit, Here are the xml files. Please place them in Data folder. Also please place the chart swf files in Charts folder. Hope this helps. Data.zip Share this post Link to post Share on other sites
nenubybabu Report post Posted January 20, 2010 Hi Vidya, when i try to run this application(Example) got some error InternalChartsHolder.java is not abstract plz help me... and where i get the swif files. If possible please send me application including sif files and xml files(complete integration of application) Thanks in advance Share this post Link to post Share on other sites
srividya_sharma Report post Posted January 21, 2010 (edited) Hi If you have downloaded the FusionCharts package, you would find the swf files in it. Please copy those swf files into the Charts folder. The xml files are present in my previous post [ http://www.fusioncharts.com/forum/FindPost19402.aspx ] . Please place them in Data folder. Hope this helps. Please try this out, if it does not work, I will see in what way I can help. Srividya Edited January 21, 2010 by Guest Share this post Link to post Share on other sites
justlikeyou Report post Posted November 23, 2010 Hello Sir, Actually, I work on FusionCharts in mode "swing" and I have an problem. When I put swf and xml files in the associate folder, and that I execute the program, I have anything buid error but in the program a sentence appear: "No data to display". So, could you help me because I don't find any solutions for this error. Thanks a lot Sylvain Departe Share this post Link to post Share on other sites
srividya_sharma Report post Posted November 24, 2010 Hi Sylvain, I have posted the latest swing application with lot of new features and a bit of documentation using FusionCharts v3.2 here: http://forum.fusioncharts.com/topic/7982-fusioncharts-swing-integration/ Please take a look at this. I hope it works out well for you. Srividya Keep asking and keep getting more out of FusionCharts every day! Share this post Link to post Share on other sites
Sanjukta Report post Posted November 24, 2010 Hi Sylvain, Welcome to FusionCharts Forum! If your chart shows a "No data to display" message, it could be the following scenarios: 1. Your XML data doesn't contain any data that could be plotted by FusionCharts. In this case, your XML just contains the <chart> or <dataset> tags without any data between them. 2. You might be using a single-series chart SWF and providing data in multi-series format or vice-versa. In this case too, you'll get a "No data to display" message. 3. In some Dual Y Combination charts, you need to provide at least one dataset for both the axis. Otherwise, you'll get a "No data to display" message. In case the issue still persists, please feel free to revert back to us. Share this post Link to post Share on other sites