score:2

Accepted answer

you can make x-axis tick labels 100% vertical by defining option scales.x.ticks.minrotation: 90.

options: {
  scales: {
    x: {
      ticks: {
        minrotation: 90
      }
    }
  }
}

for further information, please consult tick configuration from the chart.js documentation.


Related Query

More Query from same tag