Chartjs-How to move Chart.js legend?

1👍

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.

Leave a comment