I want to Help in the development of JFreeChart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Asifch

I want to Help in the development of JFreeChart

Post by Asifch » Fri Dec 20, 2002 7:54 pm

I see the JFree Chart. It is great one.
But i have some problems with it
first of all i can not understand the overall design of this charting library like it uses the jcommon library wich i think should not be used. secondly it can not provide a uniform structure for data manepulation. There should be only one datasource structure for every charting component otherwise you are not able to change the chart type at the run time using the same data.
I also find some missing code in the source code of JFreeChart
I can help you to resolve these problems and to make it the only choice for charting components if u provide me some documentation about this project like its design diagrams and some project information

thank you.

Asifch

David Gilbert

Re: I want to Help in the development of JFreeChart

Post by David Gilbert » Mon Dec 23, 2002 10:18 am

Asifch wrote:
> first of all i can not understand the overall design of this
> charting library like it uses the jcommon library wich i
> think should not be used.

JCommon just contains some classes that I use in JFreeChart, JFreeReport and a few other projects that I work on. I've put them in one library so I don't have to duplicate code in each project.

> secondly it can not provide a
> uniform structure for data manepulation.

JFreeChart doesn't provide any structure for manipulating data, it only provides some standard interfaces for *reading* data. I don't think it is the job of a chart library (which is a presentation tool) to say how you should update your data, or even how to store it. All JFreeChart requires is a way to read the data (see the next comment).

> There should be only
> one datasource structure for every charting component
> otherwise you are not able to change the chart type at the
> run time using the same data.

I don't believe there is one true data structure that can represent all types of data. JFreeChart has three key datasets: PieDataset, CategoryDataset, and XYDataset. There are defined as interfaces, so you can write your own implementation to suit your requirements. Particularly for the latter two datasets, you can produce a variety of different charts for data that conforms to those interfaces (see the ChartFactory class for examples). But you can't interchange a CategoryDataset with an XYDataset, because they are different.

> I also find some missing code in the source code of JFreeChart
> I can help you to resolve these problems and to make it the
> only choice for charting components

Great! I guess you meant "best choice" rather than "only choice" - I'd hate to see a world where there was only one software product to choose from. Some people ask me why I put links to other free chart libraries on the JFreeChart home page...I do it because I want people to use software that suits their requirements, and JFreeChart won't suit everyone's requirements.

> if u provide me some
> documentation about this project like its design diagrams and
> some project information

Sure, if you are serious about contributing to the project I will send you a copy of the JFreeChart Developer Guide.

Regards,

Dave Gilbert

Locked