Chartjs-Remove chartjs pie chart highlight on hover

0👍

You can use the hoverBorderWidth property to remove the border on hover like this:

var myDoughnutChart = new Chart(ctx, {
    type: 'doughnut',
    data: {
      datasets: [
        data: [//data here],
        hoverBorderWidth: 0
      ]
    },
    options: options
});

Leave a comment