Create Chart Easily on with J2me ChartComponent class

September 10th, 2007 Posted in J2ME / JavaME, newbie

 

Charts and graphs are very convenient and efficient way to present data to audiences. Charts make it easy for people to compare figures and present an interpretation of the data itself with just a glance.

However writing a class to represent data in charts in J2ME environment is very time consuming if not difficult, especially when the data representation part consists of a very small part of your mobile application.

Fortunately, there’s ChartComponent, an easy to use class for generating charts in J2ME JavaME applications. ChartComponent requires MIDP 2.0 / CLDC 1.0 supported phone in order to be use.

Supported charts in the class are :

  1. Horizontal bars
  2. Vertical bars
  3. Line
  4. Pie (experimental)

ChartComponents comes with javadoc API documentation for references and a test suite which serves as a demo and code reference. The only drawback that I found with are : It is not open source, it is quite large.

However the ChartComponent jar class size can be reduced after integrating with your own midlet with the use of obfuscater.

Download ChartComponent from Beanizer.org

pie.png
palm.gif

[tags]j2me,javame,charts,mobile,midp,cldc,java,midp2[/tags]

 

Random Posts


Leave a Reply

This blog is protected by dr Dave\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s Spam Karma 2: 145382 Spams eaten and counting...