package org.jfree.chart.annotations;
Class : public class XYPointerAnnotation extends XYTextAnnotation
The line below
Line2D line = new Line2D.Double(startX, startY, endX, endY);
should be changed to
Line2D line = new Line2D.Double(startX, startY, endX, arrowBaseY);
because if the user uses arrowStroke = new BasicStroke(2.0f); or thicker the arrow is displayed wrong.
Thanks !
Jocaf
Thanks for the report. I committed the fix to Subversion for inclusion in the next release (1.0.14).