Chartjs-Changing the visibility of Hidable Datasets in Scatterplots ChartJS

0👍

To remove the legend you should disable it (as you partially did but in the wrong config node).

options: {
  plugins: {
    legend: false,
  }
...
}

or

options: {
  plugins: {
    legend: {
      display: false
    },
  }
...
}

Leave a comment