[Chartjs]-Chart.js 2 – label overlapping

9πŸ‘

I solved this problem by tilting the texts, so that they don’t overlap.

Just add minRotation: 30 to ticks: {} object.

  ticks: {
           fontFamily: 'Lato',
           fontColor: "#fff",
           fontSize: 14,
           minRotation: 30
         }

Leave a comment