score:15

Accepted answer

some workaround only if you want to wrap labels by spliting by space (" ").

scales: {         
      xaxes: [
        {
          ticks: {
            callback: function(label, index, labels) {
              if (/\s/.test(label)) {
                return label.split(" ");
              }else{
                return label;
              }              
            }
          }
        }
      ]
    }

chart looks like this now. enter image description here


Related Query

More Query from same tag