Menu

#1149 Bug in BoxAndWhiskerRenderer.java

1.0.x
closed-fixed
None
5
2017-02-08
2016-04-20
Russ
No

Re: version 1.0.19

Symptom: When displaying a horizontal box-and-whiskers chart, half of the left-whisker end line is missing. This bug does not appear for a vertical box-and-whiskers chart (which makes perfect sense because the drawing of vertical whiskers occurs in a different function than for horizontal whiskers).

Fix:

Change lines 706-707 to the following:

        g2.draw(new Line2D.Double(xxMin, yymid - halfW, xxMin,
                yymid + halfW));

This corrects line 707, which is the fourth argument of the call to function Line2D.Double.

Discussion

  • David Gilbert

    David Gilbert - 2017-02-08

    I believe this is fixed by this change, which was probably inspired by your bug report.

    https://github.com/jfree/jfreechart/commit/726f7c4ace0e5dff6abe723c110fedd03b3dac52

    Thanks for providing the feedback, it's much appreciated.

    Best regards,
    David

     
  • David Gilbert

    David Gilbert - 2017-02-08
    • status: open --> closed-fixed
    • assigned_to: David Gilbert
     

Log in to post a comment.