Symbols in the scatter plot

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Young-Jin Lee

Symbols in the scatter plot

Post by Young-Jin Lee » Mon May 06, 2002 5:41 pm

Hi, I have a question on how to change symbols in JFreeChart.
Is there any way to use various symbols in the JFreeChart? It seems like that a circle is a default symbol in the JFreeChart, but it would be very useful to use other symbols such as a rectangle or a triangle.

Thanks in advance.

Young-Jin Lee

David Gilbert

Re: Symbols in the scatter plot

Post by David Gilbert » Tue May 07, 2002 9:17 am

There are two getShape(...) methods in the Plot class that determine the shapes that will be used. This code is incomplete, because I haven't added a mechanism for developers to add their own shapes without modifying the JFreeChart code directly...

Regards,

DG.

Young-Jin Lee

Re: Symbols in the scatter plot

Post by Young-Jin Lee » Tue May 07, 2002 4:42 pm

Hi,

Are you going to implement it in the near future?
Can I know when it will be done?
Thanks for your help.

YJ

Andreas Schneider

Re: Symbols in the scatter plot

Post by Andreas Schneider » Wed May 08, 2002 4:55 pm

May I suggest that scatterplots should also be able to uses Images as well as Shapes. As for adding own shapes - I will need this feature very soon myself and would be more than happy to contribute anything I can come up with to the project.

Andreas

David Gilbert

Re: Symbols in the scatter plot

Post by David Gilbert » Tue May 14, 2002 10:11 am

I committed some code to CVS on SourceForge yesterday, contributed by Andreas Schneider and Jeremy Bowman, that significantly improves the shape support in JFreeChart for both the scatter plot and other chart types.

It is contributions like these that keep making JFreeChart better, so I want to say a big thanks to these developers (and others) for taking the time to package up their modifications and contribute them to the project.

Regards,

DG.

YJ

Re: Symbols in the scatter plot

Post by YJ » Wed May 22, 2002 3:59 pm

I have a little problem in accessing CVS.
Are you going to include this function in near future? Then I will wait for a new release.
Thanks in advance.

YJ

David Gilbert

Re: Symbols in the scatter plot

Post by David Gilbert » Wed May 22, 2002 4:32 pm

A lot of changes have been made in the CVS version of JFreeChart, so a new release is overdue. But I have a few more things I need to work on before I package up the release. I hope version 0.9.0 can be released in the next two weeks, but I won't make that a promise because I can't predict how much time I will have available...

Regards,

DG.

Locked