Chartjs-Show labels on x axis in vue-chartjs

1👍

Pasting the answer from the comment section,
best way to work with ticks is by using callback function eg:



ticks: {
     callback: function (value: any, index: any, ticks: any) {               
              return 'What you want to return';             
      },           
}

Leave a comment