BoxAndWhiskerRenderer that acts the same for horiz and vert

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Wetzerk
Posts: 14
Joined: Thu Feb 07, 2008 3:54 pm

BoxAndWhiskerRenderer that acts the same for horiz and vert

Post by Wetzerk » Tue Jul 01, 2008 5:00 pm

I've taken the v1.0.10 BoxAndWhiskerRenderer class and made it work the same for both horizontal and vertical orientations (the default renderer acts differently for the two orientations).

I've also extended the outliers to show empty symbols for near outliers and filled ones for far outliers... but that's easy to remove if no one likes it.

There are also a few performance improvements, for example, items that only need to be calculated once are taken out loops, etc.

Finally, if the series consists of a single point then the mean symbol color is changed to represent the series color otherwise there is no way to know what series the dot represents.

Let me know if this would be useful to JFree and I'll contribute w/o any restrictions (eg. give it away vs withhold licensing rights).

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Wed Jul 02, 2008 8:46 pm

Those sound like nice improvements. Can you post a patch to:

http://sourceforge.net/tracker/?group_i ... tid=315494
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked