data point marks

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

data point marks

Post by jason » Fri May 11, 2001 10:23 pm

Is there the ability to have marks where the data points exist on the times eries chart? For example, the first series might have small triangles at each datapoint and the next series might have small squares.

If there is this ability, what setting do I need to change?
Thanks,
Jason

David Gilbert

RE: data point marks

Post by David Gilbert » Mon May 14, 2001 10:44 pm

Hi Jason,

This feature is missing in the current version of JFreeChart. Hopefully it will get added in the future (either by myself or another volunteer).

Regards,

DG.

Morten Jeppesen

RE: data point marks

Post by Morten Jeppesen » Wed May 16, 2001 7:58 am

Hi everybody...

I just wanted to say that I am currently working on showing the data in points (actually it's cirkels) and it works pretty well..if you want the source just mail me :)

Just remember that I haven't made the complete javadoc. The biggest part of what I did was copy Line.java, and change it to work with ellipses. Then I copied the XYPlot.java and changed the getLines and draw methods. Last but not least I added a createPointChart method to jFreechart.java.

I've been testing the hole thing on servlets, so I can't really say if it works 100% as a standard program...I certainly hope so :)

One last thing I've been changing some other things arround the the hole jFreeChart consept..nothing big though. I've just added a couple of convenience methods arround the place.

Morten

David Gilbert

RE: data point marks

Post by David Gilbert » Wed May 16, 2001 11:06 pm

Hi Morten,

Let me know what convenience methods you are implementing - I'll be happy to add them to the main library.

Regards,

DG.

Locked