Posts Tagged ‘Java Wrapper’
Fusion Charts Java Wrapper Updated
Fusion Charts Java Wrapper v1.0 released
I’ve updated the fusion charts java wrapper that I released in a previous post, however many people were having problems getting to work, so I’ve changed some stuff around and updated the wrapper with clear instructions on getting it to work for everyone.
The FusionCharts wrapper requires Java 1.5+ in order to run so make sure you have this set in the compile settings.
The package was tested on Eclipse JEE Galileo where you can download at the Eclipse website here
With the Web Tools Platform 3.1.1 addon here
In addition please install Tomcat which can be found here
I’ve released 4 versions that you can download ranging from the full source to just a war file.
Please click on the links to download your desired version
FusionCharts War File (web project)
FusionCharts Full Source (web project)
FusionCharts Jar File
FusionCharts Full Source
Java Docs
Part 1: Installation



Fusion Charts Wrapper Online Guide
Here’s the online guide to the Fusion Charts Wrapper found at http://davidlai101.com/blog/2010/02/02/fusion-charts-java-wrapper-updated/
If you just need the JavaDocs, please go to http://davidlai101.com/fusioncharts-javadoc/
Steps to build a Fusion Chart in Java
Please ensure that you have example.jsp and example_alternative.jsp open in order to follow the steps below to build a fusion graph.
If you haven’t downloaded the full project file please download it here
Create FusionGraph
First you will want to create a FusionGraph object and set its properties
To create a FusionGraph object you will need to define a Graph Id, Chart Type which is an enum from ChartType and the size of items in each of it’s series. Let’s start with a simple pie graph example that has 5 slices.