Home > Software engineering >  Change Position of legend in vue-chartJS
Change Position of legend in vue-chartJS

Time:09-22

I'm new to Vue-ChartJs, and got really curious about this:

Legend position

How do I change the legend position to the bottom of the graph?

CodePudding user response:

In your chart options object use this:

const chartOptions = {
  // other options...
  legend: {
    position: 'bottom'
  }
}
  • Related