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

305
Views
Not able to remove legent from Radar Chart in chart.js even using legent: {display : false}

Not able to remove legent from Radar Chart in chart.js even using legend: {display : false}. I am using this code and than displaying it with using HTML/JS

below is the code

var options5 = {
  type: 'radar',
  data: {
      labels: [sec1,sec2,sec3,sec4,sec5],
      responsive: false,
      legend :{display:false},
      datasets: [{
        data: [50,70,89,34,100],
        backgroundColor: "transparent",
        borderColor: "rgba(200,0,0,0.6)",
        fill: false,
        radius: 6,
        pointRadius: 6,
        pointBorderWidth: 3,
        pointBackgroundColor: "orange",
        pointBorderColor: "rgba(200,0,0,0.6)",
        pointHoverRadius: 10,
      },
          
      ]
  },
  options :{
   
    
      legend: {
        display: false
     },
    
  }
  
}
new Chart(ctx5, options5);
about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Assuming you're using Chart.js version 3, it should be defined as follows:

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

Please consult Chart.js documentation here

about 4 years ago · Juan Pablo Isaza Report

0

Able to find the solution.Need to use plugin also

options :{
    plugins:{   
      legend: {
        display: false
              },
           }
     }
about 4 years ago · Juan Pablo Isaza Report
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!