Boxplot chart with all points

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
rashed
Posts: 7
Joined: Thu Nov 12, 2015 6:18 am
antibot: No, of course not.

Boxplot chart with all points

Post by rashed » Thu Nov 12, 2015 6:28 am

Hi

I'm generationg Boxplot chart setting all Boxplot values in BoxAndWhiskerItem constructor as follows:

Code: Select all

BoxAndWhiskerItem item = new BoxAndWhiskerItem(
                    boxplot.getRawdataAverage(), boxplot.getRawdataMedian(),
                    boxplot.getQ1(), boxplot.getQ3(),
                    boxplot.getBoxLowerBoundary(),
                    boxplot.getBoxUpperBoundary(), boxplot.getLowerOutlier(), boxplot.getUpperOutlier(), outlierList);

With this I get the basic Boxplot, now I'd like to show all points (observations) of a sample within each box, is it possible? If so, could someone tell me the way?

Thanks

Rashed

paradoxoff
Posts: 1634
Joined: Sat Feb 17, 2007 1:51 pm

Re: Boxplot chart with all points

Post by paradoxoff » Mon Nov 16, 2015 6:13 pm

What about using a DefaultMultiValueCategoryDataset and a ScatterRenderer?

rashed
Posts: 7
Joined: Thu Nov 12, 2015 6:18 am
antibot: No, of course not.

Re: Boxplot chart with all points

Post by rashed » Wed Nov 25, 2015 4:09 am

I don't know about DefaultMultiValueCategoryDataset and a ScatterRenderer, I'll try. Do you have any example using these? Thanks

paradoxoff
Posts: 1634
Joined: Sat Feb 17, 2007 1:51 pm

Re: Boxplot chart with all points

Post by paradoxoff » Thu Nov 26, 2015 11:29 am

Searching the forum for ScatterRenderer gave this thread as 5th result:
viewtopic.php?f=3&t=30054&p=82862

rashed
Posts: 7
Joined: Thu Nov 12, 2015 6:18 am
antibot: No, of course not.

Re: Boxplot chart with all points

Post by rashed » Wed Dec 02, 2015 8:06 am

I'll try it...thanks a lot.

Locked