Cumulative line charts

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

Cumulative line charts

Post by Vrata » Thu Oct 10, 2002 7:50 pm

Hi,

I am new here and would like to start by saying thanks for a great set of libraries.

I trudged through the demos and javadoc and did not manage to find a way to make cumulative line charts with the area underneath each line coloured in. I guess using area chart there might be a way, but I don't want the colours to mix.

Any one knows how to do this?

If there are no simple way of doing this, I am thinking of trying to hack into the source code and adding my own class.... unless someone is already working on such an implementation.

Many thanks for any helps

Vrata

Dave Gilbert

Re: Cumulative line charts

Post by Dave Gilbert » Thu Oct 10, 2002 11:09 pm

Dan Rivett has contributed a renderer (StackedAreaCategoryItemRenderer) which I think does what you are asking for. It will be included in version 0.9.4 (or you can get it from CVS now).

Regards,

DG.

Locked