是否可以通过一条线执行动作事件?

Is it possible to perform an action event over a line?

我使用 JFreeChart 库用 XY 线图绘制了二维线图。现在,我想在用户点击该系列行时删除该系列。有可能这样做吗?我应该怎么做?

大纲,