XYShapeRenderer (1.0.13) does not show crosshair

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
rent
Posts: 1
Joined: Thu Apr 01, 2010 2:10 pm
antibot: No, of course not.

XYShapeRenderer (1.0.13) does not show crosshair

Post by rent » Thu Apr 01, 2010 2:15 pm

Just noticed that the drawItem() method in XYShapeRenderer does not call updateCrosshairValues (like in XYLineAndShapeRenderer) so no crosshair is visible when this renderer is used. Just add this call and it should work. -alex

Locked