-
Content count
943 -
Joined
-
Last visited
-
Days Won
3
Everything posted by srividya_sharma
-
FusionCharts Struts2 Example
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
Hi Good that you could figure out the problem. FusionCharts Free uses <graph> tag whereas FusionCharts v3 uses <chart> tag and v3 also has several attributes which are not present in free version. FusionCharts v3 introduces a debug mode for each chart. The debug mode helps you to look into what's happening in the chart behind the scenes. You can see how the chart is initializing, getting its data and interacting with JavaScripts. Various errors generated are also shown in this. So, whenever you see an error on the chart now, all you need to do is switch to debug mode and fix it up. --- from the documentation Srividya -
FusionCharts Struts2 Example
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
Hi Can you post the XML String that you are seeing. ( I assume that you have the database setup ) Also, it would help if you turn on the debug mode to see any error messages. Srividya -
Top and Bottom N results of the data
srividya_sharma replied to ramadevimandala's topic in FusionCharts and JSP
Hi Rama, You could limit the data at the sql query level. Get only the top 5 or bottom 5 results in your sql query. Hope this helps. Srividya -
Hi everybody, In Unix/Linux/Solaris, there might be a problem while using java Graphics package. ( as in the case of FusionCharts server-side exporter ) So when using FusionCharts for JSP export handler, you might run into the following exceptions: SYMPTOMS EXTERNALINTERFACE: Could not initialize class sun.awt.X11GraphicsEnvironment java.lang.Class.forName0(Native Method) java.lang.Class.forName( Class.java ) java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment. ) java.awt.image.BufferedImage.createGraphics(BufferedImage.java: ) OR java.lang.NoClassDefFoundError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java: ) at java.awt.image.BufferedImage.createGraphics(BufferedImage.java: ) OR java.lang.InternalError: Can't connect to X11 window server using ... ---- CAUSE Most versions of the Java.AWT library on Unix/Linux/Solaris require a functioning X server. The X server and the DISPLAY environment variable are not correctly set. X server is not installed in the machine. SOLUTION The best solution is to run Java in headless mode. This can be done by adding -Djava.awt.headless=true to server options. ( >= jdk 1.4.2 ) The other solutions involve installing a library like PJA library or a X server emulator. Reference: http://www.idautomation.com/kb/xwindow-error.html
-
Data is not updating from the xml which we get from database
srividya_sharma replied to [email protected]'s topic in FusionCharts and JSP
Thank you all for the "support". Keep asking and keep getting more out of FusionCharts everyday! Srividya -
how Drag-node Chart Updated positions of node can be sent back to server for processing when you add a node
srividya_sharma replied to a topic in Using PowerCharts XT
The jsp that I gave you, saves the changed xml to the FILE from which it was read. If you want to store the changed xml in session, please modify the jsp to write the data to session instead of file. Please try it out. Please contact me in case of any further issues. Srividya -
What is the exact format for javascript link to be given in the xml for drill-down? Which version supports which format, please specify.
-
Hi, can you also tell me how I have to escape the parameters ( for single/double quotes ) sent to the javascript function? problem occurs when I store the xml itself in a string. Thanks Srividya
-
Data is not updating from the xml which we get from database
srividya_sharma replied to [email protected]'s topic in FusionCharts and JSP
Hello Ketan, Can you please change you javascript which updates the xml to the following: var graphPath = "FusionDataXML/PieChart.xml?nocache="+ new Date().valueOf()"; Hope this helps. Srividya -
Error compiling FCExporter.jsp (v3.1.1) in Weblogic 10.3
srividya_sharma replied to korolevc's topic in FusionCharts and JSP
Hi Charles, Can you tell me the java compliance of your project in weblogic? With Java 5 compliance, I am able to build the project in weblogic 10.3. regards, Srividya -
Hi Here is the sample application of FusionCharts using JFlashPlayer in Swing. Please go through the Readme.txt on setup and running. Hope this helps. Srividya FusionChartsSwingTestApp.zip
-
Hi, Welcome to FusionCharts and Swing. We do have a demo application of FusionCharts and Swing using JFlashPlayer. Give me some time... I will package it and post all the details here. Thanks Srividya
-
Error compiling FCExporter.jsp (v3.1.1) in Weblogic 10.3
srividya_sharma replied to korolevc's topic in FusionCharts and JSP
Hi Charles, Please check if fcexporter.jar is in the libraries used for compilation. hope this helps. Srividya -
how Drag-node Chart Updated positions of node can be sent back to server for processing when you add a node
srividya_sharma replied to a topic in Using PowerCharts XT
Hi Here is a JSP example. Hope it helps. DragNode_JSPExample.zip -
Creating an application component for rendering fusion chart in a website
srividya_sharma replied to suchirag's topic in FusionCharts and JSP
Hi Suchira, There will be a config file on the server which can be used to configure database connectivity parameters across an application. Or, you could put the responsibility of giving the right connectivity parameters to the caller. so, whoever calls your component has to pass the connection configuration to it. Srividya -
when i move a node to a new positions how can i know the positions
srividya_sharma replied to srividya_sharma's topic in Using PowerCharts XT
hi here is a sample jsp drag node application. Please see if this is what you wanted. DragNode_JSPExample.zip -
Creating an application component for rendering fusion chart in a website
srividya_sharma replied to suchirag's topic in FusionCharts and JSP
Hi Suchira, From the website page, contact a servlet which would use a database helper class to do all the database processing. Then from that data, create a xml and pass the xml to the jsp. Srividya -
Creating an application component for rendering fusion chart in a website
srividya_sharma replied to suchirag's topic in FusionCharts and JSP
Hi Suchira, Did you get a chance to look at the JSP samples provided along with the download package? If not, I would request you to do so. All the backend database processing can be done via servlet and other classes. The generated xml can then be passed to a jsp, which would include FusionChartsRenderer.jsp to show the chart. Hope this helps! Srividya -
Data URL not passing all arguments to XML Request
srividya_sharma replied to FusionCharts Support's topic in FusionCharts and Ruby on Rails
Hi In RoR, @str_data_url = "/Fusioncharts/db_data_url/pie_data?"+CGI.escape("param1=1¶m2=2") Please try something like this. Hope this helps. Srividya -
FusionCharts Exporter Jars For Different Java Versions
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
Hi, This servlet can be used only for single chart export. Srividya -
Data URL not passing all arguments to XML Request
srividya_sharma replied to FusionCharts Support's topic in FusionCharts and Ruby on Rails
Hi Can you please encode the parameters before passing it as dataURL. Hope this helps. regards, Srividya -
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
-
Need to call js function on entire chart.
srividya_sharma replied to anila's topic in FusionCharts and JSP
Hi Anila Happy to hear this. Glad to help! Srividya -
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
-
Generate XML based on resultset from Mysql and use in FusionCharts
srividya_sharma replied to srividya_sharma's topic in FusionCharts and JSP
Hi Mona, Try giving a relative path. Srividya