It is possible to retrieve the click event only on label of the x-axis in chartJS? Example
Thanks
No, since chart.js V3 the click event is limited to the chart area only so you will need to add your own click listener to the canvas.
In this click listener you can then use the getValueForPixel to get the X label