Vaadin Spline chart

I am not able to add listener to spline chart.
below is the code shared.
chart.addChartClickListener(new ChartClickListener() {
private static final long serialVersionUID = 7298184968266574305L;
@Override
public void onClick(ChartClickEvent event) {

            newmethod(event.getSource());
            
        }
    });

I want to click on marker and get same object. this click in working at other areas of chart but not marker click