Mouse events in JfreeChart

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

thanks

0


a source to share


1 answer


You can use the mouse event from the panel and use ChartMouseEvent.getEntity()

to find out if your chart is over one of the chart objects. See the Api docs for ChartMouseEvent .



0


a source







All Articles