XY Plot: I need dots...

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

XY Plot: I need dots...

Post by Frank Rossdeutscher » Thu Jun 13, 2002 12:32 pm

Hi!

I trying to create XY Plots, but when my data is displayed, the datapairs will be shown as squares. As my plots have > 5000 time steps, it sometimes is hard to distinguish the differents spots. Is it possible to have simple dots as a representation for the data?
(Might have somthing to do with the strokes, but so far I couldn figure out, how...)

Thanks for any help,

Frank!

David Gilbert

Re: XY Plot: I need dots...

Post by David Gilbert » Thu Jun 13, 2002 4:27 pm

Hi Frank,

This will require a modification to StandardXYItemRenderer which is only set up to draw some combination of shapes, lines or images. Alternatively, create a new renderer that just draws a dot at each x,y point. The latter is probably a cleaner solution.

I'll add it to my to-do list, but I'd encourage you to have a go at it yourself as my to-do list is very long...

Regards,

DG.

Frank Rossdeutscher

Re: XY Plot: I need dots...

Post by Frank Rossdeutscher » Fri Jun 14, 2002 9:56 am

Sure, no problem. Thanks for the help, I'll try.
By the way: Congrats for this whole thing, I think it's marvellous... :-)

Bye, Frank.

Locked