Scatter Plot shapes

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

Scatter Plot shapes

Post by Ted Hill » Fri Sep 27, 2002 8:18 pm

Hello,

I'm doing a scatter plot and set up the shapes as follows:

XYItemRenderer renderer = new StandardXYItemRenderer(
StandardXYItemRenderer.SHAPES,
new StandardXYToolTipGenerator());


Is there some way to specify **smaller** shapes? I have a LOT of data and the standard squares and circles are somewhat too large.

Thanks,

Ted Hill

David Gilbert

Re: Scatter Plot shapes

Post by David Gilbert » Mon Sep 30, 2002 9:46 am

In the renderer, there is a method setDefaultShapeScale. The current default is 6.0, you can try setting it to something smaller.

One thing I need to implement, is an XYItemRenderer that just draws dots since that should be faster than drawing shapes.

Regards,

DG.

Locked