score:1

Accepted answer

according to mentioned http://www.chartjs.org/docs/#chart-configuration-legend-configuration, you need to add legend to options:

chart.bar(canvas, {
  data: data,
  options: {
    legend: {
        position: "bottom"
    }}
})

see working jsfiddle.


Related Query

More Query from same tag