mouse event with combined chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
maexchen
Posts: 15
Joined: Tue Nov 21, 2006 10:16 am

mouse event with combined chart

Post by maexchen » Tue Mar 13, 2007 2:57 pm

Hello!
I'va a combined chart, and now I want to know on which chart my mouse is clicked.
I use

Code: Select all

 public void chartMouseClicked(ChartMouseEvent event) {         Object ev = event.getSource();
But it doesn`t work right, I always get the same chart.
How can I solve this problem?

Locked