Chartjs-How to draw Line chart using chart.js and datalabels should be shown

0👍

Since your config aint working I assume you are using chart.js V3 in which case you put the options in the wrong spot, you are placing them in the V2 spots.

If you put it like this it will work:

options: {
  plugins: {
    tooltip: {
      enabled: false
    }
  }
}

For all changes between V2 and V3 you can read the migration guide

Leave a comment