Cross hair movement

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
afsar

Cross hair movement

Post by afsar » Tue May 07, 2002 11:53 am

Hi
I want the cross hair to move along with my mouse, is there a way to handle this.

Its urgent
Please let me know as soon as possible
thanks

David Gilbert

Re: Cross hair movement

Post by David Gilbert » Tue May 07, 2002 3:50 pm

In 0.8.1, the crosshairs are drawn as part of the chart, and only get updated with mouse clicks. I am working on some contributed code for the next version of JFreeChart that makes the crosshairs part of the JFreeChartPanel class, which will make it easier to move the crosshairs as the mouse pointer moves.

Regards,

DG.

afsar

Re: Cross hair movement

Post by afsar » Tue May 07, 2002 4:14 pm

Is it the default behaviour or do i need do some modifications, can you just send me snippet of code for the cross hair updations

thanks
afsar

Locked