stefanbschneider
stefanbschneider

Reputation: 6086

JFreeChart Boxplot appearance

I'm need to create boxplots to analyse and evaluate test results. Since I program in Java this answer convinced me to use JFreeChart. The BoxAndWhisker chart seemed similar to what I wanted.

I spent the day to implement and create the dataset and the plot, but I'm confused with the result and also not very satisfied.

This is what I expected (the appearance/style not the values): What I expected This is what I got: what I got

Upvotes: 2

Views: 2105

Answers (1)

trashgod
trashgod

Reputation: 205855

The meaning of the symbols used in BoxAndWhiskerRenderer may be inferred from the drawItem() source code. For example, the mean is indeed drawn using an Ellipse2D, and it's visibility is controlled using the eponymous mutator, setMeanVisible(). Similarly, an empty ellipse represents an outlier. A complete example is shown here.

Upvotes: 2

Related Questions