Overlay multiple box plots?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
paololim
Posts: 11
Joined: Tue Jul 17, 2007 3:08 pm
Location: Hopewell Junction, NY

Overlay multiple box plots?

Post by paololim » Tue Jul 17, 2007 3:15 pm

Hi There. I am pretty new to JFreeChart, and would need some help in something I have to implement. In a nutshell, I have to create a chart with multiple box-and-whisker plots overlayed on a single X and Y axis.

The only demo I've seen so far of a box plot is: JFreeChartBoxAndWhiskerDemo.htm

This doesn't work for me because each series here is in it's own column under the type category. What I need is for all 3 series to be just all on one column. This would look a bit messy, but it's how I need to have it implemented. Any ideas on how to do this? Links to any demo code would be helpful.

mminer
Posts: 11
Joined: Wed Jun 06, 2007 8:11 pm

Post by mminer » Thu Aug 02, 2007 3:07 pm

I believe I'm having the same problem. Whenever I add two BoxAndWhiskerItems with the same column key to the dataset, they appear beside each other rather than one overlaying the other. I realize this looks cramped, but in my situation it's the desired output. Is there a way that I might force the boxes to appear horizontally aligned with each other?

Locked