Archive for the ‘Fusion Charts’ Category

February 3rd, 2010

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.

February 2nd, 2010

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

April 30th, 2009

Fusion Charts Java Charting Package

NOTE: Please note that the wrapper has been updated and you can get the latest code at
http://davidlai101.com/blog/2010/02/02/fusion-charts-java-wrapper-updated/

I’ve created a Fusion Charts package that acts as a wrapper for the Java developers out there.

The charting package will help you attach data to your series and construct your graph.
In addition, there is a ChartFactory class which builds the appropriate FusionCharts xml string to use in your jsp page.

Instead of using FusionChartsRenderer.jsp I have created a custom chartBuilder.jsp that takes the graph object created and outputs the string for you.

I’ve also included 2 example jsps utilizing the charting package.

Feel free to edit the code and it would be great if you could share any additional improvements.

You can download the source code, javadoc, and examples below

Source Code and Examples

Download the Fusion Chart Java user guide

User Guide

Online Documentation on using the Java classes can be found in the next page of this post

April 28th, 2009

Fusion Charts DOM Fix

FusionCharts DOM is a JavaScript framework that helps you include FusionCharts in your web applications in a very elegant and easy way. Instead of writing standard Javascript codes or OBJECT/EMBED tags to embed charts, you can use FusionCharts DOM to create a chart by just including <fusioncharts> … </fusioncharts> tags in your HTML code. Configuration of the charts is as simple as providing attributes to this HTML element.

Essentially, FusionCharts DOM is a JavaScript file that you include in your HTML page. Once that is done, the rest is as simple as writing <fusioncharts> HTML tags within your documents. The included javascript does all the hard work of elegantly converting your <fusioncharts> HTML tags into impressive charts

April 24th, 2009

Fusion Charts for dashboarding

fusion charts logo

I’ve been working alot with Fusion Charts lately and found that Fusion Charts is able to produce the Wow factor that most of the other big name dashboarding tools produce.

FusionCharts comes in a free version and a professional version. The free version comes with 18 charts however these charts are quite bland and I would recommend buying a license for the professional version since you are able to control many more aspects in the charts such as gradients, shadows, drilldowns, etc. In addition, the professional package comes with 45 charts.

To get started, you only need to know a simple amount of HTML and how to configure the FusionChart tags on your page. It doesn’t have the drag and drop GUI other tools such as Xcelsius have but for developers that have some programming background, this should be simple.