Mouse clicks - choose the series/category

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

Mouse clicks - choose the series/category

Post by Gopi » Mon Oct 01, 2001 8:10 pm

Hi,

I'm using JFreeChart to draw a VerticalBarPlot. When the user clicks on a bar, I want to know on which series and category the mouse was clicked. Any ideas on how this can be done?

Thanks,
Gopi

Plamen Dragozov

RE: Mouse clicks - choose the series/category

Post by Plamen Dragozov » Thu Nov 01, 2001 4:02 pm

Look at:
http://www.jrefinery.com/forums/read.ph ... =654&t=654
I added a feature where you can see the real chart coordinates when moving the mouse cursor.
I haven't made this for the categories, but I hope that what I made could help you.

Locked