How to remove datalables from specific dataset

Hello!
I’m trying to remove datalables from the specific dataset (the first one) and following this guide. But there’s no expected effect then.

Here’s my code snippet:

Can you please help me?

Thank you!

Hi @veetaly,

It looks like you misspelled datalabels as datalables.

Works fine here:

{
  type: 'bar',
  data: {
    labels: ['Q1', 'Q2', 'Q3', 'Q4'],
    datasets: [
      {
        label: '1',
        data: [50, 60, 70, 180],
        borderWidth: 1,
      },
      {
        label: '2',
        data: [50, 60, 70, 180],
        borderWidth: 1,
        datalabels: {
          labels: {
            title: null
          }
        }
      },
    ],
  },
  options: {
    plugins: {
      datalabels: {
        anchor: 'center',
        align: 'center',
        color: '#fff',
        font: {
          weight: 'bold',
        },
      },
    },
  },
}

Link to editor

Oh, no! It’s work! Thank you!