Sign in to follow this  

Basic usage of FusionCharts with JSP

Recommended Posts

Hi guys,

I am a novice user to the FusionCharts and I am trying to place it with my test JSP page. It is not rendering the results at all. I have done all the basics with static installations properly and tested it. But as soon as i moved to JSP it is not working at all . I am pasting the code below for further reference.


Please if someone can redirect me towards an example application of JSP using FusionCharts.


Edited by Guest

Share this post

Link to post
Share on other sites

I have modified the jsp given by you. Please find the jsp in the attached zip file.

Here is the list of changes that were made to the jsp :

1. In the chart xml (dataXML), replace all double quotes (escaped) with single quotes when specifying values for attributes.

2. Use the setDataXML function to set the xml string to the chart object (myChart).

Root element of XML data document has been changed from <graph> to <chart> (from v2.3 to v3 ). However, <graph> element would still continue to work from your old XML documents. But, we recommend using <chart> element for any new charts that you now make.



FusionCharts Team

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this