title: JFreeChart Boxplot Outlier and Farout appearance
body: <p>I am using JFreeChart with Java to evaluate experimental results using the boxplot chart. I want to change the color and shape of the outliers and the farout entries.</p>
  
  <p>This is how my plots currently look like when I use the normal BoxAndWhiskerRenderer: <img src="https://i.stack.imgur.com/p96em.png" alt="Current plot">
  I set up the renderer like this:</p>
  
  <pre><code>BoxAndWhiskerRenderer renderer = new BoxAndWhiskerRenderer();
  renderer.setFillBox(true);
  renderer.setSeriesPaint(0, Color.DARK_GRAY);
  renderer.setSeriesPaint(1, Color.LIGHT_GRAY);
  renderer.setSeriesOutlinePaint(0, Color.BLACK);
  renderer.setSeriesOutlinePaint(1, Color.BLACK);
  renderer.setUseOutlinePaintForWhiskers(true);   
  Font legendFont = new Font("SansSerif", Font.PLAIN, 15);
  renderer.setLegendTextFont(0, legendFont);
  renderer.setLegendTextFont(1, legendFont);
  renderer.setMeanVisible(false);
  </code></pre>
  
  <p>Here, I cannot change the color and shape of the outliers. I would want them in black, not in the color of their series. And I would want them to look like small crosses rather than these big empty circles.
  Also no farout values are shown at all and it seems like one of the outliers is cut off.</p>
  
  <p>Then I found the <a href="http://sourceforge.net/p/jfreechart/patches/168/" rel="nofollow noreferrer"><code>ExtendedBoxAndWhiskerRenderer</code></a> which allows to edit the color and shape of both outliers and farouts. This is what that looks like:
  <img src="https://i.stack.imgur.com/MaB2I.png" alt="ExtendedRenderer plot">
  I set up the renderer like before, but I added two lines to set the color for the outliers and the farout entries:</p>
  
  <pre><code>renderer.setOutlierPaint(Color.BLACK);      renderer.setFaroutPaint(Color.LIGHT_GRAY);
  </code></pre>
  
  <p>I also experimented with the shape of the outliers by reducing the cirle raduis in the extended renderer's implementation to 1.0 instead of 2.0:</p>
  
  <pre><code>private Shape createEllipse(Point2D point, double oRadius) {
          Ellipse2D dot = new Ellipse2D.Double(point.getX(), point.getY(), oRadius*1.0, oRadius*1.0);
          return dot;
  }
  </code></pre>
  
  <p>However, I don't like these plots too much either. The Whiskers/Outlines of my plots aren't black anymore even though I set them to black. The mean is visible again even though I set it to invisible. And the huge number of outliers looks kind of ridiculous and makes me wonder why there are no farouts at the plots with the normal renderer at all.</p>
  
  <p>If anyone could help me with these smaller appearance problems, that would be very nice. Otherwise, I will just take the current plots with the weird looking outliers and missing farouts...</p>