﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionCharts Free / FusionCharts Free and JSP  </title><generator>InstantForum.NET v4.1.4</generator><description>FusionCharts Forum</description><link>http://www.fusioncharts.com/forum/</link><webMaster>support@fusioncharts.com</webMaster><lastBuildDate>Fri, 16 May 2008 01:24:21 GMT</lastBuildDate><ttl>20</ttl><item><title>How to save FusionChart as Image (Jpeg,gif)</title><link>http://www.fusioncharts.com/forum/Topic5715-45-1.aspx</link><description>Hello Fusion Chart,&lt;/P&gt;&lt;P&gt;I am exploring Fusion Charts Free and need to know how to save FusionChart as an Image (Jpeg,gif). I am not able to find any option to save it as jpeg etc.&lt;/P&gt;&lt;P&gt;Pls help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhi</description><pubDate>Thu, 17 Apr 2008 00:53:36 GMT</pubDate><dc:creator>Abhi</dc:creator></item><item><title>JSP and CreateChart method</title><link>http://www.fusioncharts.com/forum/Topic5677-45-1.aspx</link><description>Hello,&lt;/P&gt;&lt;P&gt;I am trying to use Fusion Free Charts with jsp. When i run my code below from browser i am getting the following error as its asking for CreateChart method -&lt;/P&gt;&lt;P&gt;Pls help resolve this error. What is there create chart method and how can i find it ?&lt;/P&gt;&lt;P&gt;ERROR :&lt;/P&gt;&lt;P&gt;************************************************************&lt;/P&gt;&lt;P&gt;An error occurred at line: 87 in the jsp file: /FusionCharts/MyChart/fusion.jsp&lt;BR&gt;The method createChart(String, String, String, String, int, int, boolean, boolean) is undefined for the type fusion_jsp&lt;BR&gt;84:            }&lt;BR&gt;&lt;/P&gt;&lt;P&gt;************************************************************&lt;/P&gt;&lt;P&gt;Code is below&lt;/P&gt;&lt;P&gt;************************************************************&lt;/P&gt;&lt;P&gt;&amp;lt;jsp:useBean id="dbconn" class = "dbcon.ConnectionUtil"  scope="page"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;%@ page import="java.sql.Statement"%&amp;gt;&lt;BR&gt;&amp;lt;%@ page import="java.sql.*"%&amp;gt;&lt;BR&gt;&amp;lt;%@ page import="java.sql.ResultSet"%&amp;gt;&lt;BR&gt;&amp;lt;%@ page import="java.sql.Date"%&amp;gt;&lt;BR&gt;&amp;lt;HTML&amp;gt;&lt;BR&gt;   &amp;lt;HEAD&amp;gt;&lt;BR&gt;       &amp;lt;TITLE&amp;gt;FusionCharts - Database Example&amp;lt;/TITLE&amp;gt;&lt;BR&gt;       &amp;lt;SCRIPT LANGUAGE="Javascript" SRC="FusionCharts.js"&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;BR&gt;   &amp;lt;/HEAD&amp;gt;&lt;BR&gt;   &amp;lt;BODY&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;   &amp;lt;%&lt;BR&gt;       /*&lt;BR&gt;       In this example, we show how to connect FusionCharts to a database.&lt;BR&gt;       For the sake of ease, we've used a database which contains two tables,&lt;BR&gt;       which are linked to each  other.&lt;BR&gt;       */&lt;BR&gt;       Connection conn;&lt;BR&gt;       conn = dbconn.getConnection();&lt;BR&gt;       //Database Objects - Initialization&lt;BR&gt;       Statement st1,st2;&lt;BR&gt;       ResultSet rs1,rs2;&lt;/P&gt;&lt;P&gt;       String strQuery="";&lt;/P&gt;&lt;P&gt;       //strXML will be used to store the entire XML document generated&lt;BR&gt;       String strXML="";&lt;/P&gt;&lt;P&gt;&lt;BR&gt;       //Generate the chart element&lt;BR&gt;       strXML = "&amp;lt;chart caption='Factory Output report' subCaption='By Quantity pieSliceDepth='30' showBorder='1' formatNumberScale='0' numberSuffix='Units'&amp;gt;";&lt;/P&gt;&lt;P&gt;       //Construct the query to retrieve data&lt;BR&gt;       strQuery = "select * from sarlogs";&lt;/P&gt;&lt;P&gt;&lt;BR&gt;       st1=conn.createStatement();&lt;BR&gt;       rs1=st1.executeQuery(strQuery);&lt;BR&gt;       String factoryvalue= null;&lt;BR&gt;       String factoryId=null;&lt;BR&gt;       String factoryName=null;&lt;BR&gt;       String totalOutput="";&lt;BR&gt;       //Iterate through each factory&lt;BR&gt;       while(rs1.next()) {&lt;/P&gt;&lt;P&gt;           factoryId=rs1.getString("timestamp");&lt;BR&gt;           factoryvalue=rs1.getString("value");&lt;BR&gt;           factoryName="SERVER1";&lt;BR&gt;           //Now create second recordset to get details for this factory&lt;BR&gt;           //Generate &amp;lt;set label='..' value='..'/&amp;gt;&lt;BR&gt;           strXML += "&amp;lt;set label='" + factoryName + "' value='" +factoryvalue+ "'/&amp;gt;";&lt;BR&gt;           //Close resultset&lt;BR&gt;       } //end of while&lt;BR&gt;       //Finally, close &amp;lt;chart&amp;gt; element&lt;BR&gt;       strXML += "&amp;lt;/chart&amp;gt;";&lt;BR&gt;       //close the resulset,statement,connection&lt;BR&gt;       try {&lt;BR&gt;           if(null!=rs1){&lt;BR&gt;               rs1.close();&lt;BR&gt;               rs1=null;&lt;BR&gt;           }&lt;BR&gt;       }catch(java.sql.SQLException e){&lt;BR&gt;            System.out.println("Could not close the resultset");&lt;BR&gt;       }&lt;BR&gt;       try {&lt;BR&gt;           if(null!=st1) {&lt;BR&gt;               st1.close();&lt;BR&gt;               st1=null;&lt;BR&gt;           }&lt;BR&gt;           }catch(java.sql.SQLException e){&lt;BR&gt;            System.out.println("Could not close the statement");&lt;BR&gt;           }&lt;BR&gt;       try {&lt;BR&gt;           if(null!=conn) {&lt;BR&gt;               conn.close();&lt;BR&gt;               conn=null;&lt;BR&gt;           }&lt;BR&gt;           }catch(java.sql.SQLException e){&lt;BR&gt;            System.out.println("Could not close the connection");&lt;BR&gt;           }&lt;/P&gt;&lt;P&gt;       //Create the chart - Pie 3D Chart with data from strXML&lt;BR&gt;       String chartCode=createChart("../../FusionCharts/line.swf", "", strXML,&lt;BR&gt;       "FactorySum", 600, 300, false, false);&lt;/P&gt;&lt;P&gt;   %&amp;gt;&lt;BR&gt;   &amp;lt;%=chartCode%&amp;gt;&lt;/P&gt;&lt;P&gt;   &amp;lt;/BODY&amp;gt;&lt;BR&gt;&amp;lt;/HTML&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;************************************************************</description><pubDate>Wed, 16 Apr 2008 01:57:31 GMT</pubDate><dc:creator>Abhi</dc:creator></item><item><title>Scriptless JSP Page?</title><link>http://www.fusioncharts.com/forum/Topic5236-45-1.aspx</link><description>hi there,&lt;br&gt;&lt;br&gt;is there any way to embed fusionchart in a jsp without using scriptlets?&lt;br&gt;&lt;br&gt;Thanks in advance:)</description><pubDate>Sun, 23 Mar 2008 23:58:16 GMT</pubDate><dc:creator>Jooly</dc:creator></item><item><title>Charts in Liferay Portlet</title><link>http://www.fusioncharts.com/forum/Topic3982-45-1.aspx</link><description>Hi i am using LIferay portlet environment, on portlet i am displaying the fusion charts but i am unable to load the swf object</description><pubDate>Mon, 21 Jan 2008 01:30:33 GMT</pubDate><dc:creator>scharan</dc:creator></item><item><title>"Error in Loading Data" in IE7 but not in Firefox.</title><link>http://www.fusioncharts.com/forum/Topic1587-45-1.aspx</link><description>I'm using the code below..&lt;br&gt;[code]var chart = new FusionCharts("shockwaves/charts/FCF_Column3D.swf", "ChartId", "450", "300", "0", "0");&lt;br&gt;		chart.setDataXML("${wco:valueStack('primeiroGrafico')}");					&lt;br&gt;		chart.render("chartdiv");[/code]&lt;br&gt;and the value returned in [code]${wco:valueStack('primeiroGrafico')}[/code] is:&lt;br&gt;[code]&lt;br&gt;&lt; graph caption='Clique Sobre a Barra' xAxisName='Safra' yAxisName='Faturamento' showNames='1' showValues='0' decimalPrecision='2' formatNumberScale='2' formatNumber='1' decimalSeparator=',' thousandSeparator='.' numberPrefix='R$' hovercapbg='FFECAA' hovercapborder='F47E00'&gt;&lt; set name='Atual' value='121342' color='FF0000'/&gt;&lt;/graph &gt;&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;I'm using dataXML  mode and not dataURL mode..&lt;br&gt;In Firefox the chart load but in IE7 no...what's the error??</description><pubDate>Tue, 10 Jul 2007 13:47:17 GMT</pubDate><dc:creator>Leonardo</dc:creator></item><item><title>fcgeneral.war</title><link>http://www.fusioncharts.com/forum/Topic3708-45-1.aspx</link><description>Hi -&lt;br&gt;&lt;br&gt;In the readme.txt file for FusionCharts_Evaluation/Code/JSP it says to install the fcgeneral.war file in your Tomcat webapp dir, but I cannot find the fcgeneral.war file. Can you let me know where I can get this?&lt;br&gt;&lt;br&gt;thanks.&lt;br&gt;ann</description><pubDate>Tue, 08 Jan 2008 17:38:44 GMT</pubDate><dc:creator>anners</dc:creator></item><item><title>Fusion chart with Java on server side</title><link>http://www.fusioncharts.com/forum/Topic2102-45-1.aspx</link><description>I would like to know if it is possible to generate a Fusion chart on the server side and store it on the server side.</description><pubDate>Sun, 26 Aug 2007 22:24:44 GMT</pubDate><dc:creator>lauvshree</dc:creator></item><item><title>feedData() and "numDisplaySets" pp</title><link>http://www.fusioncharts.com/forum/Topic2865-45-1.aspx</link><description>Hello.&lt;/P&gt;&lt;P&gt;I'm trying to send a certain number of sets to de show using feedData method.&lt;/P&gt;&lt;P&gt;The parameter has to have the  form:"&amp;amp;value=10,12,14&amp;amp;numDisplaySets=23" (for example).Is it possible to do that?&lt;/P&gt;&lt;P&gt;Thank you!</description><pubDate>Fri, 26 Oct 2007 07:33:06 GMT</pubDate><dc:creator>fusionchartsuser</dc:creator></item><item><title>Odd behavior in setDataXML</title><link>http://www.fusioncharts.com/forum/Topic1500-45-1.aspx</link><description>I originally used setDataURL until I found out that the free version doesn't support updating.  No problem, I can retrieve the XML and use setDataXML in JSP.  Once doing that, I found out that the VERY SAME XML doesn't work using both methods.  It seems that setDataXML hates double quotes (").  So, I removed all of them... almost.&lt;br&gt;&lt;br&gt;Here's the problem.  Using setDataXML, I'd like to have a link to call a javascript function.  That function should be able to have a parameter of type string like this:&lt;br&gt;&lt;br&gt;[quote][code]&amp;lt;set value='5' link="javascript :myFunction('hello world')"&amp;gt;[/code][/quote]&lt;br&gt;&lt;br&gt;This syntax is represented in the drill down docs, but I can't seem to get it formatted so that setDataXML will take it.  &lt;br&gt;&lt;br&gt;Any help?  Thanks!</description><pubDate>Mon, 02 Jul 2007 13:32:22 GMT</pubDate><dc:creator>cutigersfan</dc:creator></item></channel></rss>