[Chartjs]-How to customize Title position with ChartJS

2👍

you should set Align to (start or center or end) for title:

 const options = {
  responsive: true,
  plugins: {
    title: {
      display: true,
      color:'#8b93a2',
      align:'start',
      position:'top',
      text: 'Chart title',
    },
  },
};

0👍

According to documentation from chart.js documentation page

Only top,left,right and bottom are available.

Leave a comment