Trick For Mouse Action Listener on Marker
Trick For Mouse Action Listener on Marker
Is there any way to identify that mouse click on the value marker ? so that we can drag and drop value marker or we can open new popup while on click action on marker.
-
- Posts: 1634
- Joined: Sat Feb 17, 2007 1:51 pm
Re: Trick For Mouse Action Listener on Marker
Not with a marker, but an annotation should do the job, at least if the plot is an XYPlot. See here. The annotations described in the linked thread support tool tips and entities, which is a prerequisite for some interactivity.
Re: Trick For Mouse Action Listener on Marker
i had try to set mouse action listener in XYRangeValueAnnotation class but failed! than i had do my job with identify tooltip of annotation object on event listen and chart panel have a option to add mouse listener so right now my job done! XYRangeValueAnnotation do my job because it allowed to set tooltip while value marker not . Thanks paradoxoff 
i am using JFreeChart 1.0.19 is there any need to move in JFreeChart 1.5.0 right now?

i am using JFreeChart 1.0.19 is there any need to move in JFreeChart 1.5.0 right now?