[![enter image description here](https://i.stack.imgur.com/9bJRT.png)](https://i.stack.imgur.com/9bJRT.png)

I'm trying to allow breaks on spaces for the labels of my data object. I've looked through configuration options on the Chartjs docs [tick configuration](https://www.chartjs.org/docs/latest/axes/cartesian/#tick-configuration) to either allow line breaks or the ability to add a CSS class where I can handle this with break-word rules.

Data structure object:

```
{
    labels: ["Arts Languages and Communication", "Science, Techology and Health", "Business", "Society and Education"],
    datasets: [{label: "Fall 2014", data: [0,0,0,0]}...]
}

```

Options object:

```
{
    scales: {
        xAxes: [{ ticks: { /* no available options from docs */ } }]
    }
}

```

Desired outcome:

Words will break on spaces:

```
Arts Language
and Communication

```