react-chartjs-2 icon indicating copy to clipboard operation
react-chartjs-2 copied to clipboard

onclick function on x-axis labels and draw underline for x-axis labels.

Open stardev24 opened this issue 4 years ago • 1 comments

Team, As per my requirement I have to create a onclick function for x-axis labels and get label data inside function. Also draw underline for each of the x-axis labels.

How can I achieve this

stardev24 avatar Jun 01 '20 20:06 stardev24

Hi @stardev24 👋

Sorry for a late reply, but you should look into chart.js legend configuration options, specifically onClick event.

Arantiryo avatar May 10 '22 19:05 Arantiryo