Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

153
Views
Enabling datalabels plugin makes Y-scales visible on chart | Chart.js

I had Y-scales set display to false so they are not visible on the chart. When I enable chart.js datalabels plugin they are forced to display again and I can't prevent them to show up on the chart. Anyone knows what can cause this problem or maybe there is any option in the plugin to hide Y-scales so they are not visible on the chart?

Enabled datalabels plugin seems the way below:

plugins: [ChartDataLabels],
    options: {
      plugins: {
        datalabels: {
          align: 'top',
          offset: 5,
          display: 'auto'
        }
      }
    }

which is placed in the main config of the chart (place where is type, data or options of chart).
Scales looks that way:

scales: {
      y: {
        grid: {
          color: '#333'
        },
        name: 'Temp',
        type: 'linear',
        display: false,
        position: 'left',
      },
      y1: {
        grid: {
          color: '#333'
        },
        name: 'Wilg',
        type: 'linear',
        display: false,
        position: 'right',
      }
}
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!