Chartjs-How to remove the Legend of chart from angular Chart.js

2👍

Use chart-legend=”false” to remove legend from chart.

<canvas id="line" class="chart chart-line" chart-data="data"
  chart-labels="labels" chart-legend="false" chart-series="series">
</canvas> 

The documentation already specify this in settings tab for all chart. Have a look at this

Have a look at this JSFiddle for both version(with/without legend)

Leave a comment