I want to know how to get the X\Y item details of a clicked line item in amcharts 4.
I have the code here: https://stackblitz.com/edit/angular-playground-3qpqlq
series2.segments.template.events.on("hit", (ev) => {
alert('line clicked');//this gets triggered
//but how to i get the line item details here, like X axis and Y axis
//value of the clicked point of the line?
}, this);