Create Chart Easily on with J2me ChartComponent class
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 :
- Horizontal bars
- Vertical bars
- Line
- 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
[tags]j2me,javame,charts,mobile,midp,cldc,java,midp2[/tags]