Chart.js: Question: How to hide label

Created on 25 Sep 2016  ·  3Comments  ·  Source: chartjs/Chart.js

Great project and no issues for me. I'd like to hide the barchart label (Pink rectangle in image). Possible?

screen shot 2016-09-25 at 07 10 14

support

Most helpful comment

@FGRibreau It was legend not legends ;)

All 3 comments

Use:

options:{
legends:{
  display:false
}
}

:)

Hi @FGRibreau with this it's still showing:

options: {
          legends: {
            display: false
          },
            scales: {
                yAxes: [{
                    ticks: {
                        beginAtZero:true
                    }
                }]
            }
        }

@FGRibreau It was legend not legends ;)

Was this page helpful?
0 / 5 - 0 ratings