tags:

views:

525

answers:

1

hi,

I need a way to distinguish when a mouse event occurs in the chart itself and not in the chartPanel (the plot area).

Thanks

A: 

You should be able to use the mouse event from your panel and use ChartMouseEvent.getEntity() to find if your chart is over one of the chart entities. See the api docs for ChartMouseEvent.

Adam